ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-47273

Details

setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in PackageIndex is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-pip
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython-setuptools
All versions before 3.3-1ubuntu2+esm3 (fixed in 3.3-1ubuntu2+esm3)
Ubuntu:Pro:16.04:LTSpython-setuptools
All versions before 20.7.0-1ubuntu0.1~esm3 (fixed in 20.7.0-1ubuntu0.1~esm3)
Ubuntu:Pro:16.04:LTSpython-pip
All versions before 8.1.1-2ubuntu0.6+esm12 (fixed in 8.1.1-2ubuntu0.6+esm12)
Ubuntu:Pro:18.04:LTSpython-setuptools
All versions before 39.0.1-2ubuntu0.1+esm2 (fixed in 39.0.1-2ubuntu0.1+esm2)
Ubuntu:Pro:18.04:LTSpython-pip
All versions before 9.0.1-2.3~ubuntu1.18.04.8+esm8 (fixed in 9.0.1-2.3~ubuntu1.18.04.8+esm8)
Ubuntu:20.04:LTSsetuptools
All versions before 45.2.0-1ubuntu0.3 (fixed in 45.2.0-1ubuntu0.3)
Ubuntu:22.04:LTSsetuptools
All versions before 59.6.0-1.2ubuntu0.22.04.3 (fixed in 59.6.0-1.2ubuntu0.22.04.3)
Ubuntu:Pro:22.04:LTSpython-setuptools
All versions before 44.1.1-1.2ubuntu0.22.04.1+esm2 (fixed in 44.1.1-1.2ubuntu0.22.04.1+esm2)
Ubuntu:24.04:LTSsetuptools
All versions before 68.1.2-2ubuntu1.2 (fixed in 68.1.2-2ubuntu1.2)

References