ncompress decompress() buffer underflow
| ncompress-decompress-underflow (28315) |
Description:
ncompress is vulnerable to a buffer underflow, caused by improper bounds checking by the decompress() function in compress42.c. By sending a specially-crafted datastream, a remote attacker could cause a buffer underflow and execute arbitrary code on the system or cause the application to crash.
Platforms Affected:
- Debian, Debian Linux 3.1
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux ES
- RedHat, Enterprise Linux WS
- RedHat, Enterprise Linux AS
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Various vendors, ncompress 4.x
Remedy:
For Debian GNU/Linux:
Refer to DSA-1149-1 for patch, upgrade or suggested workaround information. See References.
For Mandriva:
Refer to Mandriva Security Advisory MDKSA-2006:140 for patch, upgrade or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2006:0663-13 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200610-03 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- ncompress Web site, ncompress 4.2.4-31 RPM for i386 at http://rpmfind.net/linux/rpm2html/search.php?query=ncompress.
- ASA-2006-226: ncompress security update (RHSA-2006-0663)
- BID-19455: NCompress Decompress Buffer Underflow Vulnerability
- CVE-2006-1168: The decompress function in compress42.c in (1) ncompress 4.2.4 and (2) liblzw allows remote attackers to cause a denial of service (crash), and possibly execute arbitrary code, via crafted data that leads to a buffer underflow.
- DSA-1149: ncompress -- buffer underflow
- GLSA-200610-03: ncompress: Buffer Underflow
- MDKSA-2006:140: Updated ncompress packages fix vulnerability
- RHSA-2006-0663: ncompress security update
- SA21427: ncompress "decompress()" Buffer Overflow Vulnerability
- SA22377: Avaya Products ncompress Buffer Overflow Vulnerability
- SECTRACK ID: 1016836: ncompress Buffer Overflow in decompress() Lets Remote Users Execute Arbitrary Code
- SUSE-SR:2006:020: SUSE Security Summary Report
- VUPEN/ADV-2006-3234: ncompress decompress() Datastream Handling Client-Side Buffer Overflow Vulnerability
Reported:
Aug 10, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
