Skip to content

Off-by-one error in the PyLocale_strxfrm function in...

Moderate severity Unreviewed Published May 1, 2022 to the GitHub Advisory Database • Updated Aug 2, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

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.

References

Published by the National Vulnerability Database Apr 16, 2007
Published to the GitHub Advisory Database May 1, 2022
Last updated Aug 2, 2023

Severity

Moderate

EPSS score

7.516%
(94th percentile)

Weaknesses

CVE ID

CVE-2007-2052

GHSA ID

GHSA-7hcx-rxp8-j55g

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.