Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2002.533 -- RHSA-2002:096-24 Updated unzip and tar packages fix vulnerabilities 30 September 2002 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: unzip tar Vendor: Red Hat Operating System: Red Hat Linux 6.2 Red Hat Linux 7.0 Red Hat Linux 7.1 Red Hat Linux 7.2 Red Hat Linux 7.3 Platform: Alpha i386 IA-64 SPARC Impact: Overwrite Arbitrary Files Access Required: Existing Account - --------------------------BEGIN INCLUDED TEXT-------------------- - --------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Updated unzip and tar packages fix vulnerabilities Advisory ID: RHSA-2002:096-24 Issue date: 2002-05-20 Updated on: 2002-09-18 Product: Red Hat Linux Keywords: unzip tar path unpack Cross references: Obsoletes: CVE Names: CAN-2001-1267 CAN-2001-1268 CAN-2001-1269 CAN-2002-0399 - --------------------------------------------------------------------- 1. Topic: The unzip and tar utilities contain vulnerabilities which can allow arbitrary files to be overwritten during archive extraction. 2. Relevant releases/architectures: Red Hat Linux 6.2 - alpha, i386, sparc Red Hat Linux 7.0 - alpha, i386 Red Hat Linux 7.1 - alpha, i386, ia64 Red Hat Linux 7.2 - i386, ia64 Red Hat Linux 7.3 - i386 3. Problem description: The unzip and tar utilities are used for manipulating archives, which are multiple files stored inside of a single file. A directory traversal vulnerability in unzip version 5.42 and earlier, as well as GNU tar 1.13.19 and earlier, allows attackers to overwrite arbitrary files during archive extraction via a ".." (dot dot) in an extracted filename. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2001-1267 and CAN-2001-1268 to this issue. In addition, unzip version 5.42 and earlier also allows attackers to overwrite arbitrary files during archive extraction via filenames in the archive that begin with the "/" (slash) character. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2001-1269 to this issue. During testing of the fix to GNU tar, it was discovered that GNU tar 1.13.25 was still vulnerable to a modified version of the same problem. Red Hat has provided a patch to tar 1.3.25 to correct this problem. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2002-0399 to this issue. Users of unzip and tar are advised to upgrade to these errata packages, containing unzip version 5.50 (for Red Hat Linux 6.2, 7, 7.1, and 7.2) and a patched version of GNU tar 1.13.25 (for Red Hat Linux 6.2, 7, 7.1, 7.2, and 7.3), which are not vulnerable to these issues. Important Note: For users of Red Hat Linux 6.2 and 7 only, these errata packages change one of the command line options for tar. Previously the '-I' option was used to enable bzip2 compression, while in these errata packages the option has changed to '-j'. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. 5. RPMs required: Red Hat Linux 6.2: SRPMS: ftp://updates.redhat.com/6.2/en/os/SRPMS/unzip-5.50-1.62.src.rpm ftp://updates.redhat.com/6.2/en/os/SRPMS/tar-1.13.25-1.6.src.rpm alpha: ftp://updates.redhat.com/6.2/en/os/alpha/unzip-5.50-1.62.alpha.rpm ftp://updates.redhat.com/6.2/en/os/alpha/tar-1.13.25-1.6.alpha.rpm i386: ftp://updates.redhat.com/6.2/en/os/i386/unzip-5.50-1.62.i386.rpm ftp://updates.redhat.com/6.2/en/os/i386/tar-1.13.25-1.6.i386.rpm sparc: ftp://updates.redhat.com/6.2/en/os/sparc/unzip-5.50-1.62.sparc.rpm ftp://updates.redhat.com/6.2/en/os/sparc/tar-1.13.25-1.6.sparc.rpm Red Hat Linux 7.0: SRPMS: ftp://updates.redhat.com/7.0/en/os/SRPMS/unzip-5.50-2.src.rpm ftp://updates.redhat.com/7.0/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm alpha: ftp://updates.redhat.com/7.0/en/os/alpha/unzip-5.50-2.alpha.rpm ftp://updates.redhat.com/7.0/en/os/alpha/tar-1.13.25-4.7.1.alpha.rpm i386: ftp://updates.redhat.com/7.0/en/os/i386/unzip-5.50-2.i386.rpm ftp://updates.redhat.com/7.0/en/os/i386/tar-1.13.25-4.7.1.i386.rpm Red Hat Linux 7.1: SRPMS: ftp://updates.redhat.com/7.1/en/os/SRPMS/unzip-5.50-2.src.rpm ftp://updates.redhat.com/7.1/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm alpha: ftp://updates.redhat.com/7.1/en/os/alpha/unzip-5.50-2.alpha.rpm ftp://updates.redhat.com/7.1/en/os/alpha/tar-1.13.25-4.7.1.alpha.rpm i386: ftp://updates.redhat.com/7.1/en/os/i386/unzip-5.50-2.i386.rpm ftp://updates.redhat.com/7.1/en/os/i386/tar-1.13.25-4.7.1.i386.rpm ia64: ftp://updates.redhat.com/7.1/en/os/ia64/unzip-5.50-2.ia64.rpm ftp://updates.redhat.com/7.1/en/os/ia64/tar-1.13.25-4.7.1.ia64.rpm Red Hat Linux 7.2: SRPMS: ftp://updates.redhat.com/7.2/en/os/SRPMS/unzip-5.50-2.src.rpm ftp://updates.redhat.com/7.2/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm i386: ftp://updates.redhat.com/7.2/en/os/i386/unzip-5.50-2.i386.rpm ftp://updates.redhat.com/7.2/en/os/i386/tar-1.13.25-4.7.1.i386.rpm ia64: ftp://updates.redhat.com/7.2/en/os/ia64/unzip-5.50-2.ia64.rpm ftp://updates.redhat.com/7.2/en/os/ia64/tar-1.13.25-4.7.1.ia64.rpm Red Hat Linux 7.3: SRPMS: ftp://updates.redhat.com/7.3/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm i386: ftp://updates.redhat.com/7.3/en/os/i386/tar-1.13.25-4.7.1.i386.rpm 6. Verification: MD5 sum Package Name - -------------------------------------------------------------------------- bb301fb39190fdfbc17f0c8c172f920a 6.2/en/os/SRPMS/tar-1.13.25-1.6.src.rpm 5dcc6924500aa5f7858ae266a5f8998b 6.2/en/os/SRPMS/unzip-5.50-1.62.src.rpm fef15632b9bcf32d14356654134c53c5 6.2/en/os/alpha/tar-1.13.25-1.6.alpha.rpm 2b3d7a3a5ec06ced671e8e338f3e6c4e 6.2/en/os/alpha/unzip-5.50-1.62.alpha.rpm 81004b0dd856b5e68847d7b3c98df7fc 6.2/en/os/i386/tar-1.13.25-1.6.i386.rpm 9bae9f9eb1f4465aef6d8e88fc651cbd 6.2/en/os/i386/unzip-5.50-1.62.i386.rpm ac09b26f328364bcbffef59d92b7544c 6.2/en/os/sparc/tar-1.13.25-1.6.sparc.rpm a68f875f73dc8551a65018ab46bb28c3 6.2/en/os/sparc/unzip-5.50-1.62.sparc.rpm 0b54c5bd9400cdedd26bdf64d9e69a80 7.0/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm 2c1387cc558515919e2585b5708fd219 7.0/en/os/SRPMS/unzip-5.50-2.src.rpm c12063f58936ceb68848530b8e69d304 7.0/en/os/alpha/tar-1.13.25-4.7.1.alpha.rpm 25e5cb389451c393a58c8e2755180925 7.0/en/os/alpha/unzip-5.50-2.alpha.rpm fb5f89ea78abb60d50424dda0ac0db79 7.0/en/os/i386/tar-1.13.25-4.7.1.i386.rpm 877f4fda6198e604b539fb85664a3aad 7.0/en/os/i386/unzip-5.50-2.i386.rpm 0b54c5bd9400cdedd26bdf64d9e69a80 7.1/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm 2c1387cc558515919e2585b5708fd219 7.1/en/os/SRPMS/unzip-5.50-2.src.rpm c12063f58936ceb68848530b8e69d304 7.1/en/os/alpha/tar-1.13.25-4.7.1.alpha.rpm 25e5cb389451c393a58c8e2755180925 7.1/en/os/alpha/unzip-5.50-2.alpha.rpm fb5f89ea78abb60d50424dda0ac0db79 7.1/en/os/i386/tar-1.13.25-4.7.1.i386.rpm 877f4fda6198e604b539fb85664a3aad 7.1/en/os/i386/unzip-5.50-2.i386.rpm a8aa3558565507d16f8cb91b6fed5d88 7.1/en/os/ia64/tar-1.13.25-4.7.1.ia64.rpm f233de217386e5913b6460d22022dbb6 7.1/en/os/ia64/unzip-5.50-2.ia64.rpm 0b54c5bd9400cdedd26bdf64d9e69a80 7.2/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm 2c1387cc558515919e2585b5708fd219 7.2/en/os/SRPMS/unzip-5.50-2.src.rpm fb5f89ea78abb60d50424dda0ac0db79 7.2/en/os/i386/tar-1.13.25-4.7.1.i386.rpm 877f4fda6198e604b539fb85664a3aad 7.2/en/os/i386/unzip-5.50-2.i386.rpm a8aa3558565507d16f8cb91b6fed5d88 7.2/en/os/ia64/tar-1.13.25-4.7.1.ia64.rpm f233de217386e5913b6460d22022dbb6 7.2/en/os/ia64/unzip-5.50-2.ia64.rpm 0b54c5bd9400cdedd26bdf64d9e69a80 7.3/en/os/SRPMS/tar-1.13.25-4.7.1.src.rpm fb5f89ea78abb60d50424dda0ac0db79 7.3/en/os/i386/tar-1.13.25-4.7.1.i386.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at: http://www.redhat.com/about/contact/pgpkey.html You can verify each package with the following command: rpm --checksig <filename> If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: rpm --checksig --nogpg <filename> 7. References: http://online.securityfocus.com/archive/1/196445 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-1267 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-1268 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-1269 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0399 Copyright(c) 2000, 2001, 2002 Red Hat, Inc. - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the original authors to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/Information/advisories.html If you believe that your system has been compromised, contact AusCERT or your representative in FIRST (Forum of Incident Response and Security Teams). Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key iQCVAwUBPZhUqCh9+71yA2DNAQF6NAP7BsOFn3356QW2ArEMzLVwrIWjpYGplNtn ricOukyS7kjvvWcq1uq55W2qABrQNP7MEp7qHLku04S2S8VFdSFbW91F/9RpApYP 3MnJTa0g4/pZWI8ptdRyMh1qGrBA0nhQPGclyMxhjhIgZ8MnPtU16QCLYwtrv5qB PiiO7Dwqsfc= =iZRP -----END PGP SIGNATURE-----