{"id":"UBUNTU-CVE-2016-5699","details":"CRLF injection vulnerability in the HTTPConnection.putheader function in urllib2 and urllib in CPython (aka Python) before 2.7.10 and 3.x before 3.4.4 allows remote attackers to inject arbitrary HTTP headers via CRLF sequences in a URL.","modified":"2026-02-04T03:50:40.573655Z","published":"2016-09-02T00:00:00Z","related":["USN-3134-1"],"upstream":["CVE-2016-5699"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-5699"},{"type":"REPORT","url":"https://bugs.python.org/issue22928"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3134-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-5699"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.3"}]}],"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","2.7.6-8ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"idle-python2.7"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"libpython2.7"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"python2.7"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"python2.7-dev"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"python2.7-examples"},{"binary_version":"2.7.6-8ubuntu0.3","binary_name":"python2.7-minimal"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-5699.json"}},{"package":{"name":"python3.4","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python3.4@3.4.3-1ubuntu1~14.04.5?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.3-1ubuntu1~14.04.5"}]}],"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","3.4.0-2ubuntu1.1","3.4.3-1ubuntu1~14.04.1","3.4.3-1ubuntu1~14.04.3","3.4.3-1ubuntu1~14.04.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"idle-python3.4"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"libpython3.4"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"libpython3.4-dev"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"libpython3.4-minimal"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"libpython3.4-stdlib"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"libpython3.4-testsuite"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"python3.4"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"python3.4-dev"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"python3.4-examples"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"python3.4-minimal"},{"binary_version":"3.4.3-1ubuntu1~14.04.5","binary_name":"python3.4-venv"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-5699.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}