Mandrake alert: Updated python packages fix local arbitrary code execution vulnerability

Posted by dave on Nov 25, 2002 6:02 PM EDT
Mailing list
Mail this story
Print this story

A vulnerability was discovered in python by Zack Weinberg in the way that the execvpe() method from the os.py module uses a temporary file name. The file is created in an unsafe manner and execvpe() tries to execute it, which can be used by a local attacker to execute arbitrary code with the privilege of the user running the python code that is using this method.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

Mandrake Linux Security Update Advisory ________________________________________________________________________

Package name: python Advisory ID: MDKSA-2002:082 Date: November 25th, 2002

Affected versions: 7.2, 8.0, 8.1, 8.2, 9.0, Single Network Firewall 7.2 ________________________________________________________________________

Problem Description:

A vulnerability was discovered in python by Zack Weinberg in the way that the execvpe() method from the os.py module uses a temporary file name. The file is created in an unsafe manner and execvpe() tries to execute it, which can be used by a local attacker to execute arbitrary code with the privilege of the user running the python code that is using this method. ________________________________________________________________________

References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1119 http://mail.python.org/pipermail/python-dev/2002-August/027223.html http://python.org/sf/590294 ________________________________________________________________________

Updated Packages: Linux-Mandrake 7.2: e9e016b6b07fc58997f02b78b299f105 7.2/RPMS/python-1.5.2-12.1mdk.i586.rpm f08129c7b43de40eb712b0a7d4a5554e 7.2/RPMS/python-devel-1.5.2-12.1mdk.i586.rpm 0e59d9f64e6f8be19f4e2dc73a2b2090 7.2/RPMS/python-docs-1.5.2-12.1mdk.i586.rpm d969562e109022071cf69515cf9146b9 7.2/RPMS/tkinter-1.5.2-12.1mdk.i586.rpm 411eb33a72870ba125b7331ab9f077a4 7.2/SRPMS/python-1.5.2-12.1mdk.src.rpm

Mandrake Linux 8.0: 9e9c147b6260b731016be16837d2cd09 8.0/RPMS/python-2.0-9.1mdk.i586.rpm c3a0d50a5c4ef7fd374c9e7614c9a0c6 8.0/RPMS/python-devel-2.0-9.1mdk.i586.rpm c7c31e4986334484d470066b6c2db346 8.0/RPMS/python-docs-2.0-9.1mdk.i586.rpm 69a2f2e7d10fb885592d7b4943dcac61 8.0/RPMS/tkinter-2.0-9.1mdk.i586.rpm c24d21f1d7e7e454c2ce78d2ce84a015 8.0/SRPMS/python-2.0-9.1mdk.src.rpm

Mandrake Linux 8.0/PPC: 8c35df120638c62d47f586d4faf702d4 ppc/8.0/RPMS/python-2.0-9.1mdk.ppc.rpm 4d54961b8e8cdc301719f42855c6e45c ppc/8.0/RPMS/python-devel-2.0-9.1mdk.ppc.rpm d9943638bf6d8ff59950faef4a832c48 ppc/8.0/RPMS/python-docs-2.0-9.1mdk.ppc.rpm 5f57afb7e9d2042200e8ecd84e83143e ppc/8.0/RPMS/tkinter-2.0-9.1mdk.ppc.rpm c24d21f1d7e7e454c2ce78d2ce84a015 ppc/8.0/SRPMS/python-2.0-9.1mdk.src.rpm

Mandrake Linux 8.1: 47695f02d722a8a7393af449a556fcc7 8.1/RPMS/libpython2.2-2.2-9.1mdk.i586.rpm 3fcb8dfd92f1dfaa076a95f227fee87c 8.1/RPMS/libpython2.2-devel-2.2-9.1mdk.i586.rpm 0f2f801268d9348f93c67a96d4d0f9d7 8.1/RPMS/python-2.2-9.1mdk.i586.rpm b69396894c2575949718df755557d781 8.1/RPMS/python-base-2.2-9.1mdk.i586.rpm 81ab8ba9cd85b0bea9029aac3ed0d652 8.1/RPMS/python-docs-2.2-9.1mdk.i586.rpm 339191d1e03b5961cc625d2e4996f15f 8.1/RPMS/tkinter-2.2-9.1mdk.i586.rpm d1ac7fa2119ec7c84d408027d44f8525 8.1/SRPMS/python-2.2-9.1mdk.src.rpm

