CVE-2024-6345

HIGHCVSS 8.8/10EPSS 1.94%

Last modified

CVE-2024-6345 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.94% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.0
8.8/10

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
1.94%

77.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
pypapypa/setuptools< 70.0

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2024-6345?
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.
How severe is CVE-2024-6345?
CVE-2024-6345 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 1.94% probability of exploitation in the next 30 days.
How do I fix CVE-2024-6345?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2024

Are you affected by CVE-2024-6345?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST