Another buffer overflow exists in lha. More information, and exploit can be found here. http://marc.theaimsgroup.com/?l=bugtraq&m=108668791510153 This affects RHEL 3 and 2.1.
Created attachment 101416 [details] Patch to fix the dir_length buffer overflow.
ok, i will build new lha today. thanks for the patch.
Created attachment 103339 [details] Demo exploit In order to properly run this on RHEL, you will have to set your LANG environment variable to C (ie export LANG=C).
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2004-323.html
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2004-440.html