Skip to main content
← All vulnerabilities
CVE-2024-6345PYSEC-2026-1918BIT-SETUPTOOLS-2024-6345GHSA-CX63-2MW6-8HW5

Remote Code Execution in pypa/setuptools

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 70.0, 70.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • pypa pypa/setuptools

    fixed in 70.0

  • setuptoolsPyPI

    fixed in 70.0.0

References 2

huntr.com

GitHub · pypa/setuptools