{"schema_version":"1.7.3","id":"GHSA-h4m5-qpfp-3mpv","published":"2021-10-21T17:49:59Z","modified":"2024-09-12T21:07:41.408222Z","aliases":["CVE-2021-42771","PYSEC-2021-421"],"summary":"Directory Traversal in Babel","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":[{"package":{"name":"babel","ecosystem":"PyPI","purl":"pkg:pypi/babel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1"}]}],"versions":["0.8","0.8.1","0.9","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","1.0","1.1","1.2","1.3","2.0","2.1.1","2.2.0","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.7.0","2.8.0","2.8.1","2.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-h4m5-qpfp-3mpv/GHSA-h4m5-qpfp-3mpv.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42771"},{"type":"WEB","url":"https://github.com/python-babel/babel/pull/782"},{"type":"WEB","url":"https://github.com/python-babel/babel/commit/412015ef642bfcc0d8ba8f4d05cdbb6aac98d9b3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h4m5-qpfp-3mpv"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/babel/PYSEC-2021-421.yaml"},{"type":"WEB","url":"https://github.com/python-babel/babel"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts/2021/10/msg00040.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-5018"},{"type":"WEB","url":"https://www.tenable.com/security/research/tra-2021-14"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2021-10-21T14:33:55Z","nvd_published_at":"2021-10-20T21:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}