Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2021-3156 PoC — Sudo 缓冲区错误漏洞

Source
Associated Vulnerability
Title:Sudo 缓冲区错误漏洞 (CVE-2021-3156)
Description:Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character.
Description
CVE-2021-3156
Readme
## CVE-2021-3156

## Ansible role patches CVE-2021-3156 for CentOS

### Intro

Sudo before 1.9.5p2 has a Heap-based Buffer Overflow, allowing privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character

[CVE-2021-3156](https://nvd.nist.gov/vuln/detail/CVE-2021-3156)

[News (RU)](https://habr.com/ru/news/t/539526/)

### RUN
```sh
ansible-playbook update_ssh.yml --tags ssh-update
```
File Snapshot

[4.0K] /data/pocs/d3388d0344589193b780714c45a4360f3e51428a ├── [4.0K] inventory │   └── [ 57] env ├── [ 444] README.md ├── [4.0K] roles │   └── [4.0K] ssh │   └── [4.0K] tasks │   └── [ 590] main.yml └── [ 51] update_ssh.yml 4 directories, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →