--------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Updated python packages fix predictable temporary file Advisory ID: RHSA-2002:202-33 Issue date: 2002-09-12 Updated on: 2003-02-12 Product: Red Hat Linux Keywords: symlink os.excvpe flaw:link Cross references: Obsoletes: CVE Names: CAN-2002-1119 --------------------------------------------------------------------- 1. Topic: An insecure use of a temporary file has been found in Python. This erratum provides updated Python packages. [updated Feb 12 2003] Updated packages for Red Hat Linux 7.3 are available that fix a binary incompatibility change in the original erratum packages that affected redhat-config-users, and to add back the missing python-tools package. 2. Relevant releases/architectures: Red Hat Linux 6.2 - i386 Red Hat Linux 7.0 - i386 Red Hat Linux 7.1 - i386 Red Hat Linux 7.2 - i386, ia64 Red Hat Linux 7.3 - i386 3. Problem description: Python is an interpreted, interactive, object-oriented programming language. Zack Weinberg discovered that os._execvpe from os.py in Python 2.2.1 and earlier creates temporary files with predictable names. This could allow local users to execute arbitrary code via a symlink attack. All users should upgrade to these errata packages, which contain a patch to python 1.5.2 and are not vulnerable to this issue. Please note that for Red Hat Linux 7.3 we have updated the python2 packages from version 2.2 to version 2.2.2. Red Hat Linux 8.0 shipped a version of Python that already contained a fix for this issue and is therefore not vulnerable to this issue. 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. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info): 82435 - Python 2.2.2 errata breaks redhat-config-users 82544 - Errata removes most tools 6. RPMs required: Red Hat Linux 6.2: SRPMS: ftp://updates.redhat.com/6.2/en/os/SRPMS/python-1.5.2-43.62.src.rpm i386: ftp://updates.redhat.com/6.2/en/os/i386/python-1.5.2-43.62.i386.rpm ftp://updates.redhat.com/6.2/en/os/i386/python-devel-1.5.2-43.62.i386.rpm ftp://updates.redhat.com/6.2/en/os/i386/python-docs-1.5.2-43.62.i386.rpm ftp://updates.redhat.com/6.2/en/os/i386/python-tools-1.5.2-43.62.i386.rpm ftp://updates.redhat.com/6.2/en/os/i386/tkinter-1.5.2-43.62.i386.rpm Red Hat Linux 7.0: SRPMS: ftp://updates.redhat.com/7.0/en/os/SRPMS/python-1.5.2-43.71.src.rpm i386: ftp://updates.redhat.com/7.0/en/os/i386/python-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.0/en/os/i386/python-devel-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.0/en/os/i386/python-docs-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.0/en/os/i386/python-tools-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.0/en/os/i386/tkinter-1.5.2-43.71.i386.rpm Red Hat Linux 7.1: SRPMS: ftp://updates.redhat.com/7.1/en/os/SRPMS/python-1.5.2-43.71.src.rpm i386: ftp://updates.redhat.com/7.1/en/os/i386/python-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.1/en/os/i386/python-devel-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.1/en/os/i386/python-docs-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.1/en/os/i386/python-tools-1.5.2-43.71.i386.rpm ftp://updates.redhat.com/7.1/en/os/i386/tkinter-1.5.2-43.71.i386.rpm Red Hat Linux 7.2: SRPMS: ftp://updates.redhat.com/7.2/en/os/SRPMS/python-1.5.2-43.72.src.rpm ftp://updates.redhat.com/7.2/en/os/SRPMS/python2-2.1.1-3.72.src.rpm i386: ftp://updates.redhat.com/7.2/en/os/i386/python-1.5.2-43.72.i386.rpm ftp://updates.redhat.com/7.2/en/os/i386/python-devel-1.5.2-43.72.i386.rpm ftp://updates.redhat.com/7.2/en/os/i386/python-docs-1.5.2-43.72.i386.rpm ftp://updates.redhat.com/7.2/en/os/i386/python-tools-1.5.2-43.72.i386.rpm ftp://updates.redhat.com/7.2/en/os/i386/tkinter-1.5.2-43.72.i386.rpm ftp://updates.redhat.com/7.2/en/os/i386/python2-2.1.1-3.72.i386.rpm ftp://updates.redhat.com/7.2/en/os/i386/python2-devel-2.1.1-3.72.i386.rpm ia64: ftp://updates.redhat.com/7.2/en/os/ia64/python-1.5.2-43.72.ia64.rpm ftp://updates.redhat.com/7.2/en/os/ia64/python-devel-1.5.2-43.72.ia64.rpm ftp://updates.redhat.com/7.2/en/os/ia64/python-docs-1.5.2-43.72.ia64.rpm ftp://updates.redhat.com/7.2/en/os/ia64/python-tools-1.5.2-43.72.ia64.rpm ftp://updates.redhat.com/7.2/en/os/ia64/tkinter-1.5.2-43.72.ia64.rpm ftp://updates.redhat.com/7.2/en/os/ia64/python2-2.1.1-3.72.ia64.rpm ftp://updates.redhat.com/7.2/en/os/ia64/python2-devel-2.1.1-3.72.ia64.rpm Red Hat Linux 7.3: SRPMS: ftp://updates.redhat.com/7.3/en/os/SRPMS/python-1.5.2-43.73.src.rpm ftp://updates.redhat.com/7.3/en/os/SRPMS/python2-2.2.2-11.7.3.src.rpm i386: ftp://updates.redhat.com/7.3/en/os/i386/python-1.5.2-43.73.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/python-devel-1.5.2-43.73.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/python-docs-1.5.2-43.73.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/python-tools-1.5.2-43.73.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/tkinter-1.5.2-43.73.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/python2-2.2.2-11.7.3.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/python2-devel-2.2.2-11.7.3.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/python2-docs-2.2.2-11.7.3.i386.rpm ftp://updates.redhat.com/7.3/en/os/i386/tkinter2-2.2.2-11.7.3.i386.rpm 7. Verification: MD5 sum Package Name -------------------------------------------------------------------------- 7536ecc0dc812da6fc4a74d73530e277 6.2/en/os/SRPMS/python-1.5.2-43.62.src.rpm a54cd70aa64a444f2275c24e285b8ced 6.2/en/os/i386/python-1.5.2-43.62.i386.rpm 00622494a09f0331f49e7c3cb694afb4 6.2/en/os/i386/python-devel-1.5.2-43.62.i386.rpm 127be22d962f8e08e80410b1bbe2a1e9 6.2/en/os/i386/python-docs-1.5.2-43.62.i386.rpm 619eea467c30eabb6d722baf3fb4ba7f 6.2/en/os/i386/python-tools-1.5.2-43.62.i386.rpm ab9a26d13ff723261c193ef5b9f1b633 6.2/en/os/i386/tkinter-1.5.2-43.62.i386.rpm 90d8f04c125dcb72c4d194b6b794d3a9 7.0/en/os/SRPMS/python-1.5.2-43.71.src.rpm b3f5c7a9c74a4f6f155ffb756169b443 7.0/en/os/i386/python-1.5.2-43.71.i386.rpm eb431838b7164e726dc85ad73b533503 7.0/en/os/i386/python-devel-1.5.2-43.71.i386.rpm 677149c18f09a08340a3506d4ac8fa81 7.0/en/os/i386/python-docs-1.5.2-43.71.i386.rpm e358a13ed18b96c9bb99a4f3989b3023 7.0/en/os/i386/python-tools-1.5.2-43.71.i386.rpm ccc967b2e1e52d3f876eb1fc85e9b44a 7.0/en/os/i386/tkinter-1.5.2-43.71.i386.rpm 90d8f04c125dcb72c4d194b6b794d3a9 7.1/en/os/SRPMS/python-1.5.2-43.71.src.rpm b3f5c7a9c74a4f6f155ffb756169b443 7.1/en/os/i386/python-1.5.2-43.71.i386.rpm eb431838b7164e726dc85ad73b533503 7.1/en/os/i386/python-devel-1.5.2-43.71.i386.rpm 677149c18f09a08340a3506d4ac8fa81 7.1/en/os/i386/python-docs-1.5.2-43.71.i386.rpm e358a13ed18b96c9bb99a4f3989b3023 7.1/en/os/i386/python-tools-1.5.2-43.71.i386.rpm ccc967b2e1e52d3f876eb1fc85e9b44a 7.1/en/os/i386/tkinter-1.5.2-43.71.i386.rpm 9730651382eb7f9e62ffe6de0672c7e6 7.2/en/os/SRPMS/python-1.5.2-43.72.src.rpm f668bcd67d3a2b5c43775c0e7de4bcbb 7.2/en/os/SRPMS/python2-2.1.1-3.72.src.rpm 0954d6dc326c6efe2437e79403a3f63d 7.2/en/os/i386/python-1.5.2-43.72.i386.rpm 719a70ae917e3ae6f4fee58035a6d7b6 7.2/en/os/i386/python-devel-1.5.2-43.72.i386.rpm fc5b52750f51d9af93b65d7ed627722d 7.2/en/os/i386/python-docs-1.5.2-43.72.i386.rpm eae08607c830fd1f2c26d8c274f61e85 7.2/en/os/i386/python-tools-1.5.2-43.72.i386.rpm b003e4d54488dc6de8cbda4b67fd00ff 7.2/en/os/i386/python2-2.1.1-3.72.i386.rpm dc1a8dfc6730260a928686d045f71a78 7.2/en/os/i386/python2-devel-2.1.1-3.72.i386.rpm a7caa31d00458fc9d4d15eb8d104a4ed 7.2/en/os/i386/tkinter-1.5.2-43.72.i386.rpm d9f4fd6143727e449d84b53d2ea4ef9b 7.2/en/os/ia64/python-1.5.2-43.72.ia64.rpm b29d85ad562bec405b38489f30806374 7.2/en/os/ia64/python-devel-1.5.2-43.72.ia64.rpm e779912db153931041cf3966602d5cf7 7.2/en/os/ia64/python-docs-1.5.2-43.72.ia64.rpm 1047fdaa02bd21d630bfa13b82c99e2d 7.2/en/os/ia64/python-tools-1.5.2-43.72.ia64.rpm 99c4f0a6882e6d74e3e47505dbee4d61 7.2/en/os/ia64/python2-2.1.1-3.72.ia64.rpm 621198359d022edce55506114080bda7 7.2/en/os/ia64/python2-devel-2.1.1-3.72.ia64.rpm 74bf134d537ccab7059edee801df360c 7.2/en/os/ia64/tkinter-1.5.2-43.72.ia64.rpm 0b5a4cdda781eeff82b8908a875560b2 7.3/en/os/SRPMS/python-1.5.2-43.73.src.rpm a880215bae8b3590c0008f8cc17dd048 7.3/en/os/SRPMS/python2-2.2.2-11.7.3.src.rpm dcbc769c9e642dfa04dd484620530a62 7.3/en/os/i386/python-1.5.2-43.73.i386.rpm 835fcb1cb25e5a14b7963b001bccc28c 7.3/en/os/i386/python-devel-1.5.2-43.73.i386.rpm 6319e4c3d2551a960351645f60e741f0 7.3/en/os/i386/python-docs-1.5.2-43.73.i386.rpm f56d052e910fb2c4e04ee2de60353d0a 7.3/en/os/i386/python-tools-1.5.2-43.73.i386.rpm 40991aa17090bddac82e3fc5ab60eda2 7.3/en/os/i386/python2-2.2.2-11.7.3.i386.rpm 1dba356b43bf9806d2f17eab601c923a 7.3/en/os/i386/python2-devel-2.2.2-11.7.3.i386.rpm 0d0b52a0ff3d7557106919b9a5419841 7.3/en/os/i386/python2-docs-2.2.2-11.7.3.i386.rpm 9acbaea9e85ea31ff24b925a6d1edfdd 7.3/en/os/i386/tkinter-1.5.2-43.73.i386.rpm 25ead4c99f5c7a03ee69ed056250c6b6 7.3/en/os/i386/tkinter2-2.2.2-11.7.3.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 -v <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: md5sum <filename> 8. References: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=156556 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1119 9. Contact: The Red Hat security contact is <security@redhat.com>. More contact details at http://www.redhat.com/solutions/security/news/contact.html Copyright 2003 Red Hat, Inc. _______________________________________________ Redhat-watch-list mailing list To unsubscribe, visit: https://listman.redhat.com/mailman/listinfo/redhat-watch-list