{"id":"USN-3817-1","summary":"python2.7, python3.4, python3.5 vulnerabilities","details":"It was discovered that Python incorrectly handled large amounts of data. A\nremote attacker could use this issue to cause Python to crash, resulting in\na denial of service, or possibly execute arbitrary code. This issue only\naffected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2018-1000030)\n\nIt was discovered that Python incorrectly handled running external commands\nin the shutil module. A remote attacker could use this issue to cause\nPython to crash, resulting in a denial of service, or possibly execute\narbitrary code. (CVE-2018-1000802)\n\nIt was discovered that Python incorrectly used regular expressions\nvulnerable to catastrophic backtracking. A remote attacker could possibly\nuse this issue to cause a denial of service. This issue only affected\nUbuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2018-1060, CVE-2018-1061)\n\nIt was discovered that Python failed to initialize Expat's hash salt. A\nremote attacker could possibly use this issue to cause hash collisions,\nleading to a denial of service. (CVE-2018-14647)\n","modified":"2026-02-10T04:41:26Z","published":"2018-11-13T15:40:04Z","related":["UBUNTU-CVE-2018-1000030","UBUNTU-CVE-2018-1000802","UBUNTU-CVE-2018-1060","UBUNTU-CVE-2018-1061","UBUNTU-CVE-2018-14647"],"upstream":["CVE-2018-1000030","CVE-2018-1000802","CVE-2018-1060","CVE-2018-1061","CVE-2018-14647","UBUNTU-CVE-2018-1000030","UBUNTU-CVE-2018-1000802","UBUNTU-CVE-2018-1060","UBUNTU-CVE-2018-1061","UBUNTU-CVE-2018-14647"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3817-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1060"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1061"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-14647"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1000030"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1000802"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.5?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.5"}]}],"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","2.7.6-8ubuntu0.3","2.7.6-8ubuntu0.4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"idle-python2.7"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"libpython2.7"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"python2.7"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"python2.7-dev"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"python2.7-examples"},{"binary_version":"2.7.6-8ubuntu0.5","binary_name":"python2.7-minimal"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:14.04:LTS","cves":[{"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:L/PR:N/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"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-1060"},{"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":"CVSS:3.0/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-2018-1061"},{"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:L/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/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-2018-14647"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}],"id":"CVE-2018-1000030"},{"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":"medium","type":"Ubuntu"}],"id":"CVE-2018-1000802"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3817-1.json"}},{"package":{"name":"python3.4","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python3.4@3.4.3-1ubuntu1~14.04.7?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.3-1ubuntu1~14.04.7"}]}],"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","3.4.3-1ubuntu1~14.04.5","3.4.3-1ubuntu1~14.04.6"],"ecosystem_specific":{"binaries":[{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"idle-python3.4"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"libpython3.4"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"libpython3.4-dev"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"libpython3.4-minimal"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"libpython3.4-stdlib"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"libpython3.4-testsuite"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"python3.4"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"python3.4-dev"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"python3.4-examples"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"python3.4-minimal"},{"binary_version":"3.4.3-1ubuntu1~14.04.7","binary_name":"python3.4-venv"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:14.04:LTS","cves":[{"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:L/PR:N/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"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-1060"},{"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":"CVSS:3.0/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-2018-1061"},{"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:L/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/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-2018-14647"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}],"id":"CVE-2018-1000030"},{"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":"medium","type":"Ubuntu"}],"id":"CVE-2018-1000802"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3817-1.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.12-1ubuntu0~16.04.4"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"idle-python2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"libpython2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"python2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"python2.7-dev"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"python2.7-examples"},{"binary_version":"2.7.12-1ubuntu0~16.04.4","binary_name":"python2.7-minimal"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"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:L/PR:N/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"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-1060"},{"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":"CVSS:3.0/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-2018-1061"},{"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:L/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/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-2018-14647"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}],"id":"CVE-2018-1000030"},{"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":"medium","type":"Ubuntu"}],"id":"CVE-2018-1000802"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3817-1.json"}},{"package":{"name":"python3.5","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python3.5@3.5.2-2ubuntu0~16.04.5?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-2ubuntu0~16.04.5"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"idle-python3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"libpython3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"libpython3.5-dev"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"libpython3.5-minimal"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"libpython3.5-stdlib"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"libpython3.5-testsuite"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"python3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"python3.5-dev"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"python3.5-examples"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"python3.5-minimal"},{"binary_version":"3.5.2-2ubuntu0~16.04.5","binary_name":"python3.5-venv"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"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:L/PR:N/UI:R/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"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-1060"},{"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":"CVSS:3.0/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-2018-1061"},{"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:L/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/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-2018-14647"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}],"id":"CVE-2018-1000030"},{"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":"medium","type":"Ubuntu"}],"id":"CVE-2018-1000802"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3817-1.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.15~rc1-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.15~rc1-1ubuntu0.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"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"idle-python2.7"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"libpython2.7"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"python2.7"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"python2.7-dev"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"python2.7-examples"},{"binary_version":"2.7.15~rc1-1ubuntu0.1","binary_name":"python2.7-minimal"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"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:L/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.0/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-2018-14647"},{"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":"medium","type":"Ubuntu"}],"id":"CVE-2018-1000802"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3817-1.json"}}],"schema_version":"1.7.3"}