{
  "document": {
    "aggregate_severity": {
      "text": "Low"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      },
      {
        "category": "details",
        "text": "CVE-2022-40897: regex denial of service via crafted HTML in package_index",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1787935184",
        "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1787935184"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_alt_python/el9/advisories/2026/clsa-2026_1787935184.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-08-28T16:40:27Z",
      "generator": {
        "date": "2026-08-28T16:40:27Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2026:1787935184",
      "initial_release_date": "2026-08-28T16:40:27Z",
      "revision_history": [
        {
          "date": "2026-08-28T16:40:27Z",
          "number": "1",
          "summary": "Initial version"
        }
      ],
      "status": "final",
      "version": "1"
    },
    "title": "alt-python27-setuptools: Fix of CVE-2022-40897"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Community Enterprise Operating System 9",
                "product": {
                  "name": "Community Enterprise Operating System 9",
                  "product_id": "CentOS-9",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:centos:centos:9:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Community Enterprise Operating System"
          }
        ],
        "category": "vendor",
        "name": "Cloud Linux Software, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "alt-python27-setuptools-0:36.3.0-6.el9.noarch",
                "product": {
                  "name": "alt-python27-setuptools-0:36.3.0-6.el9.noarch",
                  "product_id": "alt-python27-setuptools-0:36.3.0-6.el9.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/alt-python27-setuptools@36.3.0-6.el9?arch=noarch&os_name=centos&os_version=9"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-setuptools-0:36.3.0-6.el9.noarch as a component of Community Enterprise Operating System 9",
          "product_id": "CentOS-9:alt-python27-setuptools-0:36.3.0-6.el9.noarch"
        },
        "product_reference": "alt-python27-setuptools-0:36.3.0-6.el9.noarch",
        "relates_to_product_reference": "CentOS-9"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2022-40897",
      "cwe": {
        "id": "CWE-1333",
        "name": "Inefficient Regular Expression Complexity"
      },
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "CentOS-9:alt-python27-setuptools-0:36.3.0-6.el9.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-alt-python/cve/CVE-2022-40897"
        },
        {
          "category": "external",
          "summary": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200",
          "url": "https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"
        },
        {
          "category": "external",
          "summary": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be",
          "url": "https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"
        },
        {
          "category": "external",
          "summary": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1",
          "url": "https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/"
        },
        {
          "category": "external",
          "summary": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/",
          "url": "https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/"
        },
        {
          "category": "external",
          "summary": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495/",
          "url": "https://pyup.io/vulnerabilities/CVE-2022-40897/52495/"
        },
        {
          "category": "external",
          "summary": "https://security.netapp.com/advisory/ntap-20230214-0001/",
          "url": "https://security.netapp.com/advisory/ntap-20230214-0001/"
        },
        {
          "category": "external",
          "summary": "https://security.netapp.com/advisory/ntap-20240621-0006/",
          "url": "https://security.netapp.com/advisory/ntap-20240621-0006/"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html",
          "url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"
        }
      ],
      "release_date": "2022-12-23T00:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-08-28T16:39:47.336692Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1787935184",
          "product_ids": [
            "CentOS-9:alt-python27-setuptools-0:36.3.0-6.el9.noarch"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1787935184"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ]
    }
  ]
}