{"schema_version":"1.7.5","id":"CVE-2021-42771","published":"2021-10-20T21:15:07.930Z","modified":"2026-07-08T06:00:31.405217522Z","aliases":["GHSA-h4m5-qpfp-3mpv","PYSEC-2021-421"],"related":["ALSA-2021:4151","ALSA-2021:4162","ALSA-2021:4201","SUSE-SU-2021:3945-1","SUSE-SU-2021:4161-1","SUSE-SU-2022:0028-1","SUSE-SU-2022:0029-1","SUSE-SU-2022:3590-1","openSUSE-SU-2021:1553-1","openSUSE-SU-2021:3945-1","openSUSE-SU-2024:11602-1","openSUSE-SU-2024:14127-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-babel/babel","events":[{"introduced":"0"},{"fixed":"a99fa2474c808b51ebdabea18db871e389751559"}],"database_specific":{"cpe":"cpe:2.3:a:pocoo:babel:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.9.1"}],"source":"CPE_RANGE"}}],"versions":["v2.9.0","v2.8.0","v2.7.0","v2.6.0","v2.5.1","v2.5.2","v2.5.0","v2.4.0","dev-2a51c9b95d06","2.0","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42771.json"}}],"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts/2021/10/msg00040.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-5018"},{"type":"FIX","url":"https://github.com/python-babel/babel/pull/782"},{"type":"EVIDENCE","url":"https://www.tenable.com/security/research/tra-2021-14"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}