Remote Code Execution Vulnerability in Package Index Module
CVE-2024-6345

8.8HIGH

Key Information:

Vendor

Pypa

Vendor
CVE Published:
15 July 2024

What is CVE-2024-6345?

A vulnerability exists in the package_index module of PyPa's Setuptools affecting versions up to 69.1.1. This flaw enables remote code execution through its download functions, which are designed to retrieve packages via user-defined URLs or standard package index servers. If these functions process inputs that users control, they can unintentionally execute arbitrary commands on the host system. The security issue has been addressed in Setuptools version 70.0, which users are encouraged to upgrade to in order to mitigate risks associated with potential code injection.

Affected Version(s)

pypa/setuptools < 70.0

References

CVSS V3.0

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

.