# Arinerron/CVE-2022-0847-DirtyPipe-Exploit

A root exploit for CVE-2022-0847 (Dirty Pipe)

Repository: https://github.com/Arinerron/CVE-2022-0847-DirtyPipe-Exploit
Canonical: https://ross.abutalabs.com/products/cve-2022-0847-dirtypipe-exploit
Language: C
License: GPL-2.0
License Family: copyleft
Last push: 2022-03-08T06:20:05+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1640, "days_push": 1639, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1133, forks 221 (observed 2026-08-28T04:03:42.833145+00:00)

## What it is
A C-based root privilege escalation exploit for CVE-2022-0847 (Dirty Pipe), a Linux kernel vulnerability. It modifies Max Kellermann's proof of concept to overwrite root's password field in /etc/passwd, pop a root shell, and then restore the file.

## Use cases
- exploit dirty pipe vulnerability on vulnerable linux kernels
- gain root shell via CVE-2022-0847
- test whether a linux system is patched against dirty pipe
- privilege escalation demonstration in penetration testing
- learn how the dirty pipe kernel bug works

## When to choose
- you need a quick, ready-to-run exploit for CVE-2022-0847 on a vulnerable Linux host
- you are doing authorized penetration testing or security research on dirty pipe
- you want a minimal C exploit that restores /etc/passwd after use

## When to avoid
- the target kernel is patched against CVE-2022-0847 (fixed in 5.16.11, 5.15.25, 5.10.102)
- you need a general-purpose privilege escalation toolkit rather than a single-CVE exploit
- unauthorized use - exploiting systems you do not own or have permission to test is illegal

## Facets
- artifact type: cli-tool
- maturity: stable
- function: security, penetration-testing
- domain: security, penetration-testing, operating-systems
- platform: cli
- tags: exploit, cve-2022-0847, dirty-pipe, privilege-escalation, root-exploit, kernel-vulnerability, proof-of-concept, linux

## Member repositories
- Arinerron/CVE-2022-0847-DirtyPipe-Exploit (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.833145+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:37:23.588016+00:00, confidence not recorded.
  - readme: https://github.com/Arinerron/CVE-2022-0847-DirtyPipe-Exploit (fetched 2026-08-28T04:03:42.833145+00:00, sha 3447ba348cbb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