Mandrake Linux 8.1/IA64: f27d9c351d9a74b5ea431956b33796af ia64/8.1/RPMS/libpython2.2-2.2-9.1mdk.ia64.rpm ccc514a11b7906c2ca2a3d32b63cf85b ia64/8.1/RPMS/libpython2.2-devel-2.2-9.1mdk.ia64.rpm b80f7653eb52b8de5bcd1eac9b39a882 ia64/8.1/RPMS/python-2.2-9.1mdk.ia64.rpm 68e4333b0ab080c7bf441728d1f96544 ia64/8.1/RPMS/python-base-2.2-9.1mdk.ia64.rpm 6915e488de60562b3728fe7e476fd9a8 ia64/8.1/RPMS/python-docs-2.2-9.1mdk.ia64.rpm d1ac7fa2119ec7c84d408027d44f8525 ia64/8.1/SRPMS/python-2.2-9.1mdk.src.rpm

Mandrake Linux 8.2: 22771586df09a081fdd8c00b84a01611 8.2/RPMS/libpython2.2-2.2-9.1mdk.i586.rpm 4649b5d23aeb0a0868c21a0950ef6166 8.2/RPMS/libpython2.2-devel-2.2-9.1mdk.i586.rpm 1aa805b1f870bcb8e042def0d1011719 8.2/RPMS/python-2.2-9.1mdk.i586.rpm 3adaec8a682f16962ba52c984fd6270c 8.2/RPMS/python-base-2.2-9.1mdk.i586.rpm 137abe1f02e02e89bf2b635b76d07892 8.2/RPMS/python-docs-2.2-9.1mdk.i586.rpm 107a60f5b00f477514038459801d156d 8.2/RPMS/tkinter-2.2-9.1mdk.i586.rpm d1ac7fa2119ec7c84d408027d44f8525 8.2/SRPMS/python-2.2-9.1mdk.src.rpm

Mandrake Linux 8.2/PPC: abb56b161b156cac0cba992e470d98a9 ppc/8.2/RPMS/libpython2.2-2.2-9.1mdk.ppc.rpm c8848d308e18571eb43452ad5e57907f ppc/8.2/RPMS/libpython2.2-devel-2.2-9.1mdk.ppc.rpm 5a065c10e341216cb02516166d12cdfa ppc/8.2/RPMS/python-2.2-9.1mdk.ppc.rpm 5fb31cc3f167e4f0a1e813ed535ea0a8 ppc/8.2/RPMS/python-base-2.2-9.1mdk.ppc.rpm f82636adec1620a226fce4781a771c08 ppc/8.2/RPMS/python-docs-2.2-9.1mdk.ppc.rpm fd7d4732704cc5d65d3db31aadc30679 ppc/8.2/RPMS/tkinter-2.2-9.1mdk.ppc.rpm d1ac7fa2119ec7c84d408027d44f8525 ppc/8.2/SRPMS/python-2.2-9.1mdk.src.rpm

Mandrake Linux 9.0: 68816873ca418b97541ab7b817659f6d 9.0/RPMS/libpython2.2-2.2.1-14.1mdk.i586.rpm b563b5a12f11f65463e21e5035b5bff6 9.0/RPMS/libpython2.2-devel-2.2.1-14.1mdk.i586.rpm 1fd791067dd84dc2f7ed0b9d1d67348d 9.0/RPMS/python-2.2.1-14.1mdk.i586.rpm 3e011ff7fb03797803b129341ff7f087 9.0/RPMS/python-base-2.2.1-14.1mdk.i586.rpm 09d9075dc6cf328b4815a01642cee8c3 9.0/RPMS/python-docs-2.2.1-14.1mdk.i586.rpm aad20ece68004cc82d62afd161d855a0 9.0/RPMS/tkinter-2.2.1-14.1mdk.i586.rpm 9fe98e438dd81073e2c6d2a40c60ddc6 9.0/SRPMS/python-2.2.1-14.1mdk.src.rpm

