Advisory Published

USN-7015-5: Python vulnerabilities

First published: Tue Nov 19 2024(Updated: )

USN-7015-1 fixed several vulnerabilities in Python. This update provides the corresponding update for CVE-2024-6232 and CVE-2024-6923 for python2.7 in Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. Original advisory details: It was discovered that the Python email module incorrectly parsed email addresses that contain special characters. A remote attacker could possibly use this issue to bypass certain protection mechanisms. (CVE-2023-27043) It was discovered that Python allowed excessive backtracking while parsing certain tarfile headers. A remote attacker could possibly use this issue to cause Python to consume resources, leading to a denial of service. (CVE-2024-6232) It was discovered that the Python email module incorrectly quoted newlines for email headers. A remote attacker could possibly use this issue to perform header injection. (CVE-2024-6923) It was discovered that the Python http.cookies module incorrectly handled parsing cookies that contained backslashes for quoted characters. A remote attacker could possibly use this issue to cause Python to consume resources, leading to a denial of service. (CVE-2024-7592) It was discovered that the Python zipfile module incorrectly handled certain malformed zip files. A remote attacker could possibly use this issue to cause Python to stop responding, resulting in a denial of service. (CVE-2024-8088)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/python2.7<2.7.18-13ubuntu1.3
2.7.18-13ubuntu1.3
Ubuntu Ubuntu=22.04
All of
ubuntu/python2.7-minimal<2.7.18-13ubuntu1.3
2.7.18-13ubuntu1.3
Ubuntu Ubuntu=22.04
All of
ubuntu/python2.7<2.7.18-1~20.04.5
2.7.18-1~20.04.5
Ubuntu Ubuntu=20.04
All of
ubuntu/python2.7-minimal<2.7.18-1~20.04.5
2.7.18-1~20.04.5
Ubuntu Ubuntu=20.04
All of
ubuntu/python2.7<2.7.17-1~18.04ubuntu1.13+esm7
2.7.17-1~18.04ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of
ubuntu/python2.7-minimal<2.7.17-1~18.04ubuntu1.13+esm7
2.7.17-1~18.04ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of
ubuntu/python2.7<2.7.12-1ubuntu0~16.04.18+esm12
2.7.12-1ubuntu0~16.04.18+esm12
Ubuntu Ubuntu=16.04
All of
ubuntu/python2.7-minimal<2.7.12-1ubuntu0~16.04.18+esm12
2.7.12-1ubuntu0~16.04.18+esm12
Ubuntu Ubuntu=16.04
All of
ubuntu/python2.7<2.7.6-8ubuntu0.6+esm21
2.7.6-8ubuntu0.6+esm21
Ubuntu Ubuntu=14.04
All of
ubuntu/python2.7-minimal<2.7.6-8ubuntu0.6+esm21
2.7.6-8ubuntu0.6+esm21
Ubuntu Ubuntu=14.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203