VDB

CVE-2021-4197

CVE-2021-4197 PUBLISHED

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.

PackageEcosystemFixed in
kernelAmazon Linux4.14.268-205.500.amzn2
linux-zenArch Linux5.17.3.zen1-1
kernel-toolsAmazon Linux4.14.268-205.500.amzn2
kernel-livepatch-4.14.268-205.500Amazon Linux1.0-0.amzn2
kernel-tools-develAmazon Linux4.14.268-205.500.amzn2
python-perfAmazon Linux4.14.268-205.500.amzn2
kernel-headersAmazon Linux4.14.268-205.500.amzn2
kernel-develAmazon Linux4.14.268-205.500.amzn2
perfAmazon Linux4.14.268-205.500.amzn2
linux_kernellinux5.15.14, 5.10.111, 5.4.189, 4.19.238, 4.14.276

Affected products

VendorProductVersions
n/akernelLinux kernel 5.17-rc1
amazon:2kernel0
archlinux-zen0
amazon:2kernel-tools0
amazon:2kernel-livepatch-4.14.268-205.5000
amazon:2kernel-tools-devel0
amazon:2python-perf0
amazon:2kernel-headers0
archlinux-lts*
amazon:2kernel-devel0
amazon:2perf0
n/akernel5.17-rc1
archlinux-hardened0
archlinux0

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

References

  • x_refsource_MISC
  • x_refsource_MISC
  • DSA-5127 vendor-advisoryx_refsource_DEBIAN
  • DSA-5173 vendor-advisoryx_refsource_DEBIAN
  • x_refsource_MISC
  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›