Skip to navigation

Security Advisory Updated python packages fix predictable temporary file

Advisory: RHSA-2002:202-35
Type: Security Advisory
Severity: N/A
Issued on: 2002-09-12
Last updated on: 2003-06-30
Affected Products: Red Hat Linux 6.2
Red Hat Linux 7.0
Red Hat Linux 7.1
Red Hat Linux 7.1 for iSeries
Red Hat Linux 7.1 for pSeries
Red Hat Linux 7.2
Red Hat Linux 7.3
CVEs (cve.mitre.org): CVE-2002-1119

Details

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.

[Updated 16 April 2003]
Added packages for Red Hat Linux on IBM iSeries and pSeries systems.

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.


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.

Updated packages

Red Hat Linux 6.2

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.62/SRPMS/python-1.5.2-43.62.src.rpm
Missing file
    MD5: 7536ecc0dc812da6fc4a74d73530e277
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.62/i386/python-1.5.2-43.62.i386.rpm
Missing file
    MD5: a54cd70aa64a444f2275c24e285b8ced
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.62/i386/python-devel-1.5.2-43.62.i386.rpm
Missing file
    MD5: 00622494a09f0331f49e7c3cb694afb4
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.62/i386/python-docs-1.5.2-43.62.i386.rpm
Missing file
    MD5: 127be22d962f8e08e80410b1bbe2a1e9
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.62/i386/python-tools-1.5.2-43.62.i386.rpm
Missing file
    MD5: 619eea467c30eabb6d722baf3fb4ba7f
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.62/i386/tkinter-1.5.2-43.62.i386.rpm
Missing file
    MD5: ab9a26d13ff723261c193ef5b9f1b633
 
Red Hat Linux 7.0

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/SRPMS/python-1.5.2-43.71.src.rpm
Missing file
    MD5: 90d8f04c125dcb72c4d194b6b794d3a9
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/i386/python-1.5.2-43.71.i386.rpm
Missing file
    MD5: b3f5c7a9c74a4f6f155ffb756169b443
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.71/i386/python-devel-1.5.2-43.71.i386.rpm
Missing file
    MD5: eb431838b7164e726dc85ad73b533503
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.71/i386/python-docs-1.5.2-43.71.i386.rpm
Missing file
    MD5: 677149c18f09a08340a3506d4ac8fa81
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.71/i386/python-tools-1.5.2-43.71.i386.rpm
Missing file
    MD5: e358a13ed18b96c9bb99a4f3989b3023
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.71/i386/tkinter-1.5.2-43.71.i386.rpm
Missing file
    MD5: ccc967b2e1e52d3f876eb1fc85e9b44a
 
Red Hat Linux 7.1

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/SRPMS/python-1.5.2-43.71.src.rpm
Missing file
    MD5: 90d8f04c125dcb72c4d194b6b794d3a9
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/i386/python-1.5.2-43.71.i386.rpm
Missing file
    MD5: b3f5c7a9c74a4f6f155ffb756169b443
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.71/i386/python-devel-1.5.2-43.71.i386.rpm
Missing file
    MD5: eb431838b7164e726dc85ad73b533503
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.71/i386/python-docs-1.5.2-43.71.i386.rpm
Missing file
    MD5: 677149c18f09a08340a3506d4ac8fa81
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.71/i386/python-tools-1.5.2-43.71.i386.rpm
Missing file
    MD5: e358a13ed18b96c9bb99a4f3989b3023
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.71/i386/tkinter-1.5.2-43.71.i386.rpm
Missing file
    MD5: ccc967b2e1e52d3f876eb1fc85e9b44a
 
Red Hat Linux 7.1 for iSeries

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/SRPMS/python-1.5.2-43.71.src.rpm
Missing file
    MD5: 90d8f04c125dcb72c4d194b6b794d3a9
 
iSeries:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/ppc/python-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 6e0e8e9f9134ea0e7a692efef27b1a83
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.71/ppc/python-devel-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 395d8b3c28a2db58bc8f686e704b1f72
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.71/ppc/python-docs-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 6a660e0ab704629f7a8d960152cf1e9f
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.71/ppc/python-tools-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 5a5e847a097d6b55bc006ddc30d4a574
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.71/ppc/tkinter-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 6e2f023897a0524db0e87c5f77a39fef
 
Red Hat Linux 7.1 for pSeries

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/SRPMS/python-1.5.2-43.71.src.rpm
Missing file
    MD5: 90d8f04c125dcb72c4d194b6b794d3a9
 
pSeries:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.71/ppc/python-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 6e0e8e9f9134ea0e7a692efef27b1a83
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.71/ppc/python-devel-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 395d8b3c28a2db58bc8f686e704b1f72
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.71/ppc/python-docs-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 6a660e0ab704629f7a8d960152cf1e9f
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.71/ppc/python-tools-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 5a5e847a097d6b55bc006ddc30d4a574
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.71/ppc/tkinter-1.5.2-43.71.ppc.rpm
Missing file
    MD5: 6e2f023897a0524db0e87c5f77a39fef
 
Red Hat Linux 7.2

SRPMS:
ftp://updates.redhat.com/rhn/public/2703533/python/1.5.2-43.72/SRPMS/python-1.5.2-43.72.src.rpm
Missing file
    MD5: 9730651382eb7f9e62ffe6de0672c7e6
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.72/SRPMS/python-1.5.2-43.72.src.rpm
Missing file
    MD5: 9730651382eb7f9e62ffe6de0672c7e6
