First published: Mon Apr 16 2007(Updated: )
Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an incorrect buffer size to be used for the strxfrm function, which allows context-dependent attackers to read portions of memory via unknown manipulations that trigger a buffer over-read due to missing null termination.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
CPython | =2.4 | |
CPython | =2.5 | |
Python 2.7 | =2.4.0 | |
Python 2.7 | =2.5.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-2052 is considered to have a medium severity rating due to its potential for memory reading attacks.
To fix CVE-2007-2052, upgrade to Python version 2.6 or later as these versions contain the necessary patches.
CVE-2007-2052 affects Python versions 2.4.0 and 2.5.0.
CVE-2007-2052 is classified as a buffer over-read vulnerability caused by an off-by-one error.
Yes, CVE-2007-2052 can be exploited remotely by attackers through context-dependent methods.