CVE-2022-40897

MEDIUM

Python Packaging Authority (PyPA) setuptools <65.5.1 - DoS

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.9
EPSS 0.0051
EPSS Percentile 66.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-1333
Status published
Products (2)
pypi/setuptools 0 - 65.5.1PyPI
python/setuptools < 65.5.1
Published Dec 23, 2022
Tracked Since Feb 18, 2026