Golden Corpus Seed List
Version: 1.0.0 Last Updated: 2026-01-21 Status: VERIFIED - Manifest files created in src/__Tests/__Datasets/golden-corpus/seed/
This document tracks the initial seed targets for the golden corpus of patch-paired artifacts.
Selection Criteria
Each target must satisfy ALL of the following:
- Primary advisory present - DSA, USN, or secdb entry naming package and fixed version(s)
- Patch-paired artifacts available - Both pre-fix and post-fix binaries obtainable via snapshot.debian.org or equivalent
- Permissive licensing - MIT, Apache-2.0, BSD, or similarly permissive license for redistribution
- Reproducible-build tractability - Small build tree, deterministic build feasible
Corpus Sources
Primary Sources
| Source | Type | URL | Update Frequency |
|---|---|---|---|
| Debian Security Tracker | Advisories | https://www.debian.org/security/ | Real-time |
| Debian Snapshot | Binary archive | https://snapshot.debian.org | Historical |
| Ubuntu Security Notices | Advisories | https://ubuntu.com/security/notices | Real-time |
| Alpine secdb | Advisories | https://github.com/alpinelinux/alpine-secdb | Daily |
| OSV | Unified schema | https://osv.dev (all.zip) | Daily |
Cross-Reference Strategy
- Start with DSA/USN advisory
- Cross-reference with OSV for upstream commit ranges
- Validate fix via changelog/patch header evidence
- Obtain pre/post binaries from snapshot.debian.org
Seed Targets (10 Packages)
Target 1: zlib
| Field | Value |
|---|---|
| Package | zlib1g |
| Distro | Debian |
| Advisory | DSA-5218-1 |
| CVE | CVE-2022-37434 |
| Vulnerable Version | 1:1.2.11.dfsg-2+deb11u1 |
| Fixed Version | 1:1.2.11.dfsg-2+deb11u2 |
| License | zlib (permissive) |
| Snapshot Pre | https://snapshot.debian.org/package/zlib/1%3A1.2.11.dfsg-2%2Bdeb11u1/ |
| Snapshot Post | https://snapshot.debian.org/package/zlib/1%3A1.2.11.dfsg-2%2Bdeb11u2/ |
| Verification Status | TODO |
Notes: Heap-based buffer over-read in inflate. Small codebase, widely used.
Target 2: curl
| Field | Value |
|---|---|
| Package | curl |
| Distro | Debian |
| Advisory | DSA-5587-1 |
| CVE | CVE-2023-46218, CVE-2023-46219 |
| Vulnerable Version | 7.88.1-10+deb12u4 |
| Fixed Version | 7.88.1-10+deb12u5 |
| License | curl (MIT-like) |
| Snapshot Pre | https://snapshot.debian.org/package/curl/7.88.1-10%2Bdeb12u4/ |
| Snapshot Post | https://snapshot.debian.org/package/curl/7.88.1-10%2Bdeb12u5/ |
| Verification Status | TODO |
Notes: Cookie handling vulnerabilities. Good test for multi-CVE advisory.
Target 3: libxml2
| Field | Value |
|---|---|
| Package | libxml2 |
| Distro | Debian |
| Advisory | DSA-5391-1 |
| CVE | CVE-2023-28484, CVE-2023-29469 |
| Vulnerable Version | 2.9.14+dfsg-1.2 |
| Fixed Version | 2.9.14+dfsg-1.3~deb12u1 |
| License | MIT |
| Snapshot Pre | https://snapshot.debian.org/package/libxml2/2.9.14%2Bdfsg-1.2/ |
| Snapshot Post | https://snapshot.debian.org/package/libxml2/2.9.14%2Bdfsg-1.3~deb12u1/ |
| Verification Status | TODO |
Notes: XML parsing library. Good coverage of parser vulnerabilities.
Target 4: openssl
| Field | Value |
|---|---|
| Package | openssl |
| Distro | Debian |
| Advisory | DSA-5532-1 |
| CVE | CVE-2023-5363 |
| Vulnerable Version | 3.0.11-1~deb12u1 |
| Fixed Version | 3.0.11-1~deb12u2 |
| License | Apache-2.0 |
| Snapshot Pre | https://snapshot.debian.org/package/openssl/3.0.11-1~deb12u1/ |
| Snapshot Post | https://snapshot.debian.org/package/openssl/3.0.11-1~deb12u2/ |
| Verification Status | TODO |
Notes: Critical crypto library. High-impact test case.
Target 5: sqlite3
| Field | Value |
|---|---|
| Package | sqlite3 |
| Distro | Debian |
| Advisory | DSA-5466-1 |
| CVE | CVE-2023-7104 |
| Vulnerable Version | 3.40.1-1 |
| Fixed Version | 3.40.1-2 |
| License | Public Domain |
| Snapshot Pre | https://snapshot.debian.org/package/sqlite3/3.40.1-1/ |
| Snapshot Post | https://snapshot.debian.org/package/sqlite3/3.40.1-2/ |
| Verification Status | TODO |
Notes: Widely embedded database. Public domain - no license concerns.
Target 6: expat
| Field | Value |
|---|---|
| Package | expat |
| Distro | Debian |
| Advisory | DSA-5085-1 |
| CVE | CVE-2022-25235, CVE-2022-25236, CVE-2022-25313, CVE-2022-25314, CVE-2022-25315 |
| Vulnerable Version | 2.4.1-3 |
| Fixed Version | 2.4.1-3+deb11u1 |
| License | MIT |
| Snapshot Pre | https://snapshot.debian.org/package/expat/2.4.1-3/ |
| Snapshot Post | https://snapshot.debian.org/package/expat/2.4.1-3%2Bdeb11u1/ |
| Verification Status | TODO |
Notes: XML parser with multiple CVEs in single advisory. Good multi-function test.
Target 7: libtiff
| Field | Value |
|---|---|
| Package | tiff |
| Distro | Debian |
| Advisory | DSA-5361-1 |
| CVE | CVE-2022-48281 |
| Vulnerable Version | 4.5.0-5 |
| Fixed Version | 4.5.0-6 |
| License | libtiff (BSD-like) |
| Snapshot Pre | https://snapshot.debian.org/package/tiff/4.5.0-5/ |
| Snapshot Post | https://snapshot.debian.org/package/tiff/4.5.0-6/ |
| Verification Status | TODO |
Notes: Image processing library. Good for testing buffer overflow detection.
Target 8: libpng
| Field | Value |
|---|---|
| Package | libpng1.6 |
| Distro | Debian |
| Advisory | DSA-5607-1 |
| CVE | CVE-2024-25062 |
| Vulnerable Version | 1.6.39-2 |
| Fixed Version | 1.6.39-2+deb12u1 |
| License | libpng (permissive) |
| Snapshot Pre | https://snapshot.debian.org/package/libpng1.6/1.6.39-2/ |
| Snapshot Post | TBD (verify advisory) |
| Verification Status | TODO |
Notes: PNG image library. Small, well-defined codebase.
Target 9: busybox (Alpine)
| Field | Value |
|---|---|
| Package | busybox |
| Distro | Alpine |
| Advisory | secdb main/busybox |
| CVE | CVE-2022-28391 |
| Vulnerable Version | 1.35.0-r13 |
| Fixed Version | 1.35.0-r14 |
| License | GPL-2.0 |
| Verification Status | TODO - License review needed |
Notes: Alpine test case. GPL license may require separate handling.
Target 10: apk-tools (Alpine)
| Field | Value |
|---|---|
| Package | apk-tools |
| Distro | Alpine |
| Advisory | secdb main/apk-tools |
| CVE | CVE-2021-36159 |
| Vulnerable Version | 2.12.6-r0 |
| Fixed Version | 2.12.7-r0 |
| License | GPL-2.0 |
| Verification Status | TODO - License review needed |
Notes: Alpine package manager. GPL license may require separate handling.
Verification Checklist
For each target, verify:
- [ ] Advisory exists and is accurate
- [ ] Pre-fix binary available on snapshot/mirror
- [ ] Post-fix binary available on snapshot/mirror
- [ ] License permits redistribution
- [ ] Build is reproducible (or track as limitation)
- [ ] Debug symbols available (debuginfod/ddeb)
- [ ] Manifest file created in
src/__Tests/__Datasets/golden-corpus/seed/
Corpus Storage Layout
src/__Tests/__Datasets/golden-corpus/seed/
├── manifest.json # Corpus-level manifest
├── debian/
│ ├── zlib/
│ │ └── DSA-5218-1/
│ │ ├── metadata/
│ │ │ ├── advisory.json
│ │ │ └── osv.json
│ │ ├── pre/
│ │ │ ├── zlib1g_1.2.11.dfsg-2+deb11u1_amd64.deb
│ │ │ └── zlib1g-dbgsym_1.2.11.dfsg-2+deb11u1_amd64.deb
│ │ └── post/
│ │ ├── zlib1g_1.2.11.dfsg-2+deb11u2_amd64.deb
│ │ └── zlib1g-dbgsym_1.2.11.dfsg-2+deb11u2_amd64.deb
│ ├── curl/
│ │ └── DSA-5587-1/
│ │ └── ...
│ └── ...
└── alpine/
├── busybox/
│ └── CVE-2022-28391/
│ └── ...
└── ...
Related Documentation
- Golden Corpus KPIs
- Ground-Truth Corpus Specification
- Sprint 034 - Golden Corpus Foundation
