CVE-2021-42771Path Traversal in Babel

CWE-22Path Traversal7 documents6 sources
Severity
7.8HIGHNVD
EPSS
0.2%
top 61.82%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 20
Latest updateOct 21

Description

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages5 packages

debiandebian/python-babel< python-babel 2.8.0+dfsg.1-7 (bookworm)
NVDpocoo/babel< 2.9.1
PyPIbabel/babel< 2.9.1

Also affects: Debian Linux 10.0

Patches

🔴Vulnerability Details

3
OSV
Directory Traversal in Babel2021-10-21
GHSA
Directory Traversal in Babel2021-10-21
OSV
CVE-2021-42771: Babel2021-10-20

📋Vendor Advisories

3
Microsoft
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.2021-10-12
Red Hat
python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code2021-04-28
Debian
CVE-2021-42771: python-babel - Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .da...2021