{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0185","id":"CVE-2022-0185","title":"A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context func…","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 thu","descriptionLong":"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.","published":"2022-02-11T17:40:57.000Z","updated":"2026-10-28T02:30:30.170630915Z","reserved":"2022-01-11T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","rating":"high","source":"NVD"}],"rating":"high","products":["kernel"],"affectedProducts":[{"vendor":"n/a","product":"kernel","defaultStatus":null,"versions":[{"status":"affected","version":"8.4"}],"platforms":[]}],"packages":[],"cwes":["CWE-190","CWE-191"],"aliases":["A-213172369","PUB-A-213172369"],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","web"]},{"url":"https://github.com/Crusaders-of-Rust/CVE-2022-0185","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","package"]},{"url":"https://www.openwall.com/lists/oss-security/2022/01/18/7","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","web"]},{"url":"https://www.willsroot.io/2022/01/cve-2022-0185.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220225-0003/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185","tags":["government-resource","US Government Resource","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0185.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0185","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2024-08-21","kevDue":"2024-09-11","kevEntry":{"cveID":"CVE-2022-0185","vendorProject":"Linux","product":"Kernel","vulnerabilityName":"Linux Kernel Heap-Based Buffer Overflow Vulnerability","dateAdded":"2024-08-21","shortDescription":"Linux kernel contains a heap-based buffer overflow vulnerability in the legacy_parse_param function in the Filesystem Context functionality. This allows an attacker to open a filesystem that does not support the Filesystem Context API and ultimately escalate privileges.","requiredAction":"Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.","dueDate":"2024-09-11","knownRansomwareCampaignUse":"Unknown","notes":"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","cwes":["CWE-190"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.25151,"epssPercentile":0.97971,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0185","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0185","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0185","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2024-08-21"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0185","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 25% with CVSS 8.4"],"attention":null}