Vulnerability Details : CVE-2021-42771
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.
Vulnerability category: Directory traversal
Products affected by CVE-2021-42771
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:a:pocoo:babel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-42771
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42771
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | AV:L/AC:L/Au:N/C:C/I:C/A:C |
3.9
|
10.0
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2021-42771
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-42771
-
https://www.debian.org/security/2021/dsa-5018
Debian -- Security Information -- DSA-5018-1 python-babelThird Party Advisory
-
https://www.tenable.com/security/research/tra-2021-14
Python-Babel/Babel Locale Directory Traversal / Arbitrary Code Execution - Research Advisory | Tenable®Exploit;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html
[SECURITY] [DLA 2790-1] python-babel security updateMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts/2021/10/msg00040.html
Re: [EXTERNAL] TRA-2021-14/CVE-2021-20095 statusMailing List;Third Party Advisory
-
https://github.com/python-babel/babel/pull/782
Clean locale identifiers before loading from file by akx · Pull Request #782 · python-babel/babel · GitHubPatch;Third Party Advisory
Jump to