Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ENV-CVE-2020-8036 — Aritifacts of docker env of CVE-2020-8036 | Kitploit
Tools/GitHubGitHub/yan5ui/env-cve-2020-8036
Vulnerability AnalysisExploitationFuzzingBinary AnalysisLearning & EducationLabs & Practice
GitHubyan5ui/env-cve-2020-8036

ENV-CVE-2020-8036

Aritifacts of docker env of CVE-2020-8036

View Repository
2 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

ENV-CVE-2020-8036 — tcpdump vulnerability reproduction environment

This repository is a reproducible vulnerability environment snapshot of CVE-2020-8036 (tcpdump SOME/IP parser out-of-bounds read, CWE-125), exported from the corresponding container image yan5ui/cve-2020-8036:tier1 (based on ubuntu:20.04).

The environment performs a reproducible build on the vulnerable version source code, preserving the compiled artifacts, build scripts, and complete build logs for direct use in vulnerability reproduction and exploit verification.

Vulnerability Information

ItemValue
CVECVE-2020-8036
Projectthe-tcpdump-group/tcpdump
CWECWE-125 (Out-of-bounds Read)
Vulnerable Functiontok2strbuf() (called unsafely by SOME/IP dissector)
Vulnerable Fileprint-someip.c
Upstream Repositoryhttps://github.com/the-tcpdump-group/tcpdump

Sanitizer and Vulnerability Type Correspondence

This environment selects compile-time instrumentation (sanitizer) based on the CWE category of the vulnerability, so that the triggered vulnerability behavior can be reliably captured.

  • CWE-125 (Out-of-bounds Read) → ASan + UBSan
  • Compiler: clang-10
  • Compile flags: -O1 -g -fno-omit-frame-pointer -fsanitize=address,undefined
  • Link flags: -fsanitize=address,undefined

AddressSanitizer immediately reports memory access violations upon an out-of-bounds read and provides the exact crash location and call stack. UndefinedBehaviorSanitizer covers accompanying undefined behavior. Together, they ensure that the out-of-bounds read produces a clear, deterministic signal when triggered. The build artifact compile/artifacts/tcpdump is the tcpdump executable with the above instrumentation.

Directory Structure

root@kitploit:~
.
├── README.md            this file
├── description.md       vulnerability description, vulnerable function source excerpt, and reproduction task instructions
├── meta.json            structured metadata (project, CWE, commit, source path, etc.)
├── compile/             build artifacts and build records
│   ├── build.sh         reproducible build script (dependency installation + configure + make + artifact collection)
│   ├── deps.txt         list of apt dependencies required for build
│   ├── BUILD_OK         build success record (build system, sanitizer, artifact path, binary size, etc.)
│   ├── build.log        full build log
│   ├── binary_size.txt  main binary size in bytes
│   └── artifacts/
│       ├── tcpdump      tcpdump executable compiled with ASan+UBSan (main binary)
│       └── main         symbolic link to tcpdump (unified entry point name)
├── src/
│   └── tcpdump/         full source tree at the vulnerable commit, including in-tree compiled .o object files
├── task/                runtime mount directory for the exploit agent harness (empty inside the image)
└── workspace/           runtime working directory for the exploit agent harness (empty inside the image)

About task/ and workspace/

Both are working directories used by the exploit agent harness when running reproduction/exploitation: workspace/ serves as the agent's default workspace, and task/ holds the input for a single reproduction task. Both are empty in the image and are populated at runtime by the harness during reproduction. They are standard convention directories of the environment and do not contain build artifacts.

Reproduction Method

The build is an in-source build inside the container (./configure && make, see compile/build.sh). The source code is located at /src/tcpdump/, and the main binary is compile/artifacts/tcpdump. Construct an input (pcap packet) that triggers the SOME/IP parsing path according to the task instructions in description.md, and you can observe the out-of-bounds read crash report under ASan.

Download Tool