{"id":"CVE-2021-42771","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.","aliases":["GHSA-h4m5-qpfp-3mpv","PYSEC-2021-421"],"modified":"2026-04-10T04:40:15.867898Z","published":"2021-10-20T21:15:07.930Z","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"],"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-babel/babel","events":[{"introduced":"0"},{"fixed":"a99fa2474c808b51ebdabea18db871e389751559"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.9.1"}]}}],"versions":["1.0","2.0","dev-2a51c9b95d06","v2.4.0","v2.5.0","v2.5.1","v2.5.2","v2.6.0","v2.7.0","v2.8.0","v2.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42771.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}