—
PYSEC-2021-421
Quick fix
PYSEC-2021-421 — babel: upgrade to the fixed version with the command below.
pip install --upgrade 'babel>=2.9.1'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.tenable.com/security/research/tra-2021-14[WEB]
- https://lists.debian.org/debian-lts/2021/10/msg00040.html[WEB]
- https://github.com/python-babel/babel/pull/782[WEB]
- https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html[WEB]
- https://github.com/advisories/GHSA-h4m5-qpfp-3mpv[ADVISORY]