VDB
Sign up
—

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

PyPI/babel
Introduced in: 0Fixed in: 2.9.1
Fixpip install --upgrade 'babel>=2.9.1'

References