All vulnerabilities

Servers and applications

CVE-2023-6507

An issue was found in CPython 3.12.0 `subprocess` module on POSIX platforms. The issue was fixed in CPython 3.12.1 and does not affect other stable releases. When using the `extra_groups=` parameter with an empty list as a value (ie `extra_groups=[]`) the logic regressed to not call `setgroups(0, NULL)` before calling `exec()`, thus not dropping the original processes' groups before starting the…

Severity
Medium 4.9
Published
8 Dec 2023
Last changed
31 Jul 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Version 3.12.0
  • Version 3.13.0-alpha1
  • Version 3.13.0-alpha2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-6507
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-6507