CVE catalog

CVE-2023-6507

python3.11: CVE-2023-6507

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.34% · Oct 25, 2026

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 new process. There is no issue when the parameter isn't used or when any value is used besides an empty list. This issue only impacts CPython processes run with sufficient privilege to make the `setgroups` system call (typically `root`).

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython3.11bookworm3.11.2-6+deb12u8not affected
Debianpython3.11bookworm-security3.11.2-6+deb12u9not affected
Opensusepython312tumbleweed3.12.1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython3.11sourcebookwormNot affectedunimportantNot reportedNot reported
Opensusepython312rpmtumbleweed3.12.1-1.1Not reportedOPENSUSE-SU-2024:13511-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References