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 :

Nov. 21, 2024, 9:49 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2024-6345 has a 6 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

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: 1 month, 3 weeks 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: 2 months, 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 month, 1 week 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: 3 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: 4 weeks, 1 day ago
2 stars 0 fork 0 watcher
Born at : Aug. 26, 2024, 11:17 p.m. This repo has been linked 5 different CVEs too.

None

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 18, 2021, 11:07 a.m. This repo has been linked 16 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
Multiple Vulnerabilities Discovered in PHP, Prompting Urgent Security Updates

The PHP project has recently released a security advisory, addressing several vulnerabilities affecting various versions of PHP. These vulnerabilities range from potential log tampering to arbitrary f ... Read more

Published Date: Sep 30, 2024 (2 months, 3 weeks ago)
  • 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 (4 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 Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0
    Added Reference https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5
  • 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