CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Python

CVE-2022-40897
Python Setuptools vulnerability

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.

Affected products

Setuptools. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Python Setuptools runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Python products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.