__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Tar Security Update [Red Hat RHSA:2006-0749-2] December 20, 2006 18:00 GMT Number R-091 ______________________________________________________________________________ PROBLEM: A path traversal flaw in the way GNU tar extracted archives. PLATFORM: Red Hat Desktop (v. 3 & v. 4) Red Hat Enterprise Linux AS, ES, WS (v. 2.1, v. 3, & v. 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor DAMAGE: A malicious user could create a tar archive that could write to arbitrary files to which the user running GNU tar has write access. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A malicious user could create a tar archive ASSESSMENT: that could write to arbitrary files to which the user running GNU tar has write access. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-091.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2006-0749.html CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2006-6097 ______________________________________________________________________________ [***** Start Red Hat RHSA:2006-0749-2 *****] Moderate: tar security update Advisory: RHSA-2006:0749-2 Type: Security Advisory Severity: Moderate Issued on: 2006-12-19 Last updated on: 2006-12-19 Affected Products: Red Hat Desktop (v. 3) Red Hat Desktop (v. 4) Red Hat Enterprise Linux AS (v. 2.1) Red Hat Enterprise Linux AS (v. 3) Red Hat Enterprise Linux AS (v. 4) Red Hat Enterprise Linux ES (v. 2.1) Red Hat Enterprise Linux ES (v. 3) Red Hat Enterprise Linux ES (v. 4) Red Hat Enterprise Linux WS (v. 2.1) Red Hat Enterprise Linux WS (v. 3) Red Hat Enterprise Linux WS (v. 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor OVAL: com.redhat.rhsa-20060749.xml CVEs (cve.mitre.org): CVE-2006-6097 Details Updated tar packages that fix a path traversal flaw are now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The GNU tar program saves many files together in one archive and can restore individual files (or all of the files) from that archive. Teemu Salmela discovered a path traversal flaw in the way GNU tar extracted archives. A malicious user could create a tar archive that could write to arbitrary files to which the user running GNU tar has write access. (CVE-2006-6097) Users of tar should upgrade to this updated package, which contains a replacement backported patch to correct this issue. 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/ Updated packages Red Hat Desktop (v. 3) -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-15.RHEL3.src.rpm 48b87b75152449ec8fac039fce6c481f IA-32: tar-1.13.25-15.RHEL3.i386.rpm 2f78f39c91f8674ecf30ab82cc6577ad x86_64: tar-1.13.25-15.RHEL3.x86_64.rpm 7df94215917d5d5cb8870801fcf43bd2 Red Hat Desktop (v. 4) -------------------------------------------------------------------------------- SRPMS: tar-1.14-12.RHEL4.src.rpm 915d5fef3750a417683d3ad52aaf0158 IA-32: tar-1.14-12.RHEL4.i386.rpm 94e0f0511e8357b7f4538edfa35e88e6 x86_64: tar-1.14-12.RHEL4.x86_64.rpm 817bae24d9975f961434839605c668e2 Red Hat Enterprise Linux AS (v. 2.1) -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-6.AS21.1.src.rpm 9cb62366b2c0328cd799f4f1d01b4f85 IA-32: tar-1.13.25-6.AS21.1.i386.rpm 82e737e4a7932200e3760d8bb8db96d7 IA-64: tar-1.13.25-6.AS21.1.ia64.rpm dbbd437b5ee88e65bf4c7731b48ea8e5 Red Hat Enterprise Linux AS (v. 3) -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-15.RHEL3.src.rpm 48b87b75152449ec8fac039fce6c481f IA-32: tar-1.13.25-15.RHEL3.i386.rpm 2f78f39c91f8674ecf30ab82cc6577ad IA-64: tar-1.13.25-15.RHEL3.ia64.rpm e6c05756ca0754ca7470434e284a5509 PPC: tar-1.13.25-15.RHEL3.ppc.rpm ec3903c1c8424a68d66c033aee38ef3d s390: tar-1.13.25-15.RHEL3.s390.rpm d748e97d9288a1529eccff07be2ea647 s390x: tar-1.13.25-15.RHEL3.s390x.rpm 4137e79c7202881ae6c26b7220060c7b x86_64: tar-1.13.25-15.RHEL3.x86_64.rpm 7df94215917d5d5cb8870801fcf43bd2 Red Hat Enterprise Linux AS (v. 4) -------------------------------------------------------------------------------- SRPMS: tar-1.14-12.RHEL4.src.rpm 915d5fef3750a417683d3ad52aaf0158 IA-32: tar-1.14-12.RHEL4.i386.rpm 94e0f0511e8357b7f4538edfa35e88e6 IA-64: tar-1.14-12.RHEL4.ia64.rpm 4fdf307c4fbbb324a45f459056a9f5dc PPC: tar-1.14-12.RHEL4.ppc.rpm 7daef3e5491853a369775887103f8858 s390: tar-1.14-12.RHEL4.s390.rpm 0fda5b626b7fc9eb0324dc22a4075d75 s390x: tar-1.14-12.RHEL4.s390x.rpm 91682d1f8c79e64a1aa5b7f3dfb514d4 x86_64: tar-1.14-12.RHEL4.x86_64.rpm 817bae24d9975f961434839605c668e2 Red Hat Enterprise Linux ES (v. 2.1) -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-6.AS21.1.src.rpm 9cb62366b2c0328cd799f4f1d01b4f85 IA-32: tar-1.13.25-6.AS21.1.i386.rpm 82e737e4a7932200e3760d8bb8db96d7 Red Hat Enterprise Linux ES (v. 3) -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-15.RHEL3.src.rpm 48b87b75152449ec8fac039fce6c481f IA-32: tar-1.13.25-15.RHEL3.i386.rpm 2f78f39c91f8674ecf30ab82cc6577ad IA-64: tar-1.13.25-15.RHEL3.ia64.rpm e6c05756ca0754ca7470434e284a5509 x86_64: tar-1.13.25-15.RHEL3.x86_64.rpm 7df94215917d5d5cb8870801fcf43bd2 Red Hat Enterprise Linux ES (v. 4) -------------------------------------------------------------------------------- SRPMS: tar-1.14-12.RHEL4.src.rpm 915d5fef3750a417683d3ad52aaf0158 IA-32: tar-1.14-12.RHEL4.i386.rpm 94e0f0511e8357b7f4538edfa35e88e6 IA-64: tar-1.14-12.RHEL4.ia64.rpm 4fdf307c4fbbb324a45f459056a9f5dc x86_64: tar-1.14-12.RHEL4.x86_64.rpm 817bae24d9975f961434839605c668e2 Red Hat Enterprise Linux WS (v. 2.1) -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-6.AS21.1.src.rpm 9cb62366b2c0328cd799f4f1d01b4f85 IA-32: tar-1.13.25-6.AS21.1.i386.rpm 82e737e4a7932200e3760d8bb8db96d7 Red Hat Enterprise Linux WS (v. 3) -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-15.RHEL3.src.rpm 48b87b75152449ec8fac039fce6c481f IA-32: tar-1.13.25-15.RHEL3.i386.rpm 2f78f39c91f8674ecf30ab82cc6577ad IA-64: tar-1.13.25-15.RHEL3.ia64.rpm e6c05756ca0754ca7470434e284a5509 x86_64: tar-1.13.25-15.RHEL3.x86_64.rpm 7df94215917d5d5cb8870801fcf43bd2 Red Hat Enterprise Linux WS (v. 4) -------------------------------------------------------------------------------- SRPMS: tar-1.14-12.RHEL4.src.rpm 915d5fef3750a417683d3ad52aaf0158 IA-32: tar-1.14-12.RHEL4.i386.rpm 94e0f0511e8357b7f4538edfa35e88e6 IA-64: tar-1.14-12.RHEL4.ia64.rpm 4fdf307c4fbbb324a45f459056a9f5dc x86_64: tar-1.14-12.RHEL4.x86_64.rpm 817bae24d9975f961434839605c668e2 Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor -------------------------------------------------------------------------------- SRPMS: tar-1.13.25-6.AS21.1.src.rpm 9cb62366b2c0328cd799f4f1d01b4f85 IA-64: tar-1.13.25-6.AS21.1.ia64.rpm dbbd437b5ee88e65bf4c7731b48ea8e5 (The unlinked packages above are only available from the Red Hat Network) Bugs fixed (see bugzilla for more information) 216937 - CVE-2006-6097 GNU tar directory traversal References http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6097 http://www.redhat.com/security/updates/classification/#moderate Keywords GNUTYPE_NAMES, path, traversal -------------------------------------------------------------------------------- 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/#package The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/ [***** End Red Hat RHSA:2006-0749-2 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) R-081: GNOME Foundation Display Manager gdmchooser R-082: Clamav R-083: NeoScale Systems CryptoStor 700 Series Appliances Vulnerability R-084: CSS Cursor Image Buffer Overflow (Windows Only) R-085: Privilege Escallation Using Watch Point R-086: LiveConnect Crase Finalizing JS Objects R-087: XSS by Setting img.src to JavaScript: URI R-088: Mozilla SVG Processing Remote Code Execution R-089: Mail Header Processing Heap Overflows R-090: XSS Using Outer Window's Function Object