PyPi: Babel

CVE-2021-42771

Safety vulnerability ID: 42203

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Oct 20, 2021 Updated at Aug 08, 2024
Scan your Python projects for vulnerabilities →

Advisory

Babel 2.9.1 includes a fix for CVE-2021-42771: 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.
https://github.com/python-babel/babel/pull/782

Affected package

babel

Latest version: 2.16.0

Internationalization utilities

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-42771.


MISC:https://github.com/python-babel/babel/pull/782: https://github.com/python-babel/babel/pull/782
MISC:https://lists.debian.org/debian-lts/2021/10/msg00040.html: https://lists.debian.org/debian-lts/2021/10/msg00040.html
MISC:https://www.tenable.com/security/research/tra-2021-14: https://www.tenable.com/security/research/tra-2021-14
MLIST:[debian-lts-announce] 20211021 [SECURITY] [DLA 2790-1] python-babel security update: https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.8

CVSS v3 Details

HIGH 7.8
Attack Vector (AV)
LOCAL
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

HIGH 7.2
Access Vector (AV)
LOCAL
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
COMPLETE
Integrity Impact (I)
COMPLETE
Availability Impact (A)
COMPLETE