Aki Helin discovered an integer underflow in ncompress, the original Lempel-Ziv compress/uncompress programs. This could lead to the execution of arbitrary code when trying to decompress a crafted LZW compressed gzip archive. . -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - ------------------------------------------------------------------------ Debian Security Advisory DSA-2074-1
. This message has been released from TrendMicro Scanmail quaratiine and is safe to read. ----- Original Message Header ----- Subject: [ GLSA 200610-03 ] ncompress: Buffer Underflow From:
Updated ncompress packages that address a security issue and . Date: Wed, 13 Sep 2006 16:04:19 -0500 Reply-To: Connie Sieh Sender: Security Errata for Scientific Linux From: Connie Sieh Subject: ERRATA for "ncompress" on SL 40,41,42,43 i386,x86_64 now available Comments: To: scientific The ERRATA for SL 40,41,42,43 i386 x86_64 are now available from: Synopsis: Updated ncompress packages that address a security issue and fix bugs are now available Severity: low Issued on: 2006-09-12 CVEs: CVE-2006-1168 SRPMS ncompress-4.2.4-43.rhel4.src.rpm i386 ncompress-4.2.4-43.rhel4.i386.rpm x86_64 ncompress-4.2.4-43.rhel4.x86_64.rpm --Connie Sieh --Troy Dawson . Revamped ncompress distributions for Scientific Linux, addressing vulnerabilities and enhancing performance comprehensively.. Scientific Linux,ncompress update,security errata,linux security. . Severity: Low. LinuxSecurity.com Team
Updated ncompress packages that address a security issue and . Date: Wed, 13 Sep 2006 15:03:34 -0500 Reply-To: Connie Sieh Sender: Security Errata for Scientific Linux From: Connie Sieh Subject: ERRATA "ncompress" for SL 301,302,303,304,305,307 i386,x86_64 now available Comments: To: scientific The following ERRATA for SL 301,302,303,304,305,307 i386,x86_64 are now available from: Synopsis: Updated ncompress packages that address a security issue and fix bugs are now available Severity: low Issued on: 2006-09-12 CVEs: CVE-2006-1168 SRPMS ncompress-4.2.4-39.rhel3.src.rpm i386 ncompress-4.2.4-39.rhel3.i386.rpm x86_64 ncompress-4.2.4-39.rhel3.x86_64.rpm -Connie Sieh -Troy Dawson . Enhanced ncompress modules resolve a vulnerability impacting Scientific Linux versions. Risk categorization is minimal.. ncompress packages, scientific linux, security patches, low severity, software updates. . Severity: Low. LinuxSecurity.com Team
Tavis Ormandy from the Google Security Team discovered a missing boundary check in ncompress, the original Lempel-Ziv compress and uncompress programs, which allows a specially crafted datastream to underflow a buffer with attacker controlled data.. - --------------------------------------------------------------------------Debian Security Advisory DSA 1149-1
An updated ncompress package that fixes a buffer overflow and problem in the handling of files larger than 2 GB is now available.. --------------------------------------------------------------------- Red Hat Security Advisory Synopsis: Updated ncompress package fixes security issue and bug. Advisory ID: RHSA-2004:536-01 Advisory URL: https://access.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 yoursystem 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: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/ 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: 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: 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: 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: 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 7. References: http://www.kb.cert.org/vuls/id/176363 https://www.cve.org/CVERecord?id=CAN-2001-1413 8. Contact: The Red Hat security contact is . More contact details at Copyright 2004 Red Hat, Inc. . Explore the revamped ncompress toolkit released by Red Hat, which tackles concerns related to buffer overflow vulnerabilities and file management mishaps.. buffer overflow fix, Red Hat security,ncompress update. . Severity: Critical. LinuxSecurity.com Team
compress and uncompress, which could be used by daemon programs, contain a buffer overflow that could lead to remote execution of arbitrary code with the rights of the daemon process. [More...]. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200410-08 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: ncompress: Buffer overflow Date: October 09, 2004 Bugs: #66251 ID: 200410-08 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= compress and uncompress, which could be used by daemon programs, contain a buffer overflow that could lead to remote execution of arbitrary code with the rights of the daemon process. Background ========= ncompress is a utility handling compression and decompression of Lempel-Ziv archives, compatible with the original *nix compress and uncompress utilities (.Z extensions). Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-arch/ncompress = 4.2.4-r1 Description ========== compress and uncompress do not properly check bounds on command line options, including the filename. Large parameters would trigger a buffer overflow. Impact ===== By supplying a carefully crafted filename or other option, an attacker could execute arbitrary code on the system. A local attacker could only execute code with his own rights, but since compress and uncompress are called by various daemon programs, this might also allow a remote attacker to execute code with the rights of the daemon making use of ncompress. Workaround ========= There is no knownworkaround at this time. Resolution ========= All ncompress users should upgrade to the latest version: # emerge sync # emerge -pv "> =app-arch/ncompress-4.2.4-r1" # emerge "> =app-arch/ncompress-4.2.4-r1" References ========= [ 1 ] US-CERT Vulnerability Note VU#176363 http://www.kb.cert.org/vuls/id/176363 Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/200410-08 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to
Get the latest Linux and open source security news straight to your inbox.