[USN-7280-1] Python vulnerability

Marc Deslauriers marc.deslauriers at canonical.com
Thu Feb 20 22:37:02 UTC 2025


==========================================================================
Ubuntu Security Notice USN-7280-1
February 20, 2025

python3.10, python3.12, python3.8 vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS

Summary:

Python could allow Server-Side Request Forgery attacks.

Software Description:
- python3.12: An interactive high-level object-oriented language
- python3.10: An interactive high-level object-oriented language
- python3.8: An interactive high-level object-oriented language

Details:

It was discovered that Python incorrectly handled parsing domain names that
included square brackets. A remote attacker could possibly use this issue
to perform a Server-Side Request Forgery (SSRF) attack.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.10
   python3.12                      3.12.7-1ubuntu2
   python3.12-minimal              3.12.7-1ubuntu2

Ubuntu 24.04 LTS
   python3.12                      3.12.3-1ubuntu0.5
   python3.12-minimal              3.12.3-1ubuntu0.5

Ubuntu 22.04 LTS
   python3.10                      3.10.12-1~22.04.9
   python3.10-minimal              3.10.12-1~22.04.9

Ubuntu 20.04 LTS
   python3.8                       3.8.10-0ubuntu1~20.04.15
   python3.8-minimal               3.8.10-0ubuntu1~20.04.15

In general, a standard system update will make all the necessary changes.

References:
   https://ubuntu.com/security/notices/USN-7280-1
   CVE-2025-0938

Package Information:
   https://launchpad.net/ubuntu/+source/python3.12/3.12.7-1ubuntu2
   https://launchpad.net/ubuntu/+source/python3.12/3.12.3-1ubuntu0.5
   https://launchpad.net/ubuntu/+source/python3.10/3.10.12-1~22.04.9
   https://launchpad.net/ubuntu/+source/python3.8/3.8.10-0ubuntu1~20.04.15

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20250220/415693fb/attachment.sig>


More information about the ubuntu-security-announce mailing list