{"id":"USN-4754-3","summary":"python2.7, python3.7, python3.8 vulnerabilities","details":"USN-4754-1 fixed vulnerabilities in Python. This update provides\nthe corresponding updates for Ubuntu 18.04 and Ubuntu 20.04.\n\nIn the case of Python 2.7 for 20.04, these additional fixes are included:\n\nIt was dicovered that Python allowed remote attackers to cause a denial of\nservice (resource consumption) via a ZIP bomb. (CVE-2019-9674)\n\nIt was discovered that Python had potentially misleading information about\nwhether sorting occurs. This fix updates the documentation about it.\n(CVE-2019-17514)\n\nIt was discovered that Python incorrectly handled certain TAR archives.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2019-20907)\n\nIt was discovered that Python allowed an HTTP server to conduct Regular\nExpression Denial of Service (ReDoS) attacks against a client because of\nurllib.request.AbstractBasicAuthHandler catastrophic backtracking.\n(CVE-2020-8492)\n\nIt was discovered that Python allowed CRLF injection if the attacker controls\nthe HTTP request method, as demonstrated by inserting CR and LF control\ncharacters in the first argument of HTTPConnection.request. (CVE-2020-26116)\n\nOriginal advisory details:\n\n It was discovered that Python incorrectly handled certain inputs.\n An attacker could possibly use this issue to execute arbitrary code\n or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)\n","modified":"2026-02-10T04:42:05Z","published":"2021-03-12T14:07:56Z","related":["UBUNTU-CVE-2019-17514","UBUNTU-CVE-2019-20907","UBUNTU-CVE-2019-9674","UBUNTU-CVE-2020-26116","UBUNTU-CVE-2020-27619","UBUNTU-CVE-2020-8492","UBUNTU-CVE-2021-3177"],"upstream":["CVE-2019-17514","CVE-2019-20907","CVE-2019-9674","CVE-2020-26116","CVE-2020-27619","CVE-2020-8492","CVE-2021-3177","UBUNTU-CVE-2019-17514","UBUNTU-CVE-2019-20907","UBUNTU-CVE-2019-9674","UBUNTU-CVE-2020-26116","UBUNTU-CVE-2020-27619","UBUNTU-CVE-2020-8492","UBUNTU-CVE-2021-3177"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4754-3"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-9674"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-17514"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-20907"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-8492"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-26116"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-27619"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3177"}],"affected":[{"package":{"name":"python3.7","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python3.7@3.7.5-2~18.04.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.5-2~18.04.4"}]}],"versions":["3.7.0~a2-1","3.7.0~a3-1","3.7.0~a3-2","3.7.0~a3-3","3.7.0~a4-1","3.7.0~b1-1","3.7.0~b1-1build1","3.7.0~b2-1","3.7.0~b3-1","3.7.0-1~18.04","3.7.1-1~18.04","3.7.3-2~18.04.1","3.7.5-2~18.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"idle-python3.7","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"libpython3.7","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"libpython3.7-dev","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"libpython3.7-minimal","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"libpython3.7-stdlib","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"libpython3.7-testsuite","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"python3.7","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"python3.7-dev","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"python3.7-examples","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"python3.7-minimal","binary_version":"3.7.5-2~18.04.4"},{"binary_name":"python3.7-venv","binary_version":"3.7.5-2~18.04.4"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2020-27619","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":"low","type":"Ubuntu"}]},{"id":"CVE-2021-3177","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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-3.json"}},{"package":{"name":"python3.8","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python3.8@3.8.0-3~18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.0-3~18.04.1"}]}],"versions":["3.8.0-3~18.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"idle-python3.8","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"libpython3.8","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"libpython3.8-dev","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"libpython3.8-minimal","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"libpython3.8-stdlib","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"libpython3.8-testsuite","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"python3.8","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"python3.8-dev","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"python3.8-examples","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"python3.8-minimal","binary_version":"3.8.0-3~18.04.1"},{"binary_name":"python3.8-venv","binary_version":"3.8.0-3~18.04.1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2020-27619","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":"low","type":"Ubuntu"}]},{"id":"CVE-2021-3177","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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-3.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.18-1~20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-1~20.04.1"}]}],"versions":["2.7.17~rc1-1","2.7.17-1","2.7.17-1ubuntu5","2.7.17-1ubuntu6","2.7.18~rc1-2","2.7.18-1~20.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"idle-python2.7","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"libpython2.7","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"libpython2.7-dev","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"libpython2.7-minimal","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"libpython2.7-stdlib","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"libpython2.7-testsuite","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"python2.7","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"python2.7-dev","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"python2.7-examples","binary_version":"2.7.18-1~20.04.1"},{"binary_name":"python2.7-minimal","binary_version":"2.7.18-1~20.04.1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2019-9674","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":"negligible","type":"Ubuntu"}]},{"id":"CVE-2019-17514","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"negligible","type":"Ubuntu"}]},{"id":"CVE-2019-20907","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":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-8492","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-3177","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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4754-3.json"}}],"schema_version":"1.7.3"}