Directory Traversal Affecting python-babel package, versions <2.8.0+dfsg.1-7


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.77% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-PYTHONBABEL-11765227
  • published10 Aug 2025
  • disclosed20 Oct 2021

Introduced: 20 Oct 2021

CVE-2021-42771  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Debian:14 python-babel to version 2.8.0+dfsg.1-7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-babel package and not the python-babel package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1