Vulnerabilities / CVE-2014-4650

critical

CVE-2014-4650

python: CGIHTTPServer module does not properly handle URL-encoded path separators in URLs

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.0AV:N/AC:L/Au:N/C:P/I:N/A:N

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

SourcePackageFixed in
amazon linux 1python26, python26-debuginfo, python26-devel and 9 more2.6.9-2.83.amzn1 and 1 more
debian 11python2.72.7.8-1
debian 7python2.6, python2.7, python3.2no fix listed
Oracle Linux 6python, python-devel, python-libs and 17 more2.6.6-64.0.1.el6 and 6 more
Oracle Linux 7python, python-debug, python-devel and 18 more2.7.5-34.0.1.el7 and 6 more
ubuntu 12.04python2.7, python3.22.7.3-0ubuntu3.8 and 1 more
ubuntu 14.04python2.7, python3.42.7.6-8ubuntu0.2 and 1 more
ubuntu 14.04-ESMpython2.7, python3.42.7.6-8ubuntu0.2 and 1 more
Show all 63 entries from 8 sources
SourcePackageFixed in
amazon linux 1python262.6.9-2.83.amzn1
amazon linux 1python26-debuginfo2.6.9-2.83.amzn1
amazon linux 1python26-devel2.6.9-2.83.amzn1
amazon linux 1python26-libs2.6.9-2.83.amzn1
amazon linux 1python26-test2.6.9-2.83.amzn1
amazon linux 1python26-tools2.6.9-2.83.amzn1
amazon linux 1python272.7.8-6.74.amzn1
amazon linux 1python27-debuginfo2.7.8-6.74.amzn1
amazon linux 1python27-devel2.7.8-6.74.amzn1
amazon linux 1python27-libs2.7.8-6.74.amzn1
amazon linux 1python27-test2.7.8-6.74.amzn1
amazon linux 1python27-tools2.7.8-6.74.amzn1
debian 11python2.72.7.8-1
debian 7python2.6no fix listed
debian 7python2.7no fix listed
debian 7python3.2no fix listed
Oracle Linux 6python2.6.6-64.0.1.el6
Oracle Linux 6python-devel2.6.6-64.0.1.el6
Oracle Linux 6python-libs2.6.6-64.0.1.el6
Oracle Linux 6python-test2.6.6-64.0.1.el6
Oracle Linux 6python-tools2.6.6-64.0.1.el6
Oracle Linux 6python271.1-17.el6
Oracle Linux 6python27-python2.7.8-3.el6
Oracle Linux 6python27-python-debug2.7.8-3.el6
Oracle Linux 6python27-python-devel2.7.8-3.el6
Oracle Linux 6python27-python-libs2.7.8-3.el6
Oracle Linux 6python27-python-pip1.5.6-5.el6
Oracle Linux 6python27-python-setuptools0.9.8-3.el6
Oracle Linux 6python27-python-simplejson3.2.0-2.el6
Oracle Linux 6python27-python-test2.7.8-3.el6
Oracle Linux 6python27-python-tools2.7.8-3.el6
Oracle Linux 6python27-python-wheel0.24.0-2.el6
Oracle Linux 6python27-runtime1.1-17.el6
Oracle Linux 6python27-scldevel1.1-17.el6
Oracle Linux 6python27-tkinter2.7.8-3.el6
Oracle Linux 6tkinter2.6.6-64.0.1.el6
Oracle Linux 7python2.7.5-34.0.1.el7
Oracle Linux 7python-debug2.7.5-34.0.1.el7
Oracle Linux 7python-devel2.7.5-34.0.1.el7
Oracle Linux 7python-libs2.7.5-34.0.1.el7
Oracle Linux 7python-test2.7.5-34.0.1.el7
Oracle Linux 7python-tools2.7.5-34.0.1.el7
Oracle Linux 7python271.1-20.el7
Oracle Linux 7python27-python2.7.8-3.el7
Oracle Linux 7python27-python-debug2.7.8-3.el7
Oracle Linux 7python27-python-devel2.7.8-3.el7
Oracle Linux 7python27-python-libs2.7.8-3.el7
Oracle Linux 7python27-python-pip1.5.6-5.el7
Oracle Linux 7python27-python-setuptools0.9.8-5.el7
Oracle Linux 7python27-python-simplejson3.2.0-3.el7
Oracle Linux 7python27-python-test2.7.8-3.el7
Oracle Linux 7python27-python-tools2.7.8-3.el7
Oracle Linux 7python27-python-wheel0.24.0-2.el7
Oracle Linux 7python27-runtime1.1-20.el7
Oracle Linux 7python27-scldevel1.1-20.el7
Oracle Linux 7python27-tkinter2.7.8-3.el7
Oracle Linux 7tkinter2.7.5-34.0.1.el7
ubuntu 12.04python2.72.7.3-0ubuntu3.8
ubuntu 12.04python3.23.2.3-0ubuntu3.7
ubuntu 14.04python2.72.7.6-8ubuntu0.2
ubuntu 14.04python3.43.4.0-2ubuntu1.1
ubuntu 14.04-ESMpython2.72.7.6-8ubuntu0.2
ubuntu 14.04-ESMpython3.43.4.0-2ubuntu1.1

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.