Directory Traversal Affecting python27-babel package, versions <0:0.9.4-5.1.9.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.77% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-PYTHON27BABEL-5414873
  • published6 Apr 2023
  • disclosed20 Oct 2021

Introduced: 20 Oct 2021

CVE-2021-42771  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 python27-babel to version 0:0.9.4-5.1.9.amzn1 or higher.
This issue was patched in ALAS-2023-1720.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python27-babel package and not the python27-babel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1