USN-7218-1: Python vulnerability

Publication date

20 January 2025

Overview

Python could allow Server-Side Request Forgery attacks.


Packages

  • 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 bracketed hosts.
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 bracketed hosts.
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:

Ubuntu Release Package Version
22.04 jammy python3.10 –  3.10.12-1~22.04.8
python3.10-minimal –  3.10.12-1~22.04.8
20.04 focal python3.8 –  3.8.10-0ubuntu1~20.04.14
python3.8-minimal –  3.8.10-0ubuntu1~20.04.14

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 ›