8.8
HIGH
CVE-2024-6345
Apache Setuptools Remote Code Execution Vulnerability
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.

INFO

Published Date :

July 15, 2024, 1:15 a.m.

Last Modified :

July 15, 2024, 1 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2024-6345 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-6345 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-6345.

URL Resource
https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0
https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile Shell

Updated: 3 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : Oct. 30, 2024, 10:41 p.m. This repo has been linked 31 different CVEs too.

None

Dockerfile Python HTML

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Sept. 26, 2024, 4:44 p.m. This repo has been linked 26 different CVEs too.

System-wide Python package discovery and validation

Rust Python

Updated: 1 week, 1 day ago
3 stars 0 fork 0 watcher
Born at : Sept. 13, 2024, 3:40 p.m. This repo has been linked 5 different CVEs too.

None

Dockerfile

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Sept. 8, 2024, 3:07 p.m. This repo has been linked 3 different CVEs too.

System-wide Python package discovery, validation, and allow-listing

Rust

Updated: 1 week, 5 days ago
1 stars 0 fork 0 watcher
Born at : Aug. 26, 2024, 11:17 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-6345 vulnerability anywhere in the article.

  • Cybersecurity News
Django Releases Security Updates to Address Critical Flaw (CVE-2024-42005, CVSS 9.8)

The Django team has issued security updates for Django 5.0.8 and 4.2.15 to address multiple vulnerabilities, including potential denial-of-service (DoS) attacks and a critical SQL injection vulnerabil ... Read more

Published Date: Aug 10, 2024 (3 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-6345 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Received by [email protected]

    Jul. 15, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference huntr.dev https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5 [No types assigned]
    Added Reference huntr.dev https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0 [No types assigned]
    Added CWE huntr.dev CWE-94
    Added CVSS V3 huntr.dev AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-6345 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-6345 weaknesses.

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability