{"cve":"CVE-2021-42771","nvd":{"published":"2021-10-20T21:15:07.930","modified":"2026-06-17T04:10:06.940","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-22"],"references":["https://github.com/python-babel/babel/pull/782","https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html","https://lists.debian.org/debian-lts/2021/10/msg00040.html","https://www.debian.org/security/2021/dsa-5018","https://www.tenable.com/security/research/tra-2021-14"],"products":["debian:debian_linux","pocoo:babel"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-42771","score":0.0077,"percentile":0.55658,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h4m5-qpfp-3mpv","url":"https://osv.dev/vulnerability/GHSA-h4m5-qpfp-3mpv","summary":"Directory Traversal in Babel","modified":"2024-09-12T21:07:41.408222Z","packages":[{"ecosystem":"PyPI","name":"babel","purl":"pkg:pypi/babel","ranges":["<2.9.1"],"fixed":["2.9.1"]}]},{"id":"PYSEC-2021-421","url":"https://osv.dev/vulnerability/PYSEC-2021-421","summary":"","modified":"2023-11-08T04:07:07.685612Z","packages":[{"ecosystem":"PyPI","name":"babel","purl":"pkg:pypi/babel","ranges":["<2.9.1"],"fixed":["2.9.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}