USN-7015-3: Python vulnerability

Published Oct 1, 2024
·
Updated

USN-7015-1 fixed several vulnerabilities in Python. This update provides the corresponding updates for CVE-2023-27043 for python2.7 in Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS, and for python3.5 in Ubuntu 16.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.2+esm3
2.7.18-13ubuntu1.2+esm3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python2.7-minimal<2.7.18-13ubuntu1.2+esm3
2.7.18-13ubuntu1.2+esm3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python2.7<2.7.18-1~20.04.4+esm3
2.7.18-1~20.04.4+esm3
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python2.7-minimal<2.7.18-1~20.04.4+esm3
2.7.18-1~20.04.4+esm3
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python2.7<2.7.17-1~18.04ubuntu1.13+esm6
2.7.17-1~18.04ubuntu1.13+esm6
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python2.7-minimal<2.7.17-1~18.04ubuntu1.13+esm6
2.7.17-1~18.04ubuntu1.13+esm6
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python2.7<2.7.12-1ubuntu0~16.04.18+esm11
2.7.12-1ubuntu0~16.04.18+esm11
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python2.7-minimal<2.7.12-1ubuntu0~16.04.18+esm11
2.7.12-1ubuntu0~16.04.18+esm11
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3.5<3.5.2-2ubuntu0~16.04.13+esm15
3.5.2-2ubuntu0~16.04.13+esm15
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3.5-minimal<3.5.2-2ubuntu0~16.04.13+esm15
3.5.2-2ubuntu0~16.04.13+esm15
Ubuntu Ubuntu=16.04

Event History

Oct 1, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-7015-3?

The severity of USN-7015-3 is considered high due to its impact on multiple supported Ubuntu releases.

2

How do I fix USN-7015-3?

To fix USN-7015-3, update Python packages to the patched versions provided in the advisory for your Ubuntu version.

3

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

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

4

What vulnerabilities does USN-7015-3 address?

USN-7015-3 addresses Python vulnerabilities including CVE-2023-27043.

5

Is USN-7015-3 applicable to both Python 2.7 and Python 3.5?

Yes, USN-7015-3 applies to both Python 2.7 and Python 3.5 as specified in the advisory.

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