Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 443
Alerts This Week
Warning Icon 1 443

Debian DSA 159-1: Moderate Risk Python Insecure Temp Files Exploit

debian
Calendar Grey August 28, 2002
Debian Logo
Debian published notice DSA-160-2 regarding a security concern in PHP's session management. It is crucial for users to refresh their packages to mitigate possible exploitation threats.
A flaw in Python was discovered with an insecure use of a temporary file inos._execvpe from os.py

Summary

Zack Weinberg discovered an insecure use of a temporary file in
os._execvpe from os.py. It uses a predictable name which could lead
execution of arbitrary code.

This problem has been fixed in several versions of Python: For the
current stable distribution (woody) it has been fixed in version
1.5.2-23.1 of Python 1.5, in version 2.1.3-3.1 of Python 2.1 and in
version 2.2.1-4.1 of Python 2.2. For the old stable distribution
(potato) this has been fixed in version 1.5.2-10potato12 for Python
1.5. For the unstable distribution (sid) this has been fixed in
version 1.5.2-24 of Python 1.5, in version 2.1.3-6a of Python 2.1 and
in version 2.2.1-8 of Python 2.2. Python 2.3 is not affected by this
problem.

We recommend that you upgrade your Python packages immediately.

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
...

Read the Full Advisory

Package: python

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.