Skip to content
Noroxi
CVE-2014-4650· NVD / CVE Program· CNA mitre

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 al

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.

CriticalCVSS 9.8 · v3.1—Proof of concept Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Feb 20, 2020
Updated
Jun 16, 2026
EPSS
24.7% · 98th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

46

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
7 / 30 · 24.7%

Affected systems

VendorProduct
pythonpython
redhatsoftware collections
redhatenterprise linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • python python3.2.0 and later · before 3.2.6
  • python python3.3.0 and later · before 3.3.6
  • python python3.4.0 and later · before 3.4.2
  • python python2.7.0 and later · before 2.7.8
  • redhat enterprise linux5.0
  • redhat enterprise linux6.0
  • redhat enterprise linux7.0
  • redhat software collectionsall versions

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:11python2.7before 2.7.8-12.7.8-1
openSUSE:Leap 15.1python3before 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Leap 15.1python3-basebefore 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Tumbleweedpythonbefore 2.7.18-8.12.7.18-8.1
openSUSE:Tumbleweedpython-basebefore 2.7.12-1.42.7.12-1.4
openSUSE:Tumbleweedpython3before 3.5.1-3.83.5.1-3.8
openSUSE:Tumbleweedpython310before 3.10.0rc1-4.23.10.0rc1-4.2
openSUSE:Tumbleweedpython311before 3.11.0b1-1.13.11.0b1-1.1
openSUSE:Tumbleweedpython312before 3.12.0a7-1.13.12.0a7-1.1
openSUSE:Tumbleweedpython313before 3.13.0~b3-1.13.13.0~b3-1.1
openSUSE:Tumbleweedpython314before 3.14.0~a1-1.13.14.0~a1-1.1
openSUSE:Tumbleweedpython315before 3.15.0~a1-1.13.15.0~a1-1.1
openSUSE:Tumbleweedpython36before 3.6.15-1.13.6.15-1.1
openSUSE:Tumbleweedpython38before 3.8.12-1.23.8.12-1.2
openSUSE:Tumbleweedpython39before 3.9.7-2.13.9.7-2.1
Red Hat:enterprise_linux:6::clientpythonbefore 0:2.6.6-64.el60:2.6.6-64.el6
Red Hat:enterprise_linux:6::clientpython-debuginfobefore 0:2.6.6-64.el60:2.6.6-64.el6
Red Hat:enterprise_linux:6::clientpython-develbefore 0:2.6.6-64.el60:2.6.6-64.el6
Red Hat:enterprise_linux:6::clientpython-libsbefore 0:2.6.6-64.el60:2.6.6-64.el6
Red Hat:enterprise_linux:6::clientpython-testbefore 0:2.6.6-64.el60:2.6.6-64.el6
Red Hat:enterprise_linux:6::clientpython-toolsbefore 0:2.6.6-64.el60:2.6.6-64.el6
Red Hat:enterprise_linux:6::clienttkinterbefore 0:2.6.6-64.el60:2.6.6-64.el6
Red Hat:enterprise_linux:7::clientpythonbefore 0:2.7.5-34.el70:2.7.5-34.el7
Red Hat:enterprise_linux:7::clientpython-debugbefore 0:2.7.5-34.el70:2.7.5-34.el7

+45

Other highest-scoring records for the same primary product.

  • CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 all
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot
    47Plan
  • CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Pyth
    46Plan
  • CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C
    45Plan
  • CVE-2020-27619In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.
    42Plan
  • CVE-2019-9636Python 2.7.x through 2.7.16 and 3.x through 3.7.2 is affected by: Improper Handling of Unicode Encoding (with an incorrect netloc) during NF
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:python2.72.7.8-1 · Debian:11Package registry (OSV)
opensuse:python2.7.18-8.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python-base2.7.12-1.4 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python33.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python3-base3.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python3103.10.0rc1-4.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3113.11.0b1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3123.12.0a7-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3133.13.0~b3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3143.14.0~a1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python363.6.15-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python383.8.12-1.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python393.9.7-2.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:python270:1.1-17.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python0:2.7.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-debug0:2.7.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-debuginfo0:2.7.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-devel0:2.7.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-libs0:2.7.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-pip0:1.5.6-5.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-setuptools0:0.9.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-simplejson0:3.2.0-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-simplejson-debuginfo0:3.2.0-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-test0:2.7.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:python27-python-tools0:2.7.8-3.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
suse:python2.7.9-14.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
suse:python-base2.7.9-14.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
suse:python-doc2.7.9-14.3 · SUSE:Linux Enterprise Server 12Package registry (OSV)
suse:python33.6.10-3.42.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:python3-base3.6.10-3.42.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrywebapps2014-06-27

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-2065 d
  2. Published
  3. TodaySep 30, 2026+2414 d
EPSS, last 120 days+1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records