PyPA setuptools up to 65.3.0 HTML Package Handler/PackageIndex Page resource consumption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.83 |
Summary
A vulnerability was found in PyPA setuptools up to 65.3.0. It has been rated as problematic. This affects an unknown part of the component HTML Package Handler/PackageIndex Page. This manipulation causes resource consumption. The identification of this vulnerability is CVE-2022-40897. It is possible to initiate the attack remotely. There is no exploit available.
Details
A vulnerability classified as problematic was found in PyPA setuptools up to 65.3.0. Affected by this vulnerability is an unknown function of the component HTML Package Handler/PackageIndex Page. The manipulation with an unknown input leads to a resource consumption vulnerability. The CWE definition for the vulnerability is CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. As an impact it is known to affect availability. The summary by CVE is:
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.
The weakness was shared 12/23/2022. It is possible to read the advisory at pyup.io. This vulnerability is known as CVE-2022-40897 since 09/19/2022. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1499 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 210487 (RHEL 8 : python39:3.9 (RHSA-2024:6915)), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (210487). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/pypa/setuptools/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.9
NVD Vector: 🔍
CNA Base Score: 5.9
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Resource consumptionCWE: CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 210487
Nessus Name: RHEL 8 : python39:3.9 (RHSA-2024:6915)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
09/19/2022 🔍12/23/2022 🔍
12/23/2022 🔍
11/05/2025 🔍
Sources
Product: github.comAdvisory: 43a9c9bfa6aa626ec2a22540bea28d2ca77964be
Status: Confirmed
CVE: CVE-2022-40897 (🔍)
GCVE (CVE): GCVE-0-2022-40897
GCVE (VulDB): GCVE-100-216559
Entry
Created: 12/23/2022 07:43Updated: 11/05/2025 13:49
Changes: 12/23/2022 07:43 (38), 01/22/2023 14:43 (2), 01/22/2023 14:46 (11), 10/29/2024 16:50 (32), 11/08/2024 01:13 (3), 11/05/2025 13:49 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.