CVE-2021-42771

python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code

Published Oct 20, 2021 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2790-1 python-babel security update
EUVD EUVD EUVD-2021-0032 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.
Github GHSA Github GHSA GHSA-h4m5-qpfp-3mpv Directory Traversal in Babel
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 3:38 AM
Reserved
Oct 20, 2021, 12:00 AM
Status
Modified
Published
Oct 20, 2021, 9:15 PM
Modified
Jun 17, 2026, 4:10 AM
Severity
Moderate
Public date
Apr 28, 2021, 12:00 AM