Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
4.6
CVE-2002-1119: Python lets local users run code via symlink trick
CVE-2002-1119 · published 24 years ago
Summary
The Python programming language creates temporary files with names that can be guessed. This makes it possible for someone with access to the same computer to replace those files with their own malicious version and cause the program to run unwanted code. Update Python to a newer version or apply the recommended patches to stop this from happening.
What to do
- Update python python to version 2.2.2 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| python | python |
< 2.2.2 cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
Original advisory text
os._execvpe from os.py in Python 2.2.1 and earlier creates temporary files with predictable names, which could allow local users to execute arbitrary code via a symlink attack.
os._execvpe from os.py in Python 2.2.1 and earlier creates temporary files with predictable names, which could allow local users to execute arbitrary code via a symlink attack.
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000527 Third Party Advisory
- http://mail.python.org/pipermail/python-dev/2002-August/027229.html Mailing List Vendor Advisory
- http://marc.info/?l=bugtraq&m=104333092200589&w=2 Mailing List
- http://www.debian.org/security/2002/dsa-159 Patch Vendor Advisory
- http://www.iss.net/security_center/static/10009.php Vendor Advisory
- http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-082.php Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2002-202.html Third Party Advisory
- http://www.redhat.com/support/errata/RHSA-2003-048.html Third Party Advisory
- http://www.securityfocus.com/bid/5581 Patch Third Party Advisory VDB Entry Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Severity
4.6
Medium
Timeline
Published4 Oct 2002
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2002-1119 · NVD
Track software like this
Free during beta