CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 11 September 2024). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 8.4 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 25.15% probability · 98th percentile
- CISA KEV
- Listed 21 August 2024 · due 11 September 2024
- Weakness
- CWE-190, CWE-191
- Affected
- linux/linux kernel · netapp/h410c firmware · netapp/h300s firmware · netapp/h500s firmware · netapp/h700s firmware · netapp/h300e firmware · netapp/h500e firmware · netapp/h700e firmware · netapp/h410s firmware
- Source
- secalert@redhat.com
CISA notes
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable. This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=722d94847de2; https://nvd.nist.gov/vuln/detail/CVE-2022-0185
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2Mailing List, Patch
- https://github.com/Crusaders-of-Rust/CVE-2022-0185Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220225-0003/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/18/7Mailing List, Patch, Third Party Advisory
- https://www.willsroot.io/2022/01/cve-2022-0185.htmlExploit, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2Mailing List, Patch
- https://github.com/Crusaders-of-Rust/CVE-2022-0185Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220225-0003/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/18/7Mailing List, Patch, Third Party Advisory
- https://www.willsroot.io/2022/01/cve-2022-0185.htmlExploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.