{"id":"USN-4127-1","summary":"python2.7, python3.5, python3.6, python3.7 vulnerabilities","details":"It was discovered that Python incorrectly handled certain pickle files. An\nattacker could possibly use this issue to consume memory, leading to a\ndenial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu\n18.04 LTS. (CVE-2018-20406)\n\nIt was discovered that Python incorrectly validated the domain when\nhandling cookies. An attacker could possibly trick Python into sending\ncookies to the wrong domain. (CVE-2018-20852)\n\nJonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly\nhandled Unicode encoding during NFKC normalization. An attacker could\npossibly use this issue to obtain sensitive information. (CVE-2019-9636,\nCVE-2019-10160)\n\nColin Read and Nicolas Edet discovered that Python incorrectly handled\nparsing certain X509 certificates. An attacker could possibly use this\nissue to cause Python to crash, resulting in a denial of service. This\nissue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-5010)\n\nIt was discovered that Python incorrectly handled certain urls. A remote\nattacker could possibly use this issue to perform CRLF injection attacks.\n(CVE-2019-9740, CVE-2019-9947)\n\nSihoon Lee discovered that Python incorrectly handled the local_file:\nscheme. A remote attacker could possibly use this issue to bypass blocklist\nmeschanisms. (CVE-2019-9948)\n","modified":"2026-02-10T04:41:38Z","published":"2019-09-09T17:22:13Z","related":["UBUNTU-CVE-2018-20406","UBUNTU-CVE-2018-20852","UBUNTU-CVE-2019-10160","UBUNTU-CVE-2019-5010","UBUNTU-CVE-2019-9636","UBUNTU-CVE-2019-9740","UBUNTU-CVE-2019-9947","UBUNTU-CVE-2019-9948"],"upstream":["CVE-2018-20406","CVE-2018-20852","CVE-2019-10160","CVE-2019-5010","CVE-2019-9636","CVE-2019-9740","CVE-2019-9947","CVE-2019-9948","UBUNTU-CVE-2018-20406","UBUNTU-CVE-2018-20852","UBUNTU-CVE-2019-10160","UBUNTU-CVE-2019-5010","UBUNTU-CVE-2019-9636","UBUNTU-CVE-2019-9740","UBUNTU-CVE-2019-9947","UBUNTU-CVE-2019-9948"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4127-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20406"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20852"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-5010"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-9636"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-9740"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-9947"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-9948"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-10160"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.8?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.12-1ubuntu0~16.04.8"}]}],"versions":["2.7.10-4ubuntu1","2.7.10-4ubuntu2","2.7.11-2","2.7.11-3","2.7.11-4","2.7.11-6","2.7.11-7","2.7.11-7ubuntu1","2.7.12-1~16.04","2.7.12-1ubuntu0~16.04.1","2.7.12-1ubuntu0~16.04.2","2.7.12-1ubuntu0~16.04.3","2.7.12-1ubuntu0~16.04.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"idle-python2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"libpython2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"python2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"python2.7-dev"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"python2.7-examples"},{"binary_version":"2.7.12-1ubuntu0~16.04.8","binary_name":"python2.7-minimal"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4127-1.json","cves_map":{"cves":[{"id":"CVE-2018-20406","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2018-20852","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-5010","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2019-9636","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9740","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9947","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9948","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-10160","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:16.04:LTS"}}},{"package":{"name":"python3.5","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python3.5@3.5.2-2ubuntu0~16.04.8?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-2ubuntu0~16.04.8"}]}],"versions":["3.5.0-3","3.5.0-3ubuntu1","3.5.1~rc1-2ubuntu1","3.5.1-1","3.5.1-2","3.5.1-3","3.5.1-5","3.5.1-6ubuntu1","3.5.1-6ubuntu2","3.5.1-9ubuntu1","3.5.1-10","3.5.2-2~16.01","3.5.2-2~16.04","3.5.2-2ubuntu0~16.04.1","3.5.2-2ubuntu0~16.04.2","3.5.2-2ubuntu0~16.04.3","3.5.2-2ubuntu0~16.04.4","3.5.2-2ubuntu0~16.04.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"idle-python3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"libpython3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"libpython3.5-dev"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"libpython3.5-minimal"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"libpython3.5-stdlib"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"libpython3.5-testsuite"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"python3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"python3.5-dev"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"python3.5-examples"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"python3.5-minimal"},{"binary_version":"3.5.2-2ubuntu0~16.04.8","binary_name":"python3.5-venv"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4127-1.json","cves_map":{"cves":[{"id":"CVE-2018-20406","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2018-20852","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-5010","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2019-9636","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9740","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9947","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9948","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-10160","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:16.04:LTS"}}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.15-4ubuntu4~18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.15-4ubuntu4~18.04.1"}]}],"versions":["2.7.14-2ubuntu2","2.7.14-4","2.7.14-6","2.7.14-7","2.7.14-8","2.7.15~rc1-1","2.7.15~rc1-1ubuntu0.1","2.7.15-4ubuntu4~18.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"idle-python2.7"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"libpython2.7"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"python2.7"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"python2.7-dev"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"python2.7-examples"},{"binary_version":"2.7.15-4ubuntu4~18.04.1","binary_name":"python2.7-minimal"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4127-1.json","cves_map":{"cves":[{"id":"CVE-2018-20852","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-5010","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2019-9636","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9740","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9947","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9948","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-10160","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"python3.6","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python3.6@3.6.8-1~18.04.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.8-1~18.04.2"}]}],"versions":["3.6.3-1ubuntu1","3.6.4~rc1-1","3.6.4~rc1-2","3.6.4-1","3.6.4-2","3.6.4-3build1","3.6.4-4","3.6.5~rc1-1","3.6.5-3","3.6.6-1~18.04","3.6.7-1~18.04","3.6.8-1~18.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.6.8-1~18.04.2","binary_name":"idle-python3.6"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"libpython3.6"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"libpython3.6-dev"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"libpython3.6-minimal"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"libpython3.6-stdlib"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"libpython3.6-testsuite"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"python3.6"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"python3.6-dev"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"python3.6-examples"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"python3.6-minimal"},{"binary_version":"3.6.8-1~18.04.2","binary_name":"python3.6-venv"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4127-1.json","cves_map":{"cves":[{"id":"CVE-2018-20852","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-5010","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2019-9636","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9740","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9947","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-9948","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-10160","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"}}}],"schema_version":"1.7.3"}