{
  "threat_severity" : "Moderate",
  "public_date" : "2022-12-22T00:00:00Z",
  "bugzilla" : {
    "description" : "pypa-setuptools: Regular Expression Denial of Service (ReDoS) in package_index.py",
    "id" : "2158559",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2158559"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.9",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-185",
  "details" : [ "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.", "A flaw was found in Python Setuptools due to a regular expression Denial of Service (ReDoS) present in package_index.py. This issue could allow a remote attacker to cause a denial of service via HTML in a crafted package or custom PackageIndex page." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-05-22T00:00:00Z",
    "advisory" : "RHSA-2024:2985",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python39:3.9-8100020240214182535.7044f6c1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-05-22T00:00:00Z",
    "advisory" : "RHSA-2024:2985",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python39-devel:3.9-8100020240214182535.7044f6c1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-05-22T00:00:00Z",
    "advisory" : "RHSA-2024:2987",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "python27:2.7-8100020240208011952.5f0f67de"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-02-21T00:00:00Z",
    "advisory" : "RHSA-2023:0835",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "python-setuptools-0:39.2.0-6.el8_7.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
    "release_date" : "2024-09-23T00:00:00Z",
    "advisory" : "RHSA-2024:6915",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.6",
    "package" : "python39:3.9-8060020240916062113.6a631399"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support",
    "release_date" : "2023-11-21T00:00:00Z",
    "advisory" : "RHSA-2023:7395",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.6",
    "package" : "python-setuptools-0:39.2.0-7.el8_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
    "release_date" : "2024-09-23T00:00:00Z",
    "advisory" : "RHSA-2024:6915",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.6",
    "package" : "python39:3.9-8060020240916062113.6a631399"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
    "release_date" : "2024-09-23T00:00:00Z",
    "advisory" : "RHSA-2024:6915",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.6",
    "package" : "python39:3.9-8060020240916062113.6a631399"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2024-07-09T00:00:00Z",
    "advisory" : "RHSA-2024:4421",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.8",
    "package" : "python39:3.9-8080020240402104641.93c2fc2f"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2024-07-09T00:00:00Z",
    "advisory" : "RHSA-2024:4421",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.8",
    "package" : "python39-devel:3.9-8080020240402104641.93c2fc2f"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-02-28T00:00:00Z",
    "advisory" : "RHSA-2023:0952",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "python-setuptools-0:53.0.0-10.el9_1.1"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2023-11-08T00:00:00Z",
    "advisory" : "RHSA-2023:6793",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-python38-python-setuptools-0:41.6.0-8.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Ansible Automation Platform 2",
    "fix_state" : "Not affected",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "python3-setuptools",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "python3.11-setuptools",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "python3.11-setuptools",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Dev Spaces",
    "fix_state" : "Not affected",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:openshift_devspaces:3"
  }, {
    "product_name" : "Red Hat OpenStack Platform 16.1",
    "fix_state" : "Will not fix",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:openstack:16.1"
  }, {
    "product_name" : "Red Hat Quay 3",
    "fix_state" : "Affected",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:quay:3"
  }, {
    "product_name" : "Red Hat Satellite 6",
    "fix_state" : "Not affected",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:satellite:6"
  }, {
    "product_name" : "Red Hat Update Infrastructure 4 for Cloud Providers",
    "fix_state" : "Not affected",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:rhui:4::el8"
  }, {
    "product_name" : "Service Telemetry Framework 1.3 for RHEL 8",
    "fix_state" : "Out of support scope",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:stf:1.3::el8"
  }, {
    "product_name" : "Service Telemetry Framework 1.4 for RHEL 8",
    "fix_state" : "Will not fix",
    "package_name" : "python-setuptools",
    "cpe" : "cpe:/a:redhat:stf:1.4::el8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-40897\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-40897\nhttps://pyup.io/vulnerabilities/CVE-2022-40897/52495/" ],
  "name" : "CVE-2022-40897",
  "csaw" : false
}