Skip to content

Example Vulnerability Finding F 001

github-actions[bot] edited this page Nov 29, 2026 · 1 revision

Last reviewed: 2026-11-29

Note

Synthetic example. This fills the vulnerability finding template from the repository's supply-chain lab evidence (CI run 46226817429). The affected "asset" is a lab fixture, not a client system. Advisory data was read from the GitHub advisory database on 2026-11-29. SSVC was not assessed because no deployed system exists.

๐Ÿท๏ธ Identification

Field Value
Finding ID (finding_id) F-001
Title (finding_title) PyYAML 5.3.1 pinned below the first patched release for GHSA-8q59-q68h-6hv4
Status (status) open
Affected assets (affected_assets) ContainerSecurity/labs/supply-chain/fixtures/python-vulnerable/requirements.txt (lab fixture)
Discovered (UTC) (discovered_utc) 2026-11-29T04:55:38Z
Tester (tester) Supply-chain lab CI job; reviewed by Assessor A (synthetic role)
Source and provenance (source_provenance) grype 0.122.1 with vulnerability database schema v6.1.10 built 2026-11-28T06:20:09Z; command grype sbom:out/python-vulnerable.cdx.json -o json --fail-on critical exited 2 (lab case vuln-positive-pyyaml-5.3.1)
Control reference (control_reference) Not applicable (fixture assessment; no client control catalogue)

๐Ÿ“ Severity & Scoring

Field Value
Risk level (risk_level) Critical
Severity basis (severity_basis) CVSS-B 9.3 is in the playbook's Critical band (9.0-10.0). Threat and Environmental metrics were not assessed for a fixture, so this is severity, not risk
CVSS v4.0 vector (cvss_v4_vector) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS v4.0 nomenclature (cvss_nomenclature) CVSS-B
CVSS v4.0 score (cvss_v4_score) 9.3
CVSS v4.0 rating (cvss_v4_rating) Critical
Score source (cvss_score_source) GitHub advisory GHSA-8q59-q68h-6hv4 cvss_severities.cvss_v4; the same vector and base score 9.3 appear in grype's match in the lab evidence. Not recomputed here
CVSS v3.1 vector (cvss_v31_vector) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (advisory score 9.8)
SSVC decision (ssvc_decision) Not assessed
SSVC decision points and assumptions (ssvc_basis) Not assessed: a fixture has no mission or deployed system, so Mission Prevalence and Public Well-Being Impact have no answer, and Exploitation was not researched for this example

๐Ÿงฌ Weakness & Attack Pattern

Field Value
CWE (cwe_id) CWE-502
CWE mapping note (cwe_mapping_note) The advisory and grype record CWE-20, a Class whose CWE 5.0 mapping label is DISCOURAGED. The advisory describes arbitrary code execution when untrusted YAML is loaded through full_load or FullLoader, so the root cause is mapped to Base weakness CWE-502 Deserialization of Untrusted Data (label ALLOWED)
CAPEC (capec_id) CAPEC-586
CVE, GHSA or vendor IDs (external_ids) CVE-2020-14343; GHSA-8q59-q68h-6hv4 (first patched version 5.4)

๐Ÿ“ Description & Impact

Field Value
Description (description) The fixture pins PyYAML 5.3.1. The advisory says versions before 5.4 can run arbitrary code when they process untrusted YAML through full_load or FullLoader, which was an incomplete fix for CVE-2020-1747
Impact (impact) In a real service that parsed untrusted YAML with these loaders, an attacker could run code with the service's privileges. The fixture runs nothing, so no impact occurred
Prerequisites (prerequisites) The application must load attacker-supplied YAML with full_load or FullLoader

๐Ÿ” Reproduction & Evidence

Field Value
Reproduction steps (reproduction_steps) Run the supply-chain lab case vuln-positive-pyyaml-5.3.1: syft writes a CycloneDX SBOM of the fixture, then grype scans it with --fail-on critical. Expected and observed: exit code 2 and a match for GHSA-8q59-q68h-6hv4
Evidence reference (evidence_reference) ContainerSecurity/labs/supply-chain/evidence/ci-run-46226817429.json, case vuln-positive-pyyaml-5.3.1; the hash below is the fixture input's SHA-256 as recorded in that evidence
Evidence SHA-256 (evidence_sha256) 19717806b8681785ecba27917db5b5e3c71b5afa7de85bc26be8ba70b95d1c11

๐Ÿ› ๏ธ Remediation

Field Value
Root cause (root_cause) Dependency pinned below the first patched release, with no dependency check before the pin was merged (scenario assumption)
Short-term remediation (remediation_short_term) Pin PyYAML 5.4 or later, the first patched version in the advisory. The lab's patched fixture pins 5.4.1
Long-term remediation (remediation_long_term) Review every YAML load of untrusted input and use a loader that does not build arbitrary Python objects. Keep an SBOM scan with --fail-on critical as a required CI check
Remediation owner (remediation_owner) Developer B (synthetic role), owner-b@example.test

โœ… Retest Criteria

Field Value
Retest procedure (retest_procedure) Repeat the same syft and grype steps on the remediated pin (lab case vuln-negative-pyyaml-5.4.1)
Acceptance criteria (acceptance_criteria) grype reports no match for GHSA-8q59-q68h-6hv4 and --fail-on critical exits 0

Related Files


โฌ…๏ธ Templates index | Master Index | ๐ŸŽฏ Role Navigation | Legal Notice


๐Ÿ“„ Source: Templates/examples/vulnerability-finding-example.md | โœ๏ธ Suggest an edit | โฌ…๏ธ Back to Report Templates

Clone this wiki locally