{"id":"USN-7015-5","summary":"python2.7 vulnerabilities","details":"USN-7015-1 fixed several vulnerabilities in Python. This update provides\nthe corresponding update for CVE-2024-6232 and CVE-2024-6923 for python2.7\nin Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS\nand Ubuntu 22.04 LTS.\n\nOriginal advisory details:\n\n It was discovered that the Python email module incorrectly parsed email\n addresses that contain special characters. A remote attacker could\n possibly use this issue to bypass certain protection mechanisms.\n (CVE-2023-27043)\n \n It was discovered that Python allowed excessive backtracking while parsing\n certain tarfile headers. A remote attacker could possibly use this issue\n to cause Python to consume resources, leading to a denial of service.\n (CVE-2024-6232)\n \n It was discovered that the Python email module incorrectly quoted newlines\n for email headers. A remote attacker could possibly use this issue to\n perform header injection. (CVE-2024-6923)\n \n It was discovered that the Python http.cookies module incorrectly handled\n parsing cookies that contained backslashes for quoted characters. A remote\n attacker could possibly use this issue to cause Python to consume\n resources, leading to a denial of service. (CVE-2024-7592)\n \n It was discovered that the Python zipfile module incorrectly handled\n certain malformed zip files. A remote attacker could possibly use this\n issue to cause Python to stop responding, resulting in a denial of\n service. (CVE-2024-8088)\n","modified":"2026-06-29T13:51:16.939257681Z","published":"2024-11-19T14:31:26Z","related":["UBUNTU-CVE-2024-6232","UBUNTU-CVE-2024-6923"],"upstream":["CVE-2024-6232","CVE-2024-6923","UBUNTU-CVE-2024-6232","UBUNTU-CVE-2024-6923"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7015-5"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-6232"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-6923"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python2.7?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.6+esm21"}]}],"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","2.7.6-8ubuntu0.6+esm18","2.7.6-8ubuntu0.6+esm20"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"idle-python2.7","binary_version":"2.7.6-8ubuntu0.6+esm21"},{"binary_version":"2.7.6-8ubuntu0.6+esm21","binary_name":"libpython2.7"},{"binary_version":"2.7.6-8ubuntu0.6+esm21","binary_name":"libpython2.7-minimal"},{"binary_name":"libpython2.7-stdlib","binary_version":"2.7.6-8ubuntu0.6+esm21"},{"binary_name":"libpython2.7-testsuite","binary_version":"2.7.6-8ubuntu0.6+esm21"},{"binary_name":"python2.7","binary_version":"2.7.6-8ubuntu0.6+esm21"},{"binary_name":"python2.7-examples","binary_version":"2.7.6-8ubuntu0.6+esm21"},{"binary_name":"python2.7-minimal","binary_version":"2.7.6-8ubuntu0.6+esm21"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-6232"},{"id":"CVE-2024-6923","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7015-5.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python2.7?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.12-1ubuntu0~16.04.18+esm12"}]}],"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","2.7.12-1ubuntu0~16.04.18+esm9","2.7.12-1ubuntu0~16.04.18+esm10","2.7.12-1ubuntu0~16.04.18+esm11"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm12","binary_name":"idle-python2.7"},{"binary_name":"libpython2.7","binary_version":"2.7.12-1ubuntu0~16.04.18+esm12"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm12","binary_name":"libpython2.7-minimal"},{"binary_name":"libpython2.7-stdlib","binary_version":"2.7.12-1ubuntu0~16.04.18+esm12"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm12","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm12","binary_name":"python2.7"},{"binary_version":"2.7.12-1ubuntu0~16.04.18+esm12","binary_name":"python2.7-examples"},{"binary_name":"python2.7-minimal","binary_version":"2.7.12-1ubuntu0~16.04.18+esm12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7015-5.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2024-6232","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-6923","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python2.7?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.17-1~18.04ubuntu1.13+esm7"}]}],"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","2.7.17-1~18.04ubuntu1.13+esm4","2.7.17-1~18.04ubuntu1.13+esm5","2.7.17-1~18.04ubuntu1.13+esm6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm7","binary_name":"idle-python2.7"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm7","binary_name":"libpython2.7"},{"binary_name":"libpython2.7-minimal","binary_version":"2.7.17-1~18.04ubuntu1.13+esm7"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm7","binary_name":"libpython2.7-stdlib"},{"binary_name":"libpython2.7-testsuite","binary_version":"2.7.17-1~18.04ubuntu1.13+esm7"},{"binary_name":"python2.7","binary_version":"2.7.17-1~18.04ubuntu1.13+esm7"},{"binary_name":"python2.7-examples","binary_version":"2.7.17-1~18.04ubuntu1.13+esm7"},{"binary_version":"2.7.17-1~18.04ubuntu1.13+esm7","binary_name":"python2.7-minimal"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2024-6923","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7015-5.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python2.7?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-1~20.04.5"}]}],"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","2.7.18-1~20.04.1","2.7.18-1~20.04.3","2.7.18-1~20.04.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.7.18-1~20.04.5","binary_name":"idle-python2.7"},{"binary_name":"libpython2.7","binary_version":"2.7.18-1~20.04.5"},{"binary_version":"2.7.18-1~20.04.5","binary_name":"libpython2.7-minimal"},{"binary_name":"libpython2.7-stdlib","binary_version":"2.7.18-1~20.04.5"},{"binary_version":"2.7.18-1~20.04.5","binary_name":"libpython2.7-testsuite"},{"binary_version":"2.7.18-1~20.04.5","binary_name":"python2.7"},{"binary_name":"python2.7-examples","binary_version":"2.7.18-1~20.04.5"},{"binary_name":"python2.7-minimal","binary_version":"2.7.18-1~20.04.5"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2024-6232","severity":[{"type":"CVSS_V3","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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2024-6923","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7015-5.json"}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python2.7?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-13ubuntu1.3"}]}],"versions":["2.7.18-8build1","2.7.18-13","2.7.18-13ubuntu1","2.7.18-13ubuntu1.1","2.7.18-13ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"idle-python2.7","binary_version":"2.7.18-13ubuntu1.3"},{"binary_name":"libpython2.7","binary_version":"2.7.18-13ubuntu1.3"},{"binary_name":"libpython2.7-minimal","binary_version":"2.7.18-13ubuntu1.3"},{"binary_version":"2.7.18-13ubuntu1.3","binary_name":"libpython2.7-stdlib"},{"binary_name":"libpython2.7-testsuite","binary_version":"2.7.18-13ubuntu1.3"},{"binary_name":"python2.7","binary_version":"2.7.18-13ubuntu1.3"},{"binary_name":"python2.7-examples","binary_version":"2.7.18-13ubuntu1.3"},{"binary_name":"python2.7-minimal","binary_version":"2.7.18-13ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7015-5.json","cves_map":{"cves":[{"id":"CVE-2024-6232","severity":[{"type":"CVSS_V3","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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2024-6923"}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.5"}