USN-7544-1: Setuptools vulnerability

Publication date

28 May 2025

Overview

Setuptools could be made to write files to arbitrary locations on the filesystem.


Packages

Details

It was discovered that setuptools did not properly sanitize paths. An
attacker could possibly use this issue to write files to arbitrary
locations on the filesystem.

It was discovered that setuptools did not properly sanitize paths. An
attacker could possibly use this issue to write files to arbitrary
locations on the filesystem.

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
25.04 plucky python3-setuptools –  75.8.0-1ubuntu1
24.10 oracular python3-setuptools –  74.1.2-1ubuntu0.1
24.04 LTS noble python3-setuptools –  68.1.2-2ubuntu1.2
22.04 LTS jammy pypy-setuptools –  44.1.1-1.2ubuntu0.22.04.1+esm2  
python-setuptools –  44.1.1-1.2ubuntu0.22.04.1+esm2  
python3-setuptools –  59.6.0-1.2ubuntu0.22.04.3
20.04 LTS focal pypy-setuptools –  44.0.0-2ubuntu0.1+esm2  
python-setuptools –  44.0.0-2ubuntu0.1+esm2  
python3-setuptools –  45.2.0-1ubuntu0.3
18.04 LTS bionic pypy-setuptools –  39.0.1-2ubuntu0.1+esm2  
python-setuptools –  39.0.1-2ubuntu0.1+esm2  
python3-setuptools –  39.0.1-2ubuntu0.1+esm2  
16.04 LTS xenial pypy-setuptools –  20.7.0-1ubuntu0.1~esm3  
python-setuptools –  20.7.0-1ubuntu0.1~esm3  
python3-setuptools –  20.7.0-1ubuntu0.1~esm3  
14.04 LTS trusty python-setuptools –  3.3-1ubuntu2+esm3  
python3-setuptools –  3.3-1ubuntu2+esm3  

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 ›