CVE-2022-40897

Published: Dic 23, 2022 Last Modified: Nov 04, 2025 EU-VD ID: EUVD-2022-0278 Aliases: PYSEC-2022-43012
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 5,9
Attack Vector: network
Attack Complexity: high
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: none
Integrity: none
Availability: high

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0052
Percentile
0,7th
Updated

EPSS Score Trend (Last 90 Days)

1333

Inefficient Regular Expression Complexity

Draft
Common Consequences
Security Scopes Affected:
Availability
Potential Impacts:
Dos: Resource Consumption (Cpu)
Applicable Platforms
All platforms may be affected
View CWE Details
Application

Setuptools by Python

Version Range Affected
To 65.5.1 (exclusive)
cpe:2.3:a:python:setuptools:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5…
https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca7796…
https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1
https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packag…
https://pyup.io/vulnerabilities/CVE-2022-40897/52495/
https://security.netapp.com/advisory/ntap-20230214-0001/
https://security.netapp.com/advisory/ntap-20240621-0006/
https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5…
https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca7796…
https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packag…
https://pyup.io/vulnerabilities/CVE-2022-40897/52495/
https://security.netapp.com/advisory/ntap-20230214-0001/
https://security.netapp.com/advisory/ntap-20240621-0006/