Directory Traversal Affecting python2.7 package, versions <2.7.8-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
16.26% (97th 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-DEBIAN11-PYTHON27-523468
  • published27 Jun 2018
  • disclosed20 Feb 2020

Introduced: 27 Jun 2018

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

How to fix?

Upgrade Debian:11 python2.7 to version 2.7.8-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2.7 package and not the python2.7 package as distributed by Debian. See How to fix? for Debian:11 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