CVE-2021-42771
Publication date 20 October 2021
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python-babel | 22.04 LTS jammy |
Not affected
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty |
Not affected
|
Notes
leosilva
fixed as CVE-2021-20095. But that CVE number was rejected and that new one was assigned to that issue.
Patch details
| Package | Patch details |
|---|---|
| python-babel |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |