← Back to Supply Chain Reports
Packablock Supply Chain Intelligence Report SBOM Insights
REF: YAML-IN-KUBERNETES-1-31 · UPDATED: 2026-09-24

What version of YAML is in Kubernetes 1.31?

Kubernetes v1.31.0 • Package type: GO • pkg:golang/k8s.io/kubernetes@v1.31.0
Summary

Kubernetes v1.31.0 utilizes sigs.k8s.io/yaml v1.4.0 to parse and convert incoming YAML manifests into JSON across the API server, kubectl, and kubelet. It unmarshals YAML into Go structs using standard JSON schema tags, while pinning gopkg.in/yaml.v3 v3.0.1 for duplicate key rejection.

🔗 Dependency Relationship

Package Version Relationship Ingestion Scope Package URL (PURL)
sigs.k8s.io/yaml Target v1.4.0 Direct Dependency ↳ Direct root manifest dependency pkg:golang/sigs.k8s.io/yaml@v1.4.0
gopkg.in/yaml.v3 v3.0.1 Direct Dependency ↳ Imported transitively by 2 sub-dependencies pkg:golang/gopkg.in/yaml.v3@v3.0.1
gopkg.in/yaml.v2 v2.4.0 Transitive Dependency ↳ Imported transitively by 14 sub-dependencies pkg:golang/gopkg.in/yaml.v2@v2.4.0
Analysis

Kubernetes 1.31 resolves YAML parsing through a dual-parser architecture. At the admission control and API boundary, sigs.k8s.io/yaml v1.4.0 acts as a strict bridge by transcoding YAML manifests into intermediate JSON representations before schema deserialization. This enforces YAML 1.2 plain-string semantics and neutralizes the Norway problem. Concurrently, gopkg.in/yaml.v3 v3.0.1 is integrated to provide strict duplicate key rejection, while legacy gopkg.in/yaml.v2 v2.4.0 remains pinned transitively across auxiliary CLI sub-packages, creating subtle parser divergence risks if external CRD operators bypass the standard sigs.k8s.io/yaml pipeline. (source: Kubernetes SIGs) ↗ (source: Go-YAML / Canonical) ↗

Deterministic baseline metadata collected on-demand from the upstream Google deps.dev v3 package graph without repository checkout.

Total Upstream Deps deps.dev ↗
52 direct · 360 transitive
Release Date pkg.go.dev ↗
GO Modules (pkg:go)
Software Licenses
4 Distinct
Primary: Apache-2.0
Graph OpenSSF Avg
7.2 / 10
Supply Chain Posture
Vulnerabilities Evaluated
2 Target · 6 Host
0 Active CISA KEV
Package Type FAQ ↗
● pkg:golang

Supply Chain Governance

Kubernetes 1.31 is regulated by the following European Union and United States supply chain directives and security frameworks:

Regulatory Body Directive / Framework Official Identifier Statutory Scope & Classification Official Directive
European Union / European Commission EU Cyber Resilience Act (CRA) Regulation (EU) 2024/2847 Important Product with Digital Elements (Class I / Cloud Infrastructure Control Plane) Directive Text ↗
ENISA / European Commission NIS2 Directive Directive (EU) 2022/2555 Digital Infrastructure & Cloud Services (Annex I - Essential Entity) Directive Text ↗
NIST / US CISA Secure Software Development Framework (SSDF) NIST SP 800-218 v1.1 Federal Software Supply Chain Policy & Dependency Provenance Directive Text ↗

Authoritative Verified Facts & Advisories

Authoritative weakness definitions, CVE records, and predictive EPSS weaponization telemetry partitioned by target dependency and host container environment.

Target Package Advisories & Weaknesses: sigs.k8s.io/yaml

5 Verified Records
MITRE CWE CWE-704 Likelihood: Low/Medium
Official Reference ↗
CWE-704: Incorrect Type Conversion or Cast

Implicit coercion of unquoted country code tokens (e.g. NO) into boolean false in YAML 1.1 parsers.

MITRE CWE CWE-471 Likelihood: Medium
Official Reference ↗
CWE-471: Modification of Assumed-Immutable Data (Duplicate Map Keys)

Shadow key injection where trailing duplicate dictionary keys overwrite earlier security parameters in lax parsers.

MITRE CWE CWE-732 Top 25: #22 (Score 4.88)
Official Reference ↗
CWE-732: Incorrect Permission Assignment for Critical Resource

Leading-zero octal permission radix interpretation differences in volume mount defaultMode (0755 vs 0o755).

CVE.ORG CVE-2022-28948 EPSS: 3.97% (90.1th pctl)
Official Reference ↗
CVE-2022-28948: gopkg.in/yaml.v3 Alias Resolution Crash

Stack exhaustion / crash during untrusted YAML deserialization when resolving deeply nested anchor aliases.

CVE.ORG CVE-2022-3064 EPSS: 1.7% (76.2th pctl)
Official Reference ↗
CVE-2022-3064: gopkg.in/yaml.v2 Memory Consumption

Excessive memory allocation in legacy yaml.v2 unmarshaler when processing maliciously crafted documents.

Host Application Advisories: Kubernetes v1.31.0

Deduplicated from 11 advisory records indexed by Google deps.dev and OSV · 0 Active CISA KEV
6 Distinct CVEs Monitored
CVE.ORG CVE-2024-9042 EPSS: 1.37% (70.8th pctl) Not Weaponized
Official Reference ↗
CVE-2024-9042: Command Injection on Windows Nodes via nodes/proxy

Command injection vulnerability affecting Windows nodes via nodes/proxy subresource allows privileged remote code execution.

CVE.ORG CVE-2025-1767 EPSS: 0.55% (45.1th pctl) Not Weaponized
Official Reference ↗
CVE-2025-1767: GitRepo Volume Inadvertent Local Repository Access

GitRepo volume plugin parameter validation flaw permits unauthorized access to local repositories during volume mounting.

CVE.ORG CVE-2025-5187 EPSS: 0.54% (44.5th pctl) Not Weaponized
Official Reference ↗
CVE-2025-5187: Node Deletion via Malicious OwnerReference Injection

Garbage collector weakness allows compromised node identities to cause cascading deletion of arbitrary Node objects.

CVE.ORG CVE-2025-13281 EPSS: 0.39% (32.8th pctl) Not Weaponized
Official Reference ↗
CVE-2025-13281: Half-Blind SSRF in kube-controller-manager

Half-blind Server-Side Request Forgery vulnerability in kube-controller-manager volume lifecycle controller.

CVE.ORG CVE-2025-0426 EPSS: 0.37% (31.1th pctl) Not Weaponized
Official Reference ↗
CVE-2025-0426: Node Denial of Service via Kubelet Checkpoint API

Resource exhaustion flaw in kubelet checkpointing endpoint enables unauthenticated local callers to crash worker node processes.

CVE.ORG CVE-2024-7598 EPSS: 0.31% (24.6th pctl) Not Weaponized
Official Reference ↗
CVE-2024-7598: Race Condition in kube-apiserver Token Caching

Race condition in kube-apiserver webhook token authenticator cache triggers transient authorization drops under concurrency.

Baseline dependency metadata indexed from Google deps.dev v3 API and FIRST.org EPSS telemetry.

Lock Down Your Kubernetes Supply Chain with Packablock

Don't guess which dependencies or runtime engines are running in your environment. Packablock creates an immutable cryptographic ledger (`packablock.yaml`) for every dependency lockfile modification.

Start Free Supply Chain Attestation →