Advisory

PYSEC-2021-421

Also known as: CVE-2021-42771, GHSA-h4m5-qpfp-3mpv

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2021-10-20 21:15 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

babel

PyPI · All systems

Affected

  • introduced 0, fixed 2.9.1 (ecosystem)

Fixed versions

2.9.1

Fix

  • Fixed version 2.9.1
    pip install --upgrade babel==2.9.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences