PT-2021-23681

CVE-2021-42771

·

Published

2021-04-28

·

Updated

2026-10-31

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA: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.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-H4M5-QPFP-3MPV
ALSA-2021:4151
ALSA-2021:4162
ALSA-2021:4201
ALT-PU-2021-2513
ALT-PU-2024-8948
AZL-6325
CESA-2021_4151
CESA-2021_4162
CESA-2021_4201
CLEANSTART-2026-XY96122
DLA-2790-1
DSA-5018-1
INFSA-2021_4201
OPENSUSE-SU-2021:1553-1
OPENSUSE-SU-2021_1553-1
OPENSUSE-SU-2021:3945-1
OPENSUSE-SU-2021_3945-1
OPENSUSE-SU-2024:11602-1
OPENSUSE-SU-2024:14127-1
OPENSUSE-SU-2026:11986-1
PYSEC-2021-421
RHSA-2021:3252
RHSA-2021:3254
RHSA-2021:4151
RHSA-2021_4151
RHSA-2021:4162
RHSA-2021_4162
RHSA-2021:4201
RHSA-2021_4201
RLSA-2021:4151
RLSA-2021:4162
RLSA-2021:4201
SUSE-SU-2021:3945-1
SUSE-SU-2021_3945-1
SUSE-SU-2021:4161-1
SUSE-SU-2021_4161-1
SUSE-SU-2022:0028-1
SUSE-SU-2022:0029-1
SUSE-SU-2022:3590-1
SUSE-SU-2022_3590-1
Found an issue in the description? Have something to add? Feel free to write us 👾