USN-7280-1: Python vulnerability

Publication date

20 February 2025

Overview

Python could allow Server-Side Request Forgery attacks.


Packages

  • python3.10 - An interactive high-level object-oriented language
  • python3.12 - 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.

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

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

Learn more about how to get the fixes.

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


Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›