NCompress Long Filename Buffer Overflow Vulnerability

BID:11908

Info

NCompress Long Filename Buffer Overflow Vulnerability

Bugtraq ID: 11908
Class: Boundary Condition Error
CVE: CVE-2001-1413
Remote: Yes
Local: No
Published: Nov 20 2001 12:00AM
Updated: Jul 12 2009 09:26AM
Credit: Pavel Kankovsky disclosed this vulnerability.
Vulnerable: Redhat Enterprise Linux WS 2.1 IA64
Redhat Enterprise Linux WS 2.1
Redhat Enterprise Linux ES 2.1 IA64
Redhat Enterprise Linux ES 2.1
Redhat Enterprise Linux AS 2.1 IA64
Redhat Enterprise Linux AS 2.1
Redhat Advanced Workstation for the Itanium Processor 2.1 IA64
Redhat Advanced Workstation for the Itanium Processor 2.1
ncompress ncompress 4.2.4
ncompress ncompress 4.2.3
ncompress ncompress 4.2.2
ncompress ncompress 4.2.1
ncompress ncompress 4.1
ncompress ncompress 4.0
Gentoo Linux
Avaya S8710 R2.0.1
Avaya S8710 R2.0.0
Avaya S8700 R2.0.1
Avaya S8700 R2.0.0
Avaya S8500 R2.0.1
Avaya S8500 R2.0.0
Avaya S8300 R2.0.1
Avaya S8300 R2.0.0
Avaya Integrated Management
Avaya CVLAN
Not Vulnerable:

Discussion

NCompress Long Filename Buffer Overflow Vulnerability

It is reported that ncompress is susceptible to a buffer overflow vulnerability. This issue is due to a failure of the application to properly bounds-check user-supplied data prior to copying it into a fixed-size memory buffer.

While this vulnerability isn't inherently dangerous from the command line, as the executable is not setuid, it could allow attackers with access to remote applications that utilize ncompress, to execute arbitrary code on the targeted server.

Versions 4.2.4 and earlier of ncompress are reportedly vulnerable to this issue.

Exploit / POC

NCompress Long Filename Buffer Overflow Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

NCompress Long Filename Buffer Overflow Vulnerability

Solution:
Gentoo Linux has released advisory GLSA 200410-08 to address this issue. Users of affected packages are urged to execute the following commands with superuser privileges:
emerge sync
emerge -pv ">=app-arch/ncompress-4.2.4-r1"
emerge ">=app-arch/ncompress-4.2.4-r1"
Please see the referenced advisory for further information.

RedHat has released advisory RHSA-2004:536-05 to address this issue in RedHat Enterprise Linux operating systems. Please see the referenced advisory for further information.

Avaya has made an advisory available (ASA-2005-015) dealing with this issue for various products. In all cases Avaya recommends that ncompress be removed from their affected software, as it is not required for execution. All Avaya hardware affected by this issue will have the vulnerable packages removed from future versions. For more information, please see the referenced security advisory.

References

NCompress Long Filename Buffer Overflow Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report