CVE-2021-42771
HIGHCVSS 7.8/10EPSS 0.72%
Last modified
CVE-2021-42771 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.72% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pocoo | Babel | < 2.9.1 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/python-babel/babel/pull/782Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00018.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts/2021/10/msg00040.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-5018Third Party Advisory
- https://www.tenable.com/security/research/tra-2021-14Exploit, Third Party Advisory
- https://github.com/python-babel/babel/pull/782Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/10/msg00018.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts/2021/10/msg00040.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2021/dsa-5018Third Party Advisory
- https://www.tenable.com/security/research/tra-2021-14Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-42771?
CVE-2021-42771 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.72% probability of exploitation in the next 30 days.
How do I fix CVE-2021-42771?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-42764The Proof-of-Stake (PoS) Ethereum consensus protocol through…9.1
- CVE-2021-42765The Proof-of-Stake (PoS) Ethereum consensus protocol through…7.5
- CVE-2021-42766The Proof-of-Stake (PoS) Ethereum consensus protocol through…9.1
- CVE-2021-42767A directory traversal vulnerability in the apoc plugins in N…9.1
- CVE-2021-4277A vulnerability, which was classified as problematic, has be…5.3
- CVE-2021-42770A Cross-site scripting (XSS) vulnerability was discovered in…6.1
- CVE-2021-42772Broadcom Emulex HBA Manager/One Command Manager versions bef…9.8
- CVE-2021-42773Broadcom Emulex HBA Manager/One Command Manager versions bef…7.5
- CVE-2021-42774Broadcom Emulex HBA Manager/One Command Manager versions bef…9.8
- CVE-2021-42775Broadcom Emulex HBA Manager/One Command Manager versions bef…9.1
- CVE-2021-42776CloverDX Server before 5.11.2 and and 5.12.x before 5.12.1 a…7.7
- CVE-2021-42777Stimulsoft (aka Stimulsoft Reports) 2013.1.1600.0, when Comp…9.8
Are you affected by CVE-2021-42771?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
