CVE-2006-1542
published 2006-03-30CVE-2006-1542: Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack…
PriorityP415low3.7CVSS 2.0
AVLACHAuNCPIPAP
EXPLOIT
EPSS
0.95%
56.7th percentile
Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack overflow," and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be affected.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| python | python | <= 2.4.2 | — |
CVSS provenance
nvdv2.03.7LOWAV:L/AC:H/Au:N/C:P/I:P/A:P
vendor_redhat3.7LOW
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
python buffer overflow
vendor_redhat·2005-09-22·CVSS 3.7
CVE-2006-1542 [LOW] python buffer overflow
python buffer overflow
Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack overflow," and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be aff
GHSA
GHSA-75w6-c37p-69v3: Stack-based buffer overflow in Python 2
ghsa_unreviewed·2022-05-01
CVE-2006-1542 [LOW] GHSA-75w6-c37p-69v3: Stack-based buffer overflow in Python 2
Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack overflow," and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be affected.
No detection rules found.
Bugzilla
CVE-2006-1542 python buffer overflow
bugzilla·2008-01-29·CVSS 3.7
CVE-2006-1542 [LOW] CVE-2006-1542 python buffer overflow
CVE-2006-1542 python buffer overflow
Common Vulnerabilities and Exposures assigned an identifier CVE-2006-1542 to the following vulnerability:
Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a
"
stack overflow,
"
and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name
Bugzilla
CVE-2006-1542 Python buffer overflow
bugzilla·2006-04-04·CVSS 3.7
CVE-2006-1542 [LOW] CVE-2006-1542 Python buffer overflow
CVE-2006-1542 Python buffer overflow
Python buffer overflow
A bug was found in the way python determines the realpath() of the
current script. The realpath() function is broken by design and
should not be used.
http://www.gotfault.net/research/exploit/gexp-python.py
http://www.gotfault.net/research/advisory/gadv-python.txt
I can crash FC4 and RHEL4 with this exploit. Need to look at the
source. It should have a low impact as you have to run a python
program from within a direcotory which is part of an insanely long
path. The other distributions are likely not crashing as the maximum
path length returned by realpath() can differ.
Further testing has shown that this issue ONLY affects a python
program which resides inside the very long path (realpath, so you
can't use symlinks to fake i
Bugzilla
CVE-2006-1542 Python buffer overflow
bugzilla·2006-04-04·CVSS 3.7
CVE-2006-1542 [LOW] CVE-2006-1542 Python buffer overflow
CVE-2006-1542 Python buffer overflow
Python buffer overflow
A bug was found in the way python determines the realpath() of the
current script. The realpath() function is broken by design and
should not be used.
http://www.gotfault.net/research/exploit/gexp-python.py
http://www.gotfault.net/research/advisory/gadv-python.txt
I can crash FC4 and RHEL4 with this exploit. Need to look at the
source. It should have a low impact as you have to run a python
program from within a direcotory which is part of an insanely long
path. The other distributions are likely not crashing as the maximum
path length returned by realpath() can differ.
Further testing has shown that this issue ONLY affects a python
program which resides inside the very long path (realpath, so you
can't use symlinks to fake i
http://secunia.com/advisories/31492http://www.gotfault.net/research/exploit/gexp-python.pyhttp://www.redhat.com/support/errata/RHSA-2008-0629.htmlhttps://www.exploit-db.com/exploits/1591http://secunia.com/advisories/31492http://www.gotfault.net/research/exploit/gexp-python.pyhttp://www.redhat.com/support/errata/RHSA-2008-0629.htmlhttps://www.exploit-db.com/exploits/1591
2006-03-30
Published