ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-40897

Details

Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-pip
All versions before 1.5.4-1ubuntu4+esm2 (fixed in 1.5.4-1ubuntu4+esm2)
Ubuntu:Pro:14.04:LTSpython-setuptools
All versions before 3.3-1ubuntu2+esm1 (fixed in 3.3-1ubuntu2+esm1)
Ubuntu:Pro:16.04:LTSpython-setuptools
All versions before 20.7.0-1ubuntu0.1~esm1 (fixed in 20.7.0-1ubuntu0.1~esm1)
Ubuntu:Pro:16.04:LTSpython-pip
All versions before 8.1.1-2ubuntu0.6+esm3 (fixed in 8.1.1-2ubuntu0.6+esm3)
Ubuntu:18.04:LTSpython-pip
All versions before 9.0.1-2.3~ubuntu1.18.04.6 (fixed in 9.0.1-2.3~ubuntu1.18.04.6)
Ubuntu:18.04:LTSpython-setuptools
All versions before 39.0.1-2ubuntu0.1 (fixed in 39.0.1-2ubuntu0.1)
Ubuntu:20.04:LTSpython-pip
All versions before 20.0.2-5ubuntu1.7 (fixed in 20.0.2-5ubuntu1.7)
Ubuntu:20.04:LTSpython-setuptools
All versions before 44.0.0-2ubuntu0.1 (fixed in 44.0.0-2ubuntu0.1)
Ubuntu:20.04:LTSsetuptools
All versions before 45.2.0-1ubuntu0.1 (fixed in 45.2.0-1ubuntu0.1)
Ubuntu:22.04:LTSpython-pip
All versions before 22.0.2+dfsg-1ubuntu0.1 (fixed in 22.0.2+dfsg-1ubuntu0.1)
Ubuntu:22.04:LTSpython-setuptools
All versions before 44.1.1-1.2ubuntu0.22.04.1 (fixed in 44.1.1-1.2ubuntu0.22.04.1)
Ubuntu:22.04:LTSsetuptools
All versions before 59.6.0-1.2ubuntu0.22.04.1 (fixed in 59.6.0-1.2ubuntu0.22.04.1)

References