PT-2021-23681 · Babel+8 · Babel+8
Chris Lyne
·
Published
2021-04-28
·
Updated
2025-10-15
·
CVE-2021-42771
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Babel versions prior to 2.9.1
Description
The issue is related to errors in input validation when handling directory traversal sequences in locale .dat files within Babel.Locale. This can allow an attacker to load arbitrary locale .dat files, which contain serialized Python objects, via directory traversal, leading to code execution.
Recommendations
For versions prior to 2.9.1, update to version 2.9.1 or later to resolve the issue. As a temporary workaround, consider restricting access to locale .dat files to minimize the risk of exploitation.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Babel
Centos
Red Hat
Red Os
Rocky Linux
Suse