ftp://updates.redhat.com/rhn/repository/NULL/python2/2.1.1-3.72/SRPMS/python2-2.1.1-3.72.src.rpm
Missing file
    MD5: f668bcd67d3a2b5c43775c0e7de4bcbb
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.72/i386/python-1.5.2-43.72.i386.rpm
Missing file
    MD5: 0954d6dc326c6efe2437e79403a3f63d
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.72/i386/python-devel-1.5.2-43.72.i386.rpm
Missing file
    MD5: 719a70ae917e3ae6f4fee58035a6d7b6
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.72/i386/python-docs-1.5.2-43.72.i386.rpm
Missing file
    MD5: fc5b52750f51d9af93b65d7ed627722d
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.72/i386/python-tools-1.5.2-43.72.i386.rpm
Missing file
    MD5: eae08607c830fd1f2c26d8c274f61e85
ftp://updates.redhat.com/rhn/repository/NULL/python2/2.1.1-3.72/i386/python2-2.1.1-3.72.i386.rpm
Missing file
    MD5: b003e4d54488dc6de8cbda4b67fd00ff
ftp://updates.redhat.com/rhn/repository/NULL/python2-devel/2.1.1-3.72/i386/python2-devel-2.1.1-3.72.i386.rpm
Missing file
    MD5: dc1a8dfc6730260a928686d045f71a78
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.72/i386/tkinter-1.5.2-43.72.i386.rpm
Missing file
    MD5: a7caa31d00458fc9d4d15eb8d104a4ed
 
IA-64:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.72/ia64/python-1.5.2-43.72.ia64.rpm
Missing file
    MD5: d9f4fd6143727e449d84b53d2ea4ef9b
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.72/ia64/python-devel-1.5.2-43.72.ia64.rpm
Missing file
    MD5: b29d85ad562bec405b38489f30806374
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.72/ia64/python-docs-1.5.2-43.72.ia64.rpm
Missing file
    MD5: e779912db153931041cf3966602d5cf7
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.72/ia64/python-tools-1.5.2-43.72.ia64.rpm
Missing file
    MD5: 1047fdaa02bd21d630bfa13b82c99e2d
ftp://updates.redhat.com/rhn/repository/NULL/python2/2.1.1-3.72/ia64/python2-2.1.1-3.72.ia64.rpm
Missing file
    MD5: 99c4f0a6882e6d74e3e47505dbee4d61
ftp://updates.redhat.com/rhn/repository/NULL/python2-devel/2.1.1-3.72/ia64/python2-devel-2.1.1-3.72.ia64.rpm
Missing file
    MD5: 621198359d022edce55506114080bda7
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.72/ia64/tkinter-1.5.2-43.72.ia64.rpm
Missing file
    MD5: 74bf134d537ccab7059edee801df360c
 
Red Hat Linux 7.3

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.73/SRPMS/python-1.5.2-43.73.src.rpm
Missing file
    MD5: 0b5a4cdda781eeff82b8908a875560b2
ftp://updates.redhat.com/rhn/repository/NULL/python2/2.2.2-11.7.3/SRPMS/python2-2.2.2-11.7.3.src.rpm
Missing file
    MD5: a880215bae8b3590c0008f8cc17dd048
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/python/1.5.2-43.73/i386/python-1.5.2-43.73.i386.rpm
Missing file
    MD5: dcbc769c9e642dfa04dd484620530a62
ftp://updates.redhat.com/rhn/repository/NULL/python-devel/1.5.2-43.73/i386/python-devel-1.5.2-43.73.i386.rpm
Missing file
    MD5: 835fcb1cb25e5a14b7963b001bccc28c
ftp://updates.redhat.com/rhn/repository/NULL/python-docs/1.5.2-43.73/i386/python-docs-1.5.2-43.73.i386.rpm
Missing file
    MD5: 6319e4c3d2551a960351645f60e741f0
ftp://updates.redhat.com/rhn/repository/NULL/python-tools/1.5.2-43.73/i386/python-tools-1.5.2-43.73.i386.rpm
Missing file
    MD5: f56d052e910fb2c4e04ee2de60353d0a
ftp://updates.redhat.com/rhn/repository/NULL/python2/2.2.2-11.7.3/i386/python2-2.2.2-11.7.3.i386.rpm
Missing file
    MD5: 40991aa17090bddac82e3fc5ab60eda2
ftp://updates.redhat.com/rhn/repository/NULL/python2-devel/2.2.2-11.7.3/i386/python2-devel-2.2.2-11.7.3.i386.rpm
Missing file
    MD5: 1dba356b43bf9806d2f17eab601c923a
ftp://updates.redhat.com/rhn/repository/NULL/python2-docs/2.2.2-11.7.3/i386/python2-docs-2.2.2-11.7.3.i386.rpm
Missing file
    MD5: 0d0b52a0ff3d7557106919b9a5419841
ftp://updates.redhat.com/rhn/repository/NULL/tkinter/1.5.2-43.73/i386/tkinter-1.5.2-43.73.i386.rpm
Missing file
    MD5: 9acbaea9e85ea31ff24b925a6d1edfdd
ftp://updates.redhat.com/rhn/repository/NULL/tkinter2/2.2.2-11.7.3/i386/tkinter2-2.2.2-11.7.3.i386.rpm
Missing file
    MD5: 25ead4c99f5c7a03ee69ed056250c6b6
 

Bugs fixed (see bugzilla for more information)

82435 - Python 2.2.2 errata breaks redhat-config-users
82544 - Errata removes most tools


References


Keywords

flaw:link, os.excvpe, symlink


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/