AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| agronholm | anyio | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Agronholm | Anyio |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3w57-8xmc-8v26 | AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.108% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-648 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Agronholm
Agronholm anyio |
|
| Vendors & Products |
Agronholm
Agronholm anyio |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | AnyIO is a high level asynchronous concurrency and networking framework that works on top of either Trio or asyncio. In 4.14.0, AnyIO accepts the POSIX extra_groups argument in anyio.run_process() and anyio.open_process(), but open_process() forwards the group argument to the backend instead of extra_groups. A caller that supplies extra_groups=[] to clear inherited supplementary groups can therefore launch a child that retains the parent process groups, undermining a privilege-dropping boundary. If group is also supplied, the integer group value is passed where an iterable of supplementary groups is expected and the launch can fail with TypeError. This issue affects POSIX applications that rely on AnyIO subprocess helpers to launch less-privileged child processes. This issue is fixed in version 4.14.2. | |
| Title | AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups | |
| Weaknesses | CWE-266 CWE-269 |
|
| References |
| |
| Metrics |
cvssV4_0
|