{"id":"USN-6513-1","summary":"python2.7, python3.5, python3.6 vulnerabilities","details":"It was discovered that Python incorrectly handled certain plist files.\nIf a user or an automated system were tricked into processing a specially\ncrafted plist file, an attacker could possibly use this issue to consume\nresources, resulting in a denial of service. (CVE-2022-48564)\n\nIt was discovered that Python instances of ssl.SSLSocket were vulnerable\nto a bypass of the TLS handshake. An attacker could possibly use this\nissue to cause applications to treat unauthenticated received data before\nTLS handshake as authenticated data after TLS handshake. (CVE-2023-40217)\n","modified":"2026-02-10T04:43:26Z","published":"2023-11-23T21:29:47Z","related":["UBUNTU-CVE-2022-48564","UBUNTU-CVE-2023-40217"],"upstream":["CVE-2022-48564","CVE-2023-40217","UBUNTU-CVE-2022-48564","UBUNTU-CVE-2023-40217"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6513-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-48564"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-40217"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.6+esm18?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.6+esm18"}]}],"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","2.7.6-8ubuntu0.5","2.7.6-8ubuntu0.6+esm2","2.7.6-8ubuntu0.6+esm3","2.7.6-8ubuntu0.6+esm5","2.7.6-8ubuntu0.6+esm6","2.7.6-8ubuntu0.6+esm7","2.7.6-8ubuntu0.6+esm8","2.7.6-8ubuntu0.6+esm9","2.7.6-8ubuntu0.6+esm10","2.7.6-8ubuntu0.6+esm11","2.7.6-8ubuntu0.6+esm12","2.7.6-8ubuntu0.6+esm13","2.7.6-8ubuntu0.6+esm14","2.7.6-8ubuntu0.6+esm15","2.7.6-8ubuntu0.6+esm16","2.7.6-8ubuntu0.6+esm17"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"idle-python2.7"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"libpython2.7"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"python2.7"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"python2.7-dev"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"python2.7-examples"},{"binary_version":"2.7.6-8ubuntu0.6+esm18","binary_name":"python2.7-minimal"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-48564"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-40217"}],"ecosystem":"Ubuntu:Pro:14.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6513-1.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.18+esm9?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.12-1ubuntu0~16.04.18+esm9"}]}],"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","2.7.12-1ubuntu0~16.04.8","2.7.12-1ubuntu0~16.04.9","2.7.12-1ubuntu0~16.04.11","2.7.12-1ubuntu0~16.04.12","2.7.12-1ubuntu0~16.04.13","2.7.12-1ubuntu0~16.04.14","2.7.12-1ubuntu0~16.04.16","2.7.12-1ubuntu0~16.04.18","2.7.12-1ubuntu0~16.04.18+esm1","2.7.12-1ubuntu0~16.04.18+esm2","2.7.12-1ubuntu0~16.04.18+esm3","2.7.12-1ubuntu0~16.04.18+esm4","2.7.12-1ubuntu0~16.04.18+esm5","2.7.12-1ubuntu0~16.04.18+esm6","2.7.12-1ubuntu0~16.04.18+esm7","2.7.12-1ubuntu0~16.04.18+esm8"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"idle-python2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"libpython2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"python2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"python2.7-dev"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"python2.7-examples"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm9","binary_name":"python2.7-minimal"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-48564"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-40217"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6513-1.json"}},{"package":{"name":"python3.5","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python3.5@3.5.2-2ubuntu0~16.04.13+esm12?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-2ubuntu0~16.04.13+esm12"}]}],"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","3.5.2-2ubuntu0~16.04.8","3.5.2-2ubuntu0~16.04.9","3.5.2-2ubuntu0~16.04.10","3.5.2-2ubuntu0~16.04.11","3.5.2-2ubuntu0~16.04.12","3.5.2-2ubuntu0~16.04.13","3.5.2-2ubuntu0~16.04.13+esm1","3.5.2-2ubuntu0~16.04.13+esm2","3.5.2-2ubuntu0~16.04.13+esm3","3.5.2-2ubuntu0~16.04.13+esm5","3.5.2-2ubuntu0~16.04.13+esm6","3.5.2-2ubuntu0~16.04.13+esm7","3.5.2-2ubuntu0~16.04.13+esm8","3.5.2-2ubuntu0~16.04.13+esm9","3.5.2-2ubuntu0~16.04.13+esm10","3.5.2-2ubuntu0~16.04.13+esm11"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"idle-python3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"libpython3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"libpython3.5-dev"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"libpython3.5-minimal"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"libpython3.5-stdlib"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"libpython3.5-testsuite"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"python3.5"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"python3.5-dev"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"python3.5-examples"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"python3.5-minimal"},{"binary_version":"3.5.2-2ubuntu0~16.04.13+esm12","binary_name":"python3.5-venv"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-48564"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-40217"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6513-1.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.17-1~18.04ubuntu1.13+esm4?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.17-1~18.04ubuntu1.13+esm4"}]}],"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","2.7.15-4ubuntu4~18.04.1","2.7.15-4ubuntu4~18.04.2","2.7.17-1~18.04","2.7.17-1~18.04ubuntu1","2.7.17-1~18.04ubuntu1.1","2.7.17-1~18.04ubuntu1.2","2.7.17-1~18.04ubuntu1.3","2.7.17-1~18.04ubuntu1.5","2.7.17-1~18.04ubuntu1.6","2.7.17-1~18.04ubuntu1.7","2.7.17-1~18.04ubuntu1.8","2.7.17-1~18.04ubuntu1.10","2.7.17-1~18.04ubuntu1.11","2.7.17-1~18.04ubuntu1.13","2.7.17-1~18.04ubuntu1.13+esm1","2.7.17-1~18.04ubuntu1.13+esm2","2.7.17-1~18.04ubuntu1.13+esm3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"idle-python2.7"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"libpython2.7"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"libpython2.7-dev"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"libpython2.7-minimal"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"libpython2.7-stdlib"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"python2.7"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"python2.7-dev"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"python2.7-examples"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm4","binary_name":"python2.7-minimal"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-48564"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-40217"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6513-1.json"}},{"package":{"name":"python3.6","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python3.6@3.6.9-1~18.04ubuntu1.13+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.9-1~18.04ubuntu1.13+esm1"}]}],"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","3.6.8-1~18.04.2","3.6.8-1~18.04.3","3.6.9-1~18.04","3.6.9-1~18.04ubuntu1","3.6.9-1~18.04ubuntu1.1","3.6.9-1~18.04ubuntu1.3","3.6.9-1~18.04ubuntu1.4","3.6.9-1~18.04ubuntu1.6","3.6.9-1~18.04ubuntu1.7","3.6.9-1~18.04ubuntu1.8","3.6.9-1~18.04ubuntu1.9","3.6.9-1~18.04ubuntu1.10","3.6.9-1~18.04ubuntu1.12","3.6.9-1~18.04ubuntu1.13"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"idle-python3.6"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"libpython3.6"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"libpython3.6-dev"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"libpython3.6-minimal"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"libpython3.6-stdlib"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"libpython3.6-testsuite"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"python3.6"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"python3.6-dev"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"python3.6-examples"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"python3.6-minimal"},{"binary_version":"3.6.9-1~18.04ubuntu1.13+esm1","binary_name":"python3.6-venv"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-48564"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2023-40217"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6513-1.json"}}],"schema_version":"1.7.3"}