SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   ncompress Vendors:   [Multiple Authors/Vendors]
(Red Hat Issues Fix) ncompress Buffer Overflow in comprexx() May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012498
SecurityTracker URL:  http://securitytracker.com/id/1012498
CVE Reference:   CVE-2001-1413   (Links to External Site)
Updated:  Sep 13 2006
Original Entry Date:  Dec 14 2004
Impact:   Execution of arbitrary code via local system, Execution of arbitrary code via network, User access via local system, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 4.2.4 and prior versions
Description:   A vulnerability was reported in ncompress. A remote user may be able to execute arbitrary code.

In November 2001, Pavel Kankovsky reported that ncompress contains a stack-based buffer overflow. A local user can supply a specially crafted filename longer than 1023 characters to trigger the buffer overflow and potentially execute arbitrary code.

If a network-based application invokes ncompress (such as an FTP server), then a remote user may be able to exploit this flaw.

Impact:   A remote user may be able to execute arbitrary code on the target system.
Solution:   Red Hat has released a fix.

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61 ncompress-4.2.4-37.src.rpm

i386:
b3cd3462d6a09d8d7d14c4e7b2744923 ncompress-4.2.4-37.i386.rpm

ia64:
36338acd3f00f119ed4b50fe2c67663d ncompress-4.2.4-37.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61 ncompress-4.2.4-37.src.rpm

ia64:
36338acd3f00f119ed4b50fe2c67663d ncompress-4.2.4-37.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61 ncompress-4.2.4-37.src.rpm

i386:
b3cd3462d6a09d8d7d14c4e7b2744923 ncompress-4.2.4-37.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61 ncompress-4.2.4-37.src.rpm

i386:
b3cd3462d6a09d8d7d14c4e7b2744923 ncompress-4.2.4-37.i386.rpm

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2004-536.html

Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  2.1

Message History:   This archive entry is a follow-up to the message listed below.
Oct 20 2004 ncompress Buffer Overflow in comprexx() May Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2004:536-01] Updated ncompress package fixes security issue


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated ncompress package fixes security issue and bug.
Advisory ID:       RHSA-2004:536-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2004-536.html
Issue date:        2004-12-13
Updated on:        2004-12-13
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2001-1413
- ---------------------------------------------------------------------

1. Summary:

An updated ncompress package that fixes a buffer overflow and problem in
the handling of files larger than 2 GB is now available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386

3. Problem description:

The ncompress package contains the compress and uncompress file compression
and decompression utilities, which are compatible with the original UNIX
compress utility (.Z file extensions).

A bug in the way ncompress handles long filenames has been discovered. 
ncompress versions 4.2.4 and earlier contain a stack based buffer overflow
when handling very long filenames.  It is possible that an attacker could
execute arbitrary code on a victims machine by tricking the user into
decompressing a carefully crafted filename.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2001-1413 to
this issue.

This updated ncompress package also fixes a problem in the handling of
files larger than 2 GB.

All users of ncompress should upgrade to this updated package, which
contains fixes for these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (http://bugzilla.redhat.com/ for more info):

126776 - [RHEL2.1] compress does not work if the file size is greater than 2GB
136661 - CAN-2001-1413 Stack-based buffer overflow in the comprexx function

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61  ncompress-4.2.4-37.src.rpm

i386:
b3cd3462d6a09d8d7d14c4e7b2744923  ncompress-4.2.4-37.i386.rpm

ia64:
36338acd3f00f119ed4b50fe2c67663d  ncompress-4.2.4-37.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61  ncompress-4.2.4-37.src.rpm

ia64:
36338acd3f00f119ed4b50fe2c67663d  ncompress-4.2.4-37.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61  ncompress-4.2.4-37.src.rpm

i386:
b3cd3462d6a09d8d7d14c4e7b2744923  ncompress-4.2.4-37.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/ncompress-4.2.4-37.src.rpm
514bcc89bdd8d5a71fc5d01ce2f2ac61  ncompress-4.2.4-37.src.rpm

i386:
b3cd3462d6a09d8d7d14c4e7b2744923  ncompress-4.2.4-37.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key.html#package

7. References:

http://www.kb.cert.org/vuls/id/176363
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-1413

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFBve9LXlSAg2UNWIIRAjTvAJ4jkOcSKA97x6QmELt2npgNnn7OngCfbCvB
/dwDYUQ9skpi2ucNZEN7CCk=
=OFNx
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC