CVE-2021-42771

Source
https://cve.org/CVERecord?id=CVE-2021-42771
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42771.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-42771
Aliases
Downstream
Related
Published
2021-10-20T21:15:07.930Z
Modified
2026-04-10T04:40:15.867898Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .dat files (containing serialized Python objects) via directory traversal, leading to code execution.

References

Affected packages

Git / github.com/python-babel/babel

Affected ranges

Type
GIT
Repo
https://github.com/python-babel/babel
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.9.1"
        }
    ]
}

Affected versions

1.*
1.0
2.*
2.0
Other
dev-2a51c9b95d06
v2.*
v2.4.0
v2.5.0
v2.5.1
v2.5.2
v2.6.0
v2.7.0
v2.8.0
v2.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42771.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    }
]