# blasty/CVE-2021-3156

Repository: https://github.com/blasty/CVE-2021-3156
Canonical: https://ross.abutalabs.com/products/cve-2021-3156
Language: C
License Family: other
Last push: 2021-02-02T17:07:09+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": 2041, "days_push": 2038, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1022, forks 235 (observed 2026-08-28T04:03:16.061826+00:00)

## What it is
A proof-of-concept exploit for CVE-2021-3156 (Baron Samedit), a heap-based buffer overflow in sudo. It is a C command-line tool that escalates privileges to root on vulnerable Linux systems, with support for multiple targets and experimental brute-force target finding.

## Use cases
- test if my sudo is vulnerable to CVE-2021-3156
- demonstrate the Baron Samedit sudo heap overflow exploit
- escalate to root on a vulnerable Linux box for a pentest report
- study how a heap-based overflow in sudo is exploited
- brute-force exploit parameters for different sudo targets

## When to choose
- you need to verify or demonstrate CVE-2021-3156 on a known-vulnerable Linux system
- you are doing authorized penetration testing or security research on sudo
- you want a working reference exploit to study heap overflow techniques

## When to avoid
- you need a general vulnerability scanner rather than a single-CVE exploit
- your systems are patched or run non-Linux platforms
- you lack explicit authorization to test the target system

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing, cli
- domain: security, operating-systems, developer-tools
- platform: cli, cpp
- tags: exploit, poc, cve-2021-3156, sudo, privilege-escalation, baron-samedit, heap-overflow, linux

## Member repositories
- blasty/CVE-2021-3156 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.061826+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-30T07:08:42.331539+00:00, confidence not recorded.
  - readme: https://github.com/blasty/CVE-2021-3156 (fetched 2026-08-28T04:03:16.061826+00:00, sha 2e452d63aaf9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
