Directory Traversal Affecting python27 package, versions <0:2.7.8-6.74.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
5.66% (94th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-PYTHON27-1678751
  • published27 Sept 2021
  • disclosed20 Feb 2020

Introduced: 20 Feb 2020

CVE-2014-4650  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 python27 to version 0:2.7.8-6.74.amzn1 or higher.
This issue was patched in ALAS-2014-440.

NVD Description

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

The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which allows remote attackers to read script source code or conduct directory traversal attacks and execute unintended code via a crafted character sequence, as demonstrated by a %2f separator.

CVSS Scores

version 3.1