CVE-2021-42771: Path Traversal
A flaw was found in python-babel. A path traversal vulnerability was found in how locale data files are checked and loaded within python-babel, allowing a local attacker to trick an application that uses python-babel to load a file outside of the intended locale directory. The highest threat from this vulnerability is to data confidentiality and integrity as well as service availability.
Other sources
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.
Python-Babel Babel could allow a local authenticated attacker to traverse directories on the system, caused by a flaw in the Babel.Locale function. An attacker could load a specially-crafted .dat file containing "dot dot" sequences (/../) to execute arbitrary code on the system.
— IBM
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2021-42771?
CVE-2021-42771 is classified as a high severity vulnerability due to its potential for exploitation via path traversal.
How do I fix CVE-2021-42771?
To fix CVE-2021-42771, upgrade the affected packages to the recommended patched versions listed in the vulnerability advisory.
Which software is affected by CVE-2021-42771?
CVE-2021-42771 affects multiple packages including python-babel and its various versions across different operating systems.
What type of vulnerability is CVE-2021-42771?
CVE-2021-42771 is a path traversal vulnerability that allows attackers to access files outside the intended directory.
Can CVE-2021-42771 be exploited remotely?
No, CVE-2021-42771 is primarily a local vulnerability that requires local access to exploit.