USN-7015-5: Python vulnerabilities

Published 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 Software

20 affected componentsFixes available
All of the following
ubuntu/python2.7<2.7.18-13ubuntu1.3
2.7.18-13ubuntu1.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python2.7-minimal<2.7.18-13ubuntu1.3
2.7.18-13ubuntu1.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python2.7<2.7.18-1~20.04.5
2.7.18-1~20.04.5
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python2.7-minimal<2.7.18-1~20.04.5
2.7.18-1~20.04.5
Ubuntu Ubuntu=20.04
All of the following
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 the following
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 the following
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 the following
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 the following
ubuntu/python2.7<2.7.6-8ubuntu0.6+esm21
2.7.6-8ubuntu0.6+esm21
Ubuntu Ubuntu=14.04
All of the following
ubuntu/python2.7-minimal<2.7.6-8ubuntu0.6+esm21
2.7.6-8ubuntu0.6+esm21
Ubuntu Ubuntu=14.04

Event History

Nov 19, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What vulnerabilities are addressed in USN-7015-5?

USN-7015-5 addresses vulnerabilities CVE-2024-6232 and CVE-2024-6923 in Python 2.7.

2

Which versions of Ubuntu are affected by USN-7015-5?

USN-7015-5 affects Ubuntu 14.04 LTS, 16.04 LTS, 18.04 LTS, 20.04 LTS, and 22.04 LTS.

3

What is the recommended remedy for USN-7015-5?

The recommended remedy for USN-7015-5 is to update Python 2.7 to the fixed versions specified in the advisory.

4

What should I do if I am using Python 2.7 on Ubuntu?

If you are using Python 2.7 on Ubuntu, you should update to the latest patched version to protect against the vulnerabilities in USN-7015-5.

5

Is Python 2.7 still supported with security updates in USN-7015-5?

Yes, Python 2.7 continues to receive security updates as indicated by USN-7015-5.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203