{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "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"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_alt_python/debian13/vex/2022/cve-2022-40897-els_alt_python-debian13.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-04-16T07:31:23Z",
      "generator": {
        "date": "2026-04-16T07:31:23Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2022-40897-ELS_ALT_PYTHON-DEBIAN13",
      "initial_release_date": "2022-12-23T00:15:00Z",
      "revision_history": [
        {
          "date": "2022-12-23T00:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-03-31T12:28:34Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2026-03-31T15:14:05Z",
          "number": "3",
          "summary": "Update document"
        },
        {
          "date": "2026-04-14T09:19:46Z",
          "number": "4",
          "summary": "Update document"
        },
        {
          "date": "2026-04-14T09:27:44Z",
          "number": "5",
          "summary": "Update document"
        },
        {
          "date": "2026-04-16T07:31:23Z",
          "number": "6",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "6"
    },
    "title": "Security update on CVE-2022-40897"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian 13",
                "product": {
                  "name": "Debian 13",
                  "product_id": "Debian-13",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:13:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "alt-python39-setuptools-wheel-0:58.3.0-2.all",
                "product": {
                  "name": "alt-python39-setuptools-wheel-0:58.3.0-2.all",
                  "product_id": "alt-python39-setuptools-wheel-0:58.3.0-2.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python39-setuptools-wheel@58.3.0-2?arch=all&os_name=debian&os_version=13"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python39-setuptools-0:58.3.0-2.all",
                "product": {
                  "name": "alt-python39-setuptools-0:58.3.0-2.all",
                  "product_id": "alt-python39-setuptools-0:58.3.0-2.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python39-setuptools@58.3.0-2?arch=all&os_name=debian&os_version=13"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-setuptools-0:38.5.2-10.all",
                "product": {
                  "name": "alt-python36-setuptools-0:38.5.2-10.all",
                  "product_id": "alt-python36-setuptools-0:38.5.2-10.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-setuptools@38.5.2-10?arch=all&os_name=debian&os_version=13"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-setuptools-wheel-0:38.5.2-10.all",
                "product": {
                  "name": "alt-python36-setuptools-wheel-0:38.5.2-10.all",
                  "product_id": "alt-python36-setuptools-wheel-0:38.5.2-10.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-setuptools-wheel@38.5.2-10?arch=all&os_name=debian&os_version=13"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python38-setuptools-0:58.3.0-3.all",
                "product": {
                  "name": "alt-python38-setuptools-0:58.3.0-3.all",
                  "product_id": "alt-python38-setuptools-0:58.3.0-3.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python38-setuptools@58.3.0-3?arch=all&os_name=debian&os_version=13"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python38-setuptools-wheel-0:58.3.0-3.all",
                "product": {
                  "name": "alt-python38-setuptools-wheel-0:58.3.0-3.all",
                  "product_id": "alt-python38-setuptools-wheel-0:58.3.0-3.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python38-setuptools-wheel@58.3.0-3?arch=all&os_name=debian&os_version=13"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python37-setuptools-0:58.3.0-3.all",
                "product": {
                  "name": "alt-python37-setuptools-0:58.3.0-3.all",
                  "product_id": "alt-python37-setuptools-0:58.3.0-3.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python37-setuptools@58.3.0-3?arch=all&os_name=debian&os_version=13"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python37-setuptools-wheel-0:58.3.0-3.all",
                "product": {
                  "name": "alt-python37-setuptools-wheel-0:58.3.0-3.all",
                  "product_id": "alt-python37-setuptools-wheel-0:58.3.0-3.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python37-setuptools-wheel@58.3.0-3?arch=all&os_name=debian&os_version=13"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python39-setuptools-wheel-0:58.3.0-2.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python39-setuptools-wheel-0:58.3.0-2.all"
        },
        "product_reference": "alt-python39-setuptools-wheel-0:58.3.0-2.all",
        "relates_to_product_reference": "Debian-13"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python39-setuptools-0:58.3.0-2.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python39-setuptools-0:58.3.0-2.all"
        },
        "product_reference": "alt-python39-setuptools-0:58.3.0-2.all",
        "relates_to_product_reference": "Debian-13"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-setuptools-0:38.5.2-10.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python36-setuptools-0:38.5.2-10.all"
        },
        "product_reference": "alt-python36-setuptools-0:38.5.2-10.all",
        "relates_to_product_reference": "Debian-13"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-setuptools-wheel-0:38.5.2-10.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python36-setuptools-wheel-0:38.5.2-10.all"
        },
        "product_reference": "alt-python36-setuptools-wheel-0:38.5.2-10.all",
        "relates_to_product_reference": "Debian-13"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python38-setuptools-0:58.3.0-3.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python38-setuptools-0:58.3.0-3.all"
        },
        "product_reference": "alt-python38-setuptools-0:58.3.0-3.all",
        "relates_to_product_reference": "Debian-13"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python38-setuptools-wheel-0:58.3.0-3.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python38-setuptools-wheel-0:58.3.0-3.all"
        },
        "product_reference": "alt-python38-setuptools-wheel-0:58.3.0-3.all",
        "relates_to_product_reference": "Debian-13"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python37-setuptools-0:58.3.0-3.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python37-setuptools-0:58.3.0-3.all"
        },
        "product_reference": "alt-python37-setuptools-0:58.3.0-3.all",
        "relates_to_product_reference": "Debian-13"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python37-setuptools-wheel-0:58.3.0-3.all as a component of Debian 13",
          "product_id": "Debian-13:alt-python37-setuptools-wheel-0:58.3.0-3.all"
        },
        "product_reference": "alt-python37-setuptools-wheel-0:58.3.0-3.all",
        "relates_to_product_reference": "Debian-13"
      }
    ]
  },
  "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"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-13:alt-python37-setuptools-0:58.3.0-3.all",
          "Debian-13:alt-python37-setuptools-wheel-0:58.3.0-3.all",
          "Debian-13:alt-python38-setuptools-0:58.3.0-3.all",
          "Debian-13:alt-python38-setuptools-wheel-0:58.3.0-3.all",
          "Debian-13:alt-python39-setuptools-0:58.3.0-2.all",
          "Debian-13:alt-python39-setuptools-wheel-0:58.3.0-2.all"
        ],
        "under_investigation": [
          "Debian-13:alt-python36-setuptools-0:38.5.2-10.all",
          "Debian-13:alt-python36-setuptools-wheel-0:38.5.2-10.all"
        ]
      },
      "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-03-31T12:27:53.062127Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1774960070",
          "product_ids": [
            "Debian-13:alt-python39-setuptools-0:58.3.0-2.all",
            "Debian-13:alt-python39-setuptools-wheel-0:58.3.0-2.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1774960070"
        },
        {
          "category": "vendor_fix",
          "date": "2026-03-31T12:27:53.062127Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1774960070",
          "product_ids": [
            "Debian-13:alt-python39-setuptools-0:58.3.0-2.all",
            "Debian-13:alt-python39-setuptools-wheel-0:58.3.0-2.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1774960070"
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "Debian-13:alt-python36-setuptools-0:38.5.2-10.all",
            "Debian-13:alt-python36-setuptools-wheel-0:38.5.2-10.all"
          ]
        },
        {
          "category": "vendor_fix",
          "date": "2026-04-14T09:27:05.611288Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1776158822",
          "product_ids": [
            "Debian-13:alt-python38-setuptools-0:58.3.0-3.all",
            "Debian-13:alt-python38-setuptools-wheel-0:58.3.0-3.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1776158822"
        },
        {
          "category": "vendor_fix",
          "date": "2026-04-16T07:30:45.677637Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1776324642",
          "product_ids": [
            "Debian-13:alt-python37-setuptools-0:58.3.0-3.all",
            "Debian-13:alt-python37-setuptools-wheel-0:58.3.0-3.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1776324642"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "Debian-13:alt-python36-setuptools-0:38.5.2-10.all",
            "Debian-13:alt-python36-setuptools-wheel-0:38.5.2-10.all",
            "Debian-13:alt-python37-setuptools-0:58.3.0-3.all",
            "Debian-13:alt-python37-setuptools-wheel-0:58.3.0-3.all",
            "Debian-13:alt-python38-setuptools-0:58.3.0-3.all",
            "Debian-13:alt-python38-setuptools-wheel-0:58.3.0-3.all",
            "Debian-13:alt-python39-setuptools-0:58.3.0-2.all",
            "Debian-13:alt-python39-setuptools-wheel-0:58.3.0-2.all"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}