Single Network Firewall 7.2: e9e016b6b07fc58997f02b78b299f105 snf7.2/RPMS/python-1.5.2-12.1mdk.i586.rpm 411eb33a72870ba125b7331ab9f077a4 snf7.2/SRPMS/python-1.5.2-12.1mdk.src.rpm ________________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information): ________________________________________________________________________

To upgrade automatically, use MandrakeUpdate. The verification of md5 checksums and GPG signatures is performed automatically for you.

If you want to upgrade manually, download the updated package from one of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm". A list of FTP mirrors can be obtained from:

http://www.mandrakesecure.net/en/ftp.php

Please verify the update prior to upgrading to ensure the integrity of the downloaded package. You can do this with the command:

rpm --checksig <filename>

All packages are signed by MandrakeSoft for security. You can obtain the GPG public key of the Mandrake Linux Security Team from:

https://www.mandrakesecure.net/RPM-GPG-KEYS

Please be aware that sometimes it takes the mirrors a few hours to update.

You can view other update advisories for Mandrake Linux at:

http://www.mandrakesecure.net/en/advisories/

MandrakeSoft has several security-related mailing list services that anyone can subscribe to. Information on these lists can be obtained by visiting:

http://www.mandrakesecure.net/en/mlist.php

If you want to report vulnerabilities, please contact

security_linux-mandrake.com

Type Bits/KeyID Date User ID pub 1024D/22458A98 2000-07-10 Linux Mandrake Security Team <security linux-mandrake.com>

- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.7 (GN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CRCv2bZyU0yB80MeAJ9K +jXt0cKuaUonRU+CRGetk6t9dgCfTRRL6/puOKdD6md70+K5EBBSvsG0OE1hbmRy YWtlIExpbnV4IFNlY3VyaXR5IFRlYW0gPHNlY3VyaXR5QG1hbmRyYWtlc29mdC5j b20+iFcEExECABcFAjyPnuUFCwcKAwQDFQMCAxYCAQIXgAAKCRCaqNDQIkWKmFi+ AJsHhohgnU3ik4+gy3EdFlB2i/MBoACg6lHn5cnVvTcmgNccWxeNxLLZI5e5AQ0E OWnn7xAEAOQlTVY4TiNo5V/iP0J1xnqjqlqZsU7yEBKo/gZz6/+hx75RURe1ebiJ 9F779FQbpJ9Epz1KLSXvq974rnVb813zuGdmgFyk+ryA/rTR2RQ8h+EoNkwmATzR xBXVJb57fFQjxOu4eNjZAtfII/YXb0uyXXrdr5dlJ/3eXrcO4p0XAAMFBACCxo6Z 269s+A4v8C6Ui12aarOQcCDlV8cVG9LkyatU3FNTlnasqwo6EkaP572448weJWwN 6SCXVl+xOYLiK0hL/6Jb/O9Agw75yUVdk+RMM2I4fNEi+y4hmfMh2siBv8yEkEvZ jTcl3TpkTfzYky85tu433wmKaLFOv0WjBFSikohGBBgRAgAGBQI5aefvAAoJEJqo 0NAiRYqYid0AoJgeWzXrEdIClBOSW5Q6FzqJJyaqAKC0Y9YI3UFlE4zSIGjcFlLJ EJGXlA== =yGlX - -----END PGP PUBLIC KEY BLOCK-----

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE94uESmqjQ0CJFipgRApEMAKCR3fUGTaW0c3+6EtNbxzEfYWVMpgCgjPNQ mLiN9w1VnH6ZCv6HB/OUF+A= =dAmr -----END PGP SIGNATURE-----

  Nav
» Read more about: Story Type: Security; Groups: Mandriva

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.