CVE-2021-4197
Reported by redhat · Published March 23, 2022
An unprivileged write to the file handler flaw in the Linux kernel's control groups and namespaces subsystem was found in the way users have access to some less privileged process that are controlled by cgroups and have higher privileged parent process. It is actually both for cgroup2 and cgroup1 versions of control groups. A local user could use this flaw to crash the system or escalate their privileges on the system.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 4.14.268-205.500.amzn2 |
| linux-zen | Arch Linux | 5.17.3.zen1-1 |
| kernel-tools | Amazon Linux | 4.14.268-205.500.amzn2 |
| kernel-livepatch-4.14.268-205.500 | Amazon Linux | 1.0-0.amzn2 |
| kernel-tools-devel | Amazon Linux | 4.14.268-205.500.amzn2 |
| python-perf | Amazon Linux | 4.14.268-205.500.amzn2 |
| kernel-headers | Amazon Linux | 4.14.268-205.500.amzn2 |
| kernel-devel | Amazon Linux | 4.14.268-205.500.amzn2 |
| perf | Amazon Linux | 4.14.268-205.500.amzn2 |
| linux_kernel | linux | 5.15.14, 5.10.111, 5.4.189, 4.19.238, 4.14.276 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | kernel | Linux kernel 5.17-rc1 |
| amazon:2 | kernel | 0 |
| arch | linux-zen | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-livepatch-4.14.268-205.500 | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-headers | 0 |
| arch | linux-lts | * |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | perf | 0 |
| n/a | kernel | 5.17-rc1 |
| arch | linux-hardened | 0 |
| arch | linux | 0 |
Timeline
- Jan 17, 2022 CVE Published
- Mar 24, 2022 EPSS Score (30 in total, the first dated here)
- Jun 8, 2023 CVE Updated
- Aug 8, 2024 PoC Published (2 in total, the first dated here)
- Mar 10, 2026 Distribution Patch (46 in total, the first dated here)
- Mar 10, 2026 Security Advisory (53 in total, the first dated here)
- Jul 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-4197
vulnetix vdb fixes CVE-2021-4197
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-4197/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart