CVE-2006-1542: 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 affected.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2006-1542?
CVE-2006-1542 is classified as a high severity vulnerability due to the potential for local users to achieve privilege escalation.
How do I fix CVE-2006-1542?
To mitigate CVE-2006-1542, upgrade Python to version 2.5 or later, which addresses the buffer overflow issue.
Who is affected by CVE-2006-1542?
CVE-2006-1542 affects local users running Python versions 2.4.2 and earlier on Linux with specific configurations.
How does CVE-2006-1542 exploit occur?
CVE-2006-1542 exploits a stack-based buffer overflow when executing scripts from directories with excessively long names.
What systems are impacted by CVE-2006-1542?
CVE-2006-1542 impacts systems running Linux kernel 2.6.12.5 with gcc 4.0.3 and libc 2.3.5 when using affected versions of Python.