CVE-2022-0185

high

Description

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.

References

https://www.mandiant.com/resources/blog/initial-access-brokers-exploit-f5-screenconnect

https://www.tenable.com/cyber-exposure/tenable-2022-threat-landscape-report

https://www.openwall.com/lists/oss-security/2022/01/18/7

https://security.netapp.com/advisory/ntap-20220225-0003/

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2

Details

Source: Mitre, NVD

Published: 2022-02-11

Updated: 2023-06-26

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.4

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: High