
CVE catalog
CVE-2021-42771
python-babel: CVE-2021-42771
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.77% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-babel | sid | 2.18.0+git2026-08-12-3 | fixed |
| Debian | python-babel | forky | 2.18.0+git2026-08-12-3 | fixed |
| Debian | python-babel | trixie | 2.17.0-1 | fixed |
| Debian | python-babel | bookworm | 2.10.3-1 | fixed |
| Opensuse | python-Babel | tumbleweed | 2.18.0-1.4 | fixed |
| Alpine | py3-babel | 3.16 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.17 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.18 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.19 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.20 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.21 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.22 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.23 | 2.9.1-r0 | fixed |
| Alpine | py3-babel | 3.24 | 2.9.1-r0 | fixed |
| Opensuse | python-Babel | tumbleweed | 2.9.1-3.1 | fixed |
| Opensuse | python-Babel | tumbleweed | 2.14.0-1.5 | fixed |
| Suse | python-Babel | linux enterprise module for basesystem 15 sp2 | 2.8.0-3.3.1 | fixed |
| Suse | python-Babel | linux enterprise module for basesystem 15 sp3 | 2.8.0-3.3.1 | fixed |
| Suse | python-Babel | linux enterprise module for python 2 15 sp2 | 2.8.0-3.3.1 | fixed |
| Suse | python-Babel | linux enterprise module for python 2 15 sp3 | 2.8.0-3.3.1 | fixed |
| Suse | python-Babel | linux enterprise micro 5.0 | 2.8.0-3.3.1 | fixed |
| Suse | python-Babel | linux enterprise micro 5.1 | 2.8.0-3.3.1 | fixed |
| Suse | python-Babel | linux enterprise high performance computing 15-espos | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise high performance computing 15-ltss | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise high performance computing 15 sp1-espos | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise high performance computing 15 sp1-ltss | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise server 15-ltss | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise server 15 sp1-bcl | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise server 15 sp1-ltss | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise server for sap applications 15 | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | linux enterprise server for sap applications 15 sp1 | 2.5.1-150000.3.3.1 | fixed |
| Suse | python-Babel | enterprise storage 6 | 2.5.1-150000.3.3.1 | fixed |
| Opensuse | python-Babel | leap 15.2 | 2.8.0-lp152.2.3.1 | fixed |
| Opensuse | python-Babel-doc | leap 15.2 | 2.8.0-lp152.2.3.1 | fixed |
| Suse | python-Babel | hpe helion openstack 8 | 2.3.4-4.3.1 | fixed |
| Suse | python-Babel | openstack cloud 8 | 2.3.4-4.3.1 | fixed |
| Suse | python-Babel | openstack cloud crowbar 8 | 2.3.4-4.3.1 | fixed |
| Suse | python-Babel | openstack cloud 9 | 2.5.1-3.3.1 | fixed |
| Suse | python-Babel | openstack cloud crowbar 9 | 2.5.1-3.3.1 | fixed |
| Suse | python-Babel | linux enterprise module for public cloud 12 | 2.5.3-4.8.1 | fixed |
| Opensuse | python-Babel | leap 15.3 | 2.8.0-3.3.1 | fixed |
| Opensuse | python-Babel-doc | leap 15.3 | 2.8.0-3.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-babel | source | sid | 2.8.0+dfsg.1-7 | not yet assigned | Not reported | [987824] |
| Debian | python-babel | source | forky | 2.8.0+dfsg.1-7 | not yet assigned | Not reported | [987824] |
| Debian | python-babel | source | trixie | 2.8.0+dfsg.1-7 | not yet assigned | Not reported | [987824] |
| Debian | python-babel | source | bookworm | 2.8.0+dfsg.1-7 | not yet assigned | Not reported | [987824] |
| Opensuse | python-Babel | rpm | tumbleweed | 2.18.0-1.4 | Not reported | OPENSUSE-SU-2026:11986-1 | Not reported |
| Alpine | py3-babel | apk | 3.16 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.17 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.18 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.19 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.20 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.21 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.22 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.23 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Alpine | py3-babel | apk | 3.24 | 2.9.1-r0 | Not reported | ALPINE-CVE-2021-42771 | Not reported |
| Opensuse | python-Babel | rpm | tumbleweed | 2.9.1-3.1 | Not reported | OPENSUSE-SU-2024:11602-1 | Not reported |
| Opensuse | python-Babel | rpm | tumbleweed | 2.14.0-1.5 | Not reported | OPENSUSE-SU-2024:14127-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise module for basesystem 15 sp2 | 2.8.0-3.3.1 | Not reported | SUSE-SU-2021:3945-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise module for basesystem 15 sp3 | 2.8.0-3.3.1 | Not reported | SUSE-SU-2021:3945-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise module for python 2 15 sp2 | 2.8.0-3.3.1 | Not reported | SUSE-SU-2021:3945-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise module for python 2 15 sp3 | 2.8.0-3.3.1 | Not reported | SUSE-SU-2021:3945-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise micro 5.0 | 2.8.0-3.3.1 | Not reported | SUSE-SU-2021:3945-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise micro 5.1 | 2.8.0-3.3.1 | Not reported | SUSE-SU-2021:3945-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise high performance computing 15-espos | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise high performance computing 15-ltss | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise high performance computing 15 sp1-espos | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise high performance computing 15 sp1-ltss | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise server 15-ltss | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise server 15 sp1-bcl | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise server 15 sp1-ltss | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise server for sap applications 15 | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise server for sap applications 15 sp1 | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Suse | python-Babel | rpm | enterprise storage 6 | 2.5.1-150000.3.3.1 | Not reported | SUSE-SU-2022:3590-1 | Not reported |
| Opensuse | python-Babel | rpm | leap 15.2 | 2.8.0-lp152.2.3.1 | Not reported | OPENSUSE-SU-2021:1553-1 | Not reported |
| Opensuse | python-Babel-doc | rpm | leap 15.2 | 2.8.0-lp152.2.3.1 | Not reported | OPENSUSE-SU-2021:1553-1 | Not reported |
| Suse | python-Babel | rpm | hpe helion openstack 8 | 2.3.4-4.3.1 | Not reported | SUSE-SU-2022:0029-1 | Not reported |
| Suse | python-Babel | rpm | openstack cloud 8 | 2.3.4-4.3.1 | Not reported | SUSE-SU-2022:0029-1 | Not reported |
| Suse | python-Babel | rpm | openstack cloud crowbar 8 | 2.3.4-4.3.1 | Not reported | SUSE-SU-2022:0029-1 | Not reported |
| Suse | python-Babel | rpm | openstack cloud 9 | 2.5.1-3.3.1 | Not reported | SUSE-SU-2022:0028-1 | Not reported |
| Suse | python-Babel | rpm | openstack cloud crowbar 9 | 2.5.1-3.3.1 | Not reported | SUSE-SU-2022:0028-1 | Not reported |
| Suse | python-Babel | rpm | linux enterprise module for public cloud 12 | 2.5.3-4.8.1 | Not reported | SUSE-SU-2021:4161-1 | Not reported |
| Opensuse | python-Babel | rpm | leap 15.3 | 2.8.0-3.3.1 | Not reported | OPENSUSE-SU-2021:3945-1 | Not reported |
| Opensuse | python-Babel-doc | rpm | leap 15.3 | 2.8.0-3.3.1 | Not reported | OPENSUSE-SU-2021:3945-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-Babel]Unknown
Source package: [python-Babel]
Details (1)
2.18.0-1.4· noarch · tumbleweedUnknown · Fixed:
2.14.0-1.5, 2.18.0-1.4, 2.9.1-3.1Version impact unknown
dsa · python-Babel · opensuse · tumbleweed
- [python314-Babel]Unknown
Source package: [python-Babel]
Details (1)
2.18.0-1.4· noarch · tumbleweedUnknown · Fixed:
2.14.0-1.5, 2.18.0-1.4, 2.9.1-3.1Version impact unknown
dsa · python-Babel · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-babel]Fixed
Source package: [python-babel]
Details (2)
2.10.3-1· all · bookwormFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · bookworm; dsa · python-babel · debian · 12
2.10.3-1· all · bookwormFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · bookworm; dsa · python-babel · debian · 12
- [python-babel-doc]Fixed
Source package: [python-babel]
Details (2)
2.10.3-1· all · bookwormFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · bookworm; dsa · python-babel · debian · 12
2.10.3-1· all · bookwormFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · bookworm; dsa · python-babel · debian · 12
- [python-babel-localedata]Fixed
Source package: [python-babel]
Details (2)
2.10.3-1· all · bookwormFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · bookworm; dsa · python-babel · debian · 12
2.10.3-1· all · bookwormFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · bookworm; dsa · python-babel · debian · 12
[Debian 13 (Trixie)]
- [python3-babel]Fixed
Source package: [python-babel]
Details (2)
2.17.0-1· all · trixieFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · 13
2.17.0-1· all · trixieFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · 13
- [python-babel-doc]Fixed
Source package: [python-babel]
Details (2)
2.17.0-1· all · trixieFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · 13
2.17.0-1· all · trixieFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · 13
- [python-babel-localedata]Fixed
Source package: [python-babel]
Details (2)
2.17.0-1· all · trixieFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · 13
2.17.0-1· all · trixieFixed · Fixed:
2.8.0+dfsg.1-7dsa · python-babel · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_4151.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-42771]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-42771]
- [https://osv.dev/vulnerability/DLA-2790-1]
- [https://osv.dev/vulnerability/DSA-5018-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3945-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:4161-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0028-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0029-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:3590-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-42771]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:1553-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:3945-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11602-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14127-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11986-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-42771]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-42771.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-0571.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]