{"id":"UBUNTU-CVE-2014-4650","details":"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.","modified":"2026-02-04T04:09:43.292939Z","published":"2014-06-25T00:00:00Z","related":["USN-2653-1"],"upstream":["CVE-2014-4650"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-4650"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2014/06/26/3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2653-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-4650"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.2"}]}],"versions":["2.7.5-8ubuntu3","2.7.5-8ubuntu4","2.7.6-2","2.7.6-2ubuntu1","2.7.6-3","2.7.6-3ubuntu1","2.7.6-4","2.7.6-4ubuntu1","2.7.6-5","2.7.6-7","2.7.6-8"],"ecosystem_specific":{"binaries":[{"binary_name":"idle-python2.7","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"libpython2.7","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"libpython2.7-dev","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"libpython2.7-minimal","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"libpython2.7-stdlib","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"libpython2.7-testsuite","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"python2.7","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"python2.7-dev","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"python2.7-examples","binary_version":"2.7.6-8ubuntu0.2"},{"binary_name":"python2.7-minimal","binary_version":"2.7.6-8ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-4650.json"}},{"package":{"name":"python3.4","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python3.4@3.4.0-2ubuntu1.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0-2ubuntu1.1"}]}],"versions":["3.4~b1-0ubuntu3","3.4~b1-4ubuntu4","3.4~b1-4ubuntu6","3.4~b1-5ubuntu2","3.4~b2-1","3.4~b3-1ubuntu1","3.4~rc1-1build1","3.4~rc2-1","3.4~rc3-0ubuntu1","3.4.0-1","3.4.0-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"idle-python3.4","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"libpython3.4","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"libpython3.4-dev","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"libpython3.4-minimal","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"libpython3.4-stdlib","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"libpython3.4-testsuite","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"python3.4","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"python3.4-dev","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"python3.4-examples","binary_version":"3.4.0-2ubuntu1.1"},{"binary_name":"python3.4-minimal","binary_version":"3.4.0-2ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-4650.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}