CVE-2024-6345 HIGH

CVE-2024-6345: Remote Code Execution in pypa/setuptools

Vendor Pypa
Product pypa/setuptools
Weakness CWE-94 · Code injection
Published July 15, 2024
Last update November 4, 2025

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 15, 2024 CVE published
November 4, 2025 Record updated