Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!Close

CVE-2021-42771

Published: 20 October 2021

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.

Notes

AuthorNote
leosilva
fixed as CVE-2021-20095. But that CVE number was rejected and that
new one was assigned to that issue.

Priority

Medium

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
python-babel
Launchpad, Ubuntu, Debian
upstream
Released (2.8.0+dfsg.1-7)
xenial Not vulnerable
(1.3+dfsg.1-6ubuntu0.1~esm1)
bionic Not vulnerable
(2.4.0+dfsg.1-2ubuntu1.1)
focal Not vulnerable
(2.6.0+dfsg.1-1ubuntu2.2)
hirsute Not vulnerable
(2.8.0+dfsg.1-6ubuntu0.1)
impish Not vulnerable
(2.8.0+dfsg.1-7)
trusty Not vulnerable
(1.3+dfsg.1-2ubuntu2+esm1)
jammy Not vulnerable

Patches:
upstream: https://github.com/python-babel/babel/pull/782/commits/3a700b5b8b53606fd98ef8294a56f9510f7290f8
upstream: https://github.com/python-babel/babel/pull/782/commits/5caf717ceca4bd235552362b4fbff88983c75d8c (windows only)

Severity score breakdown

Parameter Value
Base score 7.8
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H