VDB

CVE-2022-0185

CVE-2022-0185 PUBLISHED CVSS 8.4 HIGH

Reported by redhat · Published February 11, 2022

A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to 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
kernel-develAmazon Linux6.1.10-15.42.amzn2023
kernel-headersAmazon Linux6.1.10-15.42.amzn2023
kernel-tools-develAmazon Linux6.1.10-15.42.amzn2023
bpftoolAmazon Linux6.1.10-15.42.amzn2023

Risk scores

CVSS 3.1
8.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/akernel8.4
amazon:2023kernel-devel0
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
linuxlinux_kernel8.4
amazon:2023kernel-livepatch-6.1.10-15.420
n/akernel8.4
linuxlinux_kernel
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0

Timeline

  • Jan 19, 2022 CVE Published
  • Jan 26, 2022 VulnCheck XDB Entry (10 in total, the first dated here)
  • Feb 12, 2022 EPSS Score (30 in total, the first dated here)
  • Jun 8, 2023 CVE Updated
  • Mar 21, 2024 VulnCheck KEV Exploitation (3 in total, the first dated here)
  • Aug 21, 2024 CISA KEV Added
  • Apr 3, 2026 Distribution Patch (12 in total, the first dated here)
  • Apr 3, 2026 Security Advisory (15 in total, the first dated here)
  • Jul 13, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-0185
vulnetix vdb fixes CVE-2022-0185

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-2022-0185/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›