ncompress long file name buffer overflow
| ncompress-filename-bo (10619) |
Description:
ncompress is vulnerable to a buffer overflow, caused by improper bounds checking of file names. By sending a file name of 1023 or more bytes to ncompress, a local attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges.
Consequences:
Gain Privileges
Remedy:
Apply the appropriate patch for your system. See References.
References:
- CIAC Information Bulletin P-062: Updated ncompress Package Fixes Security Issue and Bug.
- Linux Security Audit Project Mailing List, Fri Jun 29 2001 - 09:23:38 BST: ncompress (and gzip? bzip2?) buffer overflow and why it matters.
- BID-11908: NCompress Long Filename Buffer Overflow Vulnerability
- CVE-2001-1413: Stack-based buffer overflow in the comprexx function for ncompress 4.2.4 and earlier, when used in situations that cross security boundaries (such as FTP server), may allow remote attackers to execute arbitrary code via a long filename argument.
- GLSA-200410-08: ncompress: Buffer overflow
- RHSA-2004-536: ncompress security update
- US-CERT VU#176363: ncompress vulnerable to buffer overflow via long filename
Platforms Affected:
- Gentoo Linux
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 WS
- RedHat Linux Advanced Workstation 2.1 Itanium
- Various vendors ncompress 4.2.4 and prior
Reported:
Nov 20, 2001
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
