python: CGIHTTPServer module does not properly handle URL-encoded path separators in URLs
Published Feb 20, 2020
9.8
CRITICALCVSS 3.1
EPSS 24.70%
Description
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.
Affected products
No data.
Configuration 1
Configuration 2
- n/a
- 5.0
- 6.0
- 7.0
No data.
Red Hat Enterprise Linux 6
python-0:2.6.6-64.el6
Fixed · RHSA-2015:1330
Red Hat Enterprise Linux 7
python-0:2.7.5-34.el7
Fixed · RHSA-2015:2101
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-0:1.1-20.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-0:2.7.8-3.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-pip-0:1.5.6-5.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-setuptools-0:0.9.8-5.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-simplejson-0:3.2.0-3.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-wheel-0:0.24.0-2.el7
Fixed · RHSA-2015:1064
Red Hat Enterprise Linux 5
python
Will not fix
Red Hat Software Collections
python27-python
Affected
Red Hat Software Collections
python33-python
Will not fix
Red Hat Software Collections
rh-python34-python
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | python-0:2.6.6-64.el6 | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux 7 | python-0:2.7.5-34.el7 | Fixed | RHSA-2015:2101 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-0:1.1-20.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.8-3.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-pip-0:1.5.6-5.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-setuptools-0:0.9.8-5.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-simplejson-0:3.2.0-3.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-wheel-0:0.24.0-2.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Enterprise Linux 5 | python | Will not fix | n/a |
| Red Hat Software Collections | python27-python | Affected | n/a |
| Red Hat Software Collections | python33-python | Will not fix | n/a |
| Red Hat Software Collections | rh-python34-python | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of python as shipped with Red Hat Enterprise Linux 5 and 7 as well as Red Hat Software Collections. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (38 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 24.70% (0.24700) | 97.83th | v5 (v2026.06.15) |
| Jun 15, 2026 | 24.15% (0.24148) | 97.56th | v5 (v2026.06.15) |
| Apr 6, 2026 | 7.95% (0.07954) | 92.05th | v4 (v2025.03.14) |
| Dec 28, 2025 | 6.17% (0.06173) | 90.51th | v4 (v2025.03.14) |
| Dec 27, 2025 | 7.87% (0.07874) | 91.75th | v4 (v2025.03.14) |
| Dec 14, 2025 | 6.02% (0.06019) | 90.35th | v4 (v2025.03.14) |
| Nov 18, 2025 | 8.15% (0.08153) | 91.31th | v4 (v2025.03.14) |
| Oct 28, 2025 | 11.89% (0.11892) | 93.43th | v4 (v2025.03.14) |
| Oct 27, 2025 | 14.86% (0.14856) | 94.25th | v4 (v2025.03.14) |
| Oct 1, 2025 | 11.89% (0.11892) | 93.52th | v4 (v2025.03.14) |
| Aug 20, 2025 | 14.86% (0.14856) | 94.26th | v4 (v2025.03.14) |
| Aug 18, 2025 | 16.98% (0.16978) | 94.69th | v4 (v2025.03.14) |
| Jul 30, 2025 | 12.95% (0.12946) | 93.77th | v4 (v2025.03.14) |
| Jul 12, 2025 | 10.30% (0.10304) | 92.82th | v4 (v2025.03.14) |
| Jul 7, 2025 | 12.99% (0.12994) | 93.73th | v4 (v2025.03.14) |
| Mar 30, 2025 | 10.30% (0.10304) | 92.44th | v4 (v2025.03.14) |
| Mar 29, 2025 | 17.12% (0.17116) | 91.72th | v4 (v2025.03.14) |
| Mar 17, 2025 | 10.30% (0.10304) | 92.60th | v4 (v2025.03.14) |
| Mar 3, 2025 | 3.08% (0.03078) | 91.07th | v3 (v2023.03.01) |
| Jan 11, 2025 | 4.36% (0.04364) | 92.32th | v3 (v2023.03.01) |
| Dec 26, 2024 | 5.66% (0.05655) | 93.21th | v3 (v2023.03.01) |
| Dec 17, 2024 | 7.76% (0.07756) | 94.18th | v3 (v2023.03.01) |
| Dec 10, 2024 | 16.26% (0.16260) | 96.17th | v3 (v2023.03.01) |
| Oct 17, 2024 | 17.38% (0.17378) | 96.22th | v3 (v2023.03.01) |
| Oct 5, 2024 | 20.39% (0.20388) | 96.45th | v3 (v2023.03.01) |
| Aug 2, 2024 | 26.28% (0.26279) | 96.76th | v3 (v2023.03.01) |
| May 31, 2024 | 31.11% (0.31107) | 96.99th | v3 (v2023.03.01) |
| Oct 4, 2023 | 24.55% (0.24553) | 96.05th | v3 (v2023.03.01) |
| Aug 12, 2023 | 22.45% (0.22455) | 95.89th | v3 (v2023.03.01) |
| Jul 10, 2023 | 14.18% (0.14184) | 94.95th | v3 (v2023.03.01) |
| Jun 8, 2023 | 13.79% (0.13794) | 94.83th | v3 (v2023.03.01) |
| May 8, 2023 | 11.09% (0.11086) | 94.26th | v3 (v2023.03.01) |
| Apr 23, 2023 | 9.97% (0.09974) | 93.96th | v3 (v2023.03.01) |
| Mar 25, 2023 | 8.90% (0.08904) | 93.56th | v3 (v2023.03.01) |
| Mar 7, 2023 | 8.57% (0.08569) | 93.41th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.38% (0.08382) | 93.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 8.38% (0.08382) | 93.35th | v2 (v2022.01.01) |
| Feb 4, 2022 | 8.38% (0.08382) | 82.62th | v2 (v2022.01.01) |
References (7)
- http://bugs.python.org/issue21766 x_refsource_MISCExploitPatchVendor Advisory
- http://openwall.com/lists/oss-security/2014/06/26/3 x_refsource_MISCMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2014-4650 Vendor Advisory
- https://access.redhat.com/security/cve/cve-2014-4650 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1113527 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2014-4650
- https://www.cve.org/CVERecord?id=CVE-2014-4650
| Link | Providers | Tags |
|---|---|---|
| http://bugs.python.org/issue21766 | x_refsource_MISCExploitPatchVendor Advisory | |
| http://openwall.com/lists/oss-security/2014/06/26/3 | x_refsource_MISCMailing ListThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2014-4650 | Vendor Advisory | |
| https://access.redhat.com/security/cve/cve-2014-4650 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1113527 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2014-4650 | ||
| https://www.cve.org/CVERecord?id=CVE-2014-4650 |
Change history (0)
No recorded changes yet.