CVE-2023-6507
CVSS 3.1 Score 4.9 of 10 (medium)
Details
Summary
CVE-2023-6507 is a vulnerability affecting the `subprocess` module in CPython 3.12.0 on POSIX platforms. This issue arises when using an empty list as the value for the `extra_groups` parameter. The logic regressed, causing the `setgroups` system call not to be made before executing a new process. This omission leaves the original process's groups unchanged, potentially leading to security concerns when running the affected CPython processes with elevated privileges, such as `root`. The issue has been resolved in CPython 3.12.1 and does not impact other stable releases.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Affected Products
- Python
Affected Vendors
- Python Software Foundation