CVE-2014-4650
python: CGIHTTPServer module does not properly handle URL-encoded path separators in URLs
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Amazon (medium), Oracle (medium), Ubuntu (low).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | python26, python26-debuginfo, python26-devel and 9 more | 2.6.9-2.83.amzn1 and 1 more |
| debian 11 | python2.7 | 2.7.8-1 |
| debian 7 | python2.6, python2.7, python3.2 | no fix listed |
| Oracle Linux 6 | python, python-devel, python-libs and 17 more | 2.6.6-64.0.1.el6 and 6 more |
| Oracle Linux 7 | python, python-debug, python-devel and 18 more | 2.7.5-34.0.1.el7 and 6 more |
| ubuntu 12.04 | python2.7, python3.2 | 2.7.3-0ubuntu3.8 and 1 more |
| ubuntu 14.04 | python2.7, python3.4 | 2.7.6-8ubuntu0.2 and 1 more |
| ubuntu 14.04-ESM | python2.7, python3.4 | 2.7.6-8ubuntu0.2 and 1 more |
Show all 63 entries from 8 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | python26 | 2.6.9-2.83.amzn1 |
| amazon linux 1 | python26-debuginfo | 2.6.9-2.83.amzn1 |
| amazon linux 1 | python26-devel | 2.6.9-2.83.amzn1 |
| amazon linux 1 | python26-libs | 2.6.9-2.83.amzn1 |
| amazon linux 1 | python26-test | 2.6.9-2.83.amzn1 |
| amazon linux 1 | python26-tools | 2.6.9-2.83.amzn1 |
| amazon linux 1 | python27 | 2.7.8-6.74.amzn1 |
| amazon linux 1 | python27-debuginfo | 2.7.8-6.74.amzn1 |
| amazon linux 1 | python27-devel | 2.7.8-6.74.amzn1 |
| amazon linux 1 | python27-libs | 2.7.8-6.74.amzn1 |
| amazon linux 1 | python27-test | 2.7.8-6.74.amzn1 |
| amazon linux 1 | python27-tools | 2.7.8-6.74.amzn1 |
| debian 11 | python2.7 | 2.7.8-1 |
| debian 7 | python2.6 | no fix listed |
| debian 7 | python2.7 | no fix listed |
| debian 7 | python3.2 | no fix listed |
| Oracle Linux 6 | python | 2.6.6-64.0.1.el6 |
| Oracle Linux 6 | python-devel | 2.6.6-64.0.1.el6 |
| Oracle Linux 6 | python-libs | 2.6.6-64.0.1.el6 |
| Oracle Linux 6 | python-test | 2.6.6-64.0.1.el6 |
| Oracle Linux 6 | python-tools | 2.6.6-64.0.1.el6 |
| Oracle Linux 6 | python27 | 1.1-17.el6 |
| Oracle Linux 6 | python27-python | 2.7.8-3.el6 |
| Oracle Linux 6 | python27-python-debug | 2.7.8-3.el6 |
| Oracle Linux 6 | python27-python-devel | 2.7.8-3.el6 |
| Oracle Linux 6 | python27-python-libs | 2.7.8-3.el6 |
| Oracle Linux 6 | python27-python-pip | 1.5.6-5.el6 |
| Oracle Linux 6 | python27-python-setuptools | 0.9.8-3.el6 |
| Oracle Linux 6 | python27-python-simplejson | 3.2.0-2.el6 |
| Oracle Linux 6 | python27-python-test | 2.7.8-3.el6 |
| Oracle Linux 6 | python27-python-tools | 2.7.8-3.el6 |
| Oracle Linux 6 | python27-python-wheel | 0.24.0-2.el6 |
| Oracle Linux 6 | python27-runtime | 1.1-17.el6 |
| Oracle Linux 6 | python27-scldevel | 1.1-17.el6 |
| Oracle Linux 6 | python27-tkinter | 2.7.8-3.el6 |
| Oracle Linux 6 | tkinter | 2.6.6-64.0.1.el6 |
| Oracle Linux 7 | python | 2.7.5-34.0.1.el7 |
| Oracle Linux 7 | python-debug | 2.7.5-34.0.1.el7 |
| Oracle Linux 7 | python-devel | 2.7.5-34.0.1.el7 |
| Oracle Linux 7 | python-libs | 2.7.5-34.0.1.el7 |
| Oracle Linux 7 | python-test | 2.7.5-34.0.1.el7 |
| Oracle Linux 7 | python-tools | 2.7.5-34.0.1.el7 |
| Oracle Linux 7 | python27 | 1.1-20.el7 |
| Oracle Linux 7 | python27-python | 2.7.8-3.el7 |
| Oracle Linux 7 | python27-python-debug | 2.7.8-3.el7 |
| Oracle Linux 7 | python27-python-devel | 2.7.8-3.el7 |
| Oracle Linux 7 | python27-python-libs | 2.7.8-3.el7 |
| Oracle Linux 7 | python27-python-pip | 1.5.6-5.el7 |
| Oracle Linux 7 | python27-python-setuptools | 0.9.8-5.el7 |
| Oracle Linux 7 | python27-python-simplejson | 3.2.0-3.el7 |
| Oracle Linux 7 | python27-python-test | 2.7.8-3.el7 |
| Oracle Linux 7 | python27-python-tools | 2.7.8-3.el7 |
| Oracle Linux 7 | python27-python-wheel | 0.24.0-2.el7 |
| Oracle Linux 7 | python27-runtime | 1.1-20.el7 |
| Oracle Linux 7 | python27-scldevel | 1.1-20.el7 |
| Oracle Linux 7 | python27-tkinter | 2.7.8-3.el7 |
| Oracle Linux 7 | tkinter | 2.7.5-34.0.1.el7 |
| ubuntu 12.04 | python2.7 | 2.7.3-0ubuntu3.8 |
| ubuntu 12.04 | python3.2 | 3.2.3-0ubuntu3.7 |
| ubuntu 14.04 | python2.7 | 2.7.6-8ubuntu0.2 |
| ubuntu 14.04 | python3.4 | 3.4.0-2ubuntu1.1 |
| ubuntu 14.04-ESM | python2.7 | 2.7.6-8ubuntu0.2 |
| ubuntu 14.04-ESM | python3.4 | 3.4.0-2ubuntu1.1 |
References
- http://bugs.python.org/issue21766
- http://openwall.com/lists/oss-security/2014/06/26/3
- http://www.openwall.com/lists/oss-security/2014/06/26/3
- https://access.redhat.com/security/cve/CVE-2014-4650
- https://access.redhat.com/security/cve/cve-2014-4650
- https://linux.oracle.com/cve/CVE-2014-4650.html
- https://linux.oracle.com/errata/ELSA-2015-2101.html
- https://nvd.nist.gov/vuln/detail/CVE-2014-4650