CVE-2021-42771
python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Babel.Locale en Babel versiones anteriores a 2.9.1, permite a atacantes cargar archivos .dat de configuración regional arbitrarios (que contienen objetos Python serializados) por medio de salto de directorio, lo que conlleva a una ejecución de código
A flaw was found in python-babel. A path traversal vulnerability was found in how locale data files are checked and loaded within python-babel, allowing a local attacker to trick an application that uses python-babel to load a file outside of the intended locale directory. The highest threat from this vulnerability is to data confidentiality and integrity as well as service availability.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-10-20 CVE Reserved
- 2021-10-20 CVE Published
- 2024-07-05 EPSS Updated
- 2024-08-04 CVE Updated
- 2024-08-04 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html | Mailing List | |
https://lists.debian.org/debian-lts/2021/10/msg00040.html | Mailing List |
URL | Date | SRC |
---|---|---|
https://www.tenable.com/security/research/tra-2021-14 | 2024-08-04 |
URL | Date | SRC |
---|---|---|
https://github.com/python-babel/babel/pull/782 | 2021-12-14 |
URL | Date | SRC |
---|---|---|
https://www.debian.org/security/2021/dsa-5018 | 2021-12-14 | |
https://access.redhat.com/security/cve/CVE-2021-42771 | 2021-11-09 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1955615 | 2021-11-09 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Pocoo Search vendor "Pocoo" | Babel Search vendor "Pocoo" for product "Babel" | < 2.9.1 Search vendor "Pocoo" for product "Babel" and version " < 2.9.1" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
|