Bug 2016686 - python-babel: allows attackers to load arbitrary locale .dat files via directory traversal leading to code execution
Summary: python-babel: allows attackers to load arbitrary locale .dat files via direct...
Keywords:
Status: CLOSED DUPLICATE of bug 1955615
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2016687
TreeView+ depends on / blocked
 
Reported: 2021-10-22 16:56 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-20 17:10 UTC (History)
20 users (show)

Fixed In Version: python-babel 2.9.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in python-babel. A path traversal vulnerability in how locale data files are checked and loaded within python-babel allows a local attacker to trick an application that uses python-babel to load a file outside of the intended locale directory. The highest threat from this vulnerability is to data confidentiality and integrity as well as service availability.
Clone Of:
Environment:
Last Closed: 2021-10-25 05:00:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-10-22 16:56:44 UTC
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.

Reference:
https://www.tenable.com/security/research/tra-2021-14

Upstream patch:
https://github.com/python-babel/babel/pull/782

Comment 1 Sandipan Roy 2021-10-25 05:00:22 UTC

*** This bug has been marked as a duplicate of bug 1955615 ***

Comment 5 Tomas Hoger 2021-11-05 10:33:20 UTC
Moving the CVE alias to flaw bug 1955615 for easier tracking.


Note You need to log in before you can comment on or make changes to this bug.