Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/setuptools@45.2.0
purl pkg:pypi/setuptools@45.2.0
Next non-vulnerable version 78.1.1
Latest non-vulnerable version 78.1.1
Risk 4.0
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-ebnc-7f5a-effj
Aliases:
BIT-setuptools-2022-40897
CVE-2022-40897
GHSA-r9hx-vwmv-q579
PYSEC-2022-43012
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.
65.5.1
Affected by 2 other vulnerabilities.
VCID-qt3x-msd9-tyct
Aliases:
CVE-2024-6345
GHSA-cx63-2mw6-8hw5
setuptools vulnerable to Command Injection via package URL A vulnerability in the `package_index` module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.
70.0.0
Affected by 1 other vulnerability.
VCID-uqed-9p12-7bdx
Aliases:
BIT-setuptools-2025-47273
CVE-2025-47273
GHSA-5rjg-fvgr-3xxf
PYSEC-2025-49
setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in `PackageIndex` is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.
78.1.1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T23:29:06.898445+00:00 GitLab Importer Affected by VCID-uqed-9p12-7bdx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2025-47273.yml 38.4.0
2026-04-16T23:04:21.720338+00:00 GitLab Importer Affected by VCID-qt3x-msd9-tyct https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2024-6345.yml 38.4.0
2026-04-16T22:18:39.419362+00:00 GitLab Importer Affected by VCID-ebnc-7f5a-effj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2022-40897.yml 38.4.0
2026-04-12T00:48:47.002876+00:00 GitLab Importer Affected by VCID-uqed-9p12-7bdx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2025-47273.yml 38.3.0
2026-04-12T00:22:15.538410+00:00 GitLab Importer Affected by VCID-qt3x-msd9-tyct https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2024-6345.yml 38.3.0
2026-04-11T23:36:19.936683+00:00 GitLab Importer Affected by VCID-ebnc-7f5a-effj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2022-40897.yml 38.3.0
2026-04-03T00:56:46.754623+00:00 GitLab Importer Affected by VCID-uqed-9p12-7bdx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2025-47273.yml 38.1.0
2026-04-03T00:29:51.167709+00:00 GitLab Importer Affected by VCID-qt3x-msd9-tyct https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2024-6345.yml 38.1.0
2026-04-02T23:40:51.206603+00:00 GitLab Importer Affected by VCID-ebnc-7f5a-effj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2022-40897.yml 38.1.0
2026-04-01T18:03:24.989898+00:00 GitLab Importer Affected by VCID-ebnc-7f5a-effj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/setuptools/CVE-2022-40897.yml 38.0.0
2026-04-01T15:17:41.691716+00:00 PyPI Importer Affected by VCID-uqed-9p12-7bdx https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:13:35.914568+00:00 PyPI Importer Affected by VCID-ebnc-7f5a-effj https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:50:19.097235+00:00 Pypa Importer Affected by VCID-uqed-9p12-7bdx https://github.com/pypa/advisory-database/blob/main/vulns/setuptools/PYSEC-2025-49.yaml 38.0.0
2026-04-01T12:48:00.606972+00:00 Pypa Importer Affected by VCID-ebnc-7f5a-effj https://github.com/pypa/advisory-database/blob/main/vulns/setuptools/PYSEC-2022-43012.yaml 38.0.0