Exploit database

Vulnerability

CVE-2022-0185

Vulnerability details

Score
8.4
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

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

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.

CVE Program

Exploit source choices

12 sources
bsauce/kernel-exploit-factory
GH-19aa051ff5153014d6646f547e3c4467GitHubUnofficial GitHub sourcePreferred

Linux kernel CVE exploit analysis report and relative debug environment. You don't need to compile Linux kernel and configure your environment anymore.

2020-12-11262 files · 1,308 stars
bsauce/kernel-security-learning
GH-c4865ec2b4e2c29d85b0e20b1503912fGitHubUnofficial GitHub source

Anything about kernel security. CTF kernel pwn, kernel exploit, kernel fuzz and kernel defense paper, kernel debugging technique, kernel CVE debug.

2019-11-2798 files · 783 stars
chenaotian/cve-2022-0185
GH-dbf7f9581991722d6eee23b8fe7c7eebGitHubUnofficial GitHub source

CVE-2022-0185 POC and Docker and Analysis write up

2022-02-1852 files · 37 stars
veritas501/cve-2022-0185-pipeversion
GH-e5166ce0c7ac8fb39db4d8b84e2483e6GitHubUnofficial GitHub source

CVE-2022-0185 exploit rewritten with pipe primitive

2022-04-054 files · 16 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
dcheng69/cve-2022-0185-case-study
GH-5a0d3b0d3dfb800dff912f856e176f3fGitHubUnofficial GitHub source

dcheng69/cve-2022-0185-case-study source repository

2024-04-1577 files · 3 stars
cvedb/top
GH-2e626f612a2d87f79d1d9385117cfa16GitHubUnofficial GitHub source

cvedb/top source repository

2023-03-1911 files · 2 stars