USN-6513-2: Python vulnerability

Published Nov 27, 2023
·
Updated

USN-6513-1 fixed vulnerabilities in Python. This update provides the corresponding updates for Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.04. Original advisory details: It was discovered that Python incorrectly handled certain plist files. If a user or an automated system were tricked into processing a specially crafted plist file, an attacker could possibly use this issue to consume resources, resulting in a denial of service. (CVE-2022-48564) It was discovered that Python instances of ssl.SSLSocket were vulnerable to a bypass of the TLS handshake. An attacker could possibly use this issue to cause applications to treat unauthenticated received data before TLS handshake as authenticated data after TLS handshake. (CVE-2023-40217)

Affected Software

6 affected componentsFixes available
All of the following
ubuntu/python3.11<3.11.4-1~23.04.1
3.11.4-1~23.04.1
Ubuntu Ubuntu=23.04
All of the following
ubuntu/python3.10<3.10.12-1~22.04.3
3.10.12-1~22.04.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python3.8<3.8.10-0ubuntu1~20.04.9
3.8.10-0ubuntu1~20.04.9
Ubuntu Ubuntu=20.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/python3.11 to a version that resolves this vulnerability.

    Fixed in 3.11.4-1~23.04.1
  2. Upgrade

    Upgrade ubuntu/python3.10 to a version that resolves this vulnerability.

    Fixed in 3.10.12-1~22.04.3
  3. Upgrade

    Upgrade ubuntu/python3.8 to a version that resolves this vulnerability.

    Fixed in 3.8.10-0ubuntu1~20.04.9
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch USN-6513-1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch USN-6513-2

Event History

Nov 27, 2023
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is USN-6513-2?

USN-6513-2 is a security advisory for a Python vulnerability in Ubuntu.

2

What is the severity of USN-6513-2?

The severity of USN-6513-2 is not specified in the given information.

3

Which versions of Ubuntu are affected by USN-6513-2?

Ubuntu 23.04, Ubuntu 22.04 LTS, and Ubuntu 20.04 LTS are affected by USN-6513-2.

4

How can I fix USN-6513-2?

To fix USN-6513-2, update Python to the specified versions: Python 3.11.4-1~23.04.1 for Ubuntu 23.04, Python 3.10.12-1~22.04.3 for Ubuntu 22.04 LTS, and Python 3.8.10-0ubuntu1~20.04.9 for Ubuntu 20.04 LTS.

5

Where can I find more information about USN-6513-2?

You can find more information about USN-6513-2 at the following references: [CVE-2023-40217](https://ubuntu.com/security/CVE-2023-40217), [USN-6513-1](https://ubuntu.com/security/notices/USN-6513-1), [Python 3.11.4-1~23.04.1](https://launchpad.net/ubuntu/+source/python3.11/3.11.4-1~23.04.1).

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