Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

CVE-2022-40897

Public on 2022-12-23
Modified on 2024-02-12
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.

Severity
Medium
See what this means
CVSS v3 Base Score
5.9
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Core python-setuptools 2023-08-03 18:10 ALAS2-2023-2196
Amazon Linux 2023 python-setuptools 2023-07-05 20:13 ALAS2023-2023-245
Amazon Linux 2 - Core python2-setuptools 2023-03-02 22:35 ALAS2-2023-1979
Amazon Linux 2 - Python3.8 Extra python38-setuptools 2023-08-21 21:00 ALAS2PYTHON3.8-2023-003

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSSv3 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H