USN-6941-1: Python vulnerability

Published Aug 1, 2024
·
Updated

It was discovered that the Python ipaddress module contained incorrect information about which IP address ranges were considered “private” or “globally reachable”. This could possibly result in applications applying incorrect security policies.

Affected Software

4 affected componentsFixes available
All of the following
ubuntu/python3.12<3.12.3-1ubuntu0.1
3.12.3-1ubuntu0.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/python3.12-minimal<3.12.3-1ubuntu0.1
3.12.3-1ubuntu0.1
Ubuntu Ubuntu=24.04

Event History

Aug 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-6941-1?

The severity of USN-6941-1 is moderate due to the potential for incorrect security policies to be applied.

2

How do I fix USN-6941-1?

To fix USN-6941-1, update Python to version 3.12.3-1ubuntu0.1 on affected Ubuntu systems.

3

What is the impact of USN-6941-1 on applications?

The impact of USN-6941-1 could lead to applications misclassifying IP address ranges, potentially exposing them to security risks.

4

Which versions of Ubuntu are affected by USN-6941-1?

Ubuntu 24.04 is affected by USN-6941-1 where Python 3.12 and python3.12-minimal versions are installed prior to the fix.

5

Is there a specific IP address issue related to USN-6941-1?

Yes, USN-6941-1 addresses an issue with the Python ipaddress module misidentifying private and globally reachable IP address ranges.

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