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 severity
Medium
CVSS v3 Base Score
5.9
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 python-setuptools Pending Fix
Amazon Linux 2 - Core python-setuptools 2023-08-03 ALAS2-2023-2196 Fixed
Amazon Linux 2023 python-setuptools 2023-07-05 ALAS2023-2023-245 Fixed
Amazon Linux 2 - Core python2-setuptools 2023-03-02 ALAS2-2023-1979 Fixed
Amazon Linux 2 - Python3.8 Extra python38-setuptools 2023-08-21 ALAS2PYTHON3.8-2023-003 Fixed

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