CVE-2022-3064 | Excessive resource consumption in gopkg.in/yaml.v2

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.

Published: 2022-12-27 Last update: 2025-04-14 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-3064 is rated Moderate Risk (59.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.23%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-3064

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-17 2.36% 2.23% -0.14%
2 2026-04-29 2.22% 2.36% +0.14%
3 2026-04-26 2.22%

Full EPSS history (35 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-3064

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2022-3064

GitHub Security Advisory for CVE-2022-3064

GHSA-6q6q-88xp-6f2r · Severity: high · Ecosystem: go — yaml package for Go can consume excessive amounts of CPU or memory

OS Trackers for CVE-2022-3064

vendor priority summary link
alpine CVE-2022-3064: 1 source package rows (yaml); 6 state rows across 6 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, 3.23-main, edge-main); fixed 0, open 6. https://security.alpinelinux.org/vuln/CVE-2022-3064
debian not yet assigned CVE-2022-3064 not yet assigned priority: Debian including 1 source packages (golang-yaml.v2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-3064
redhat high https://access.redhat.com/security/cve/CVE-2022-3064
ubuntu medium CVE-2022-3064 medium priority: Ubuntu including 6 source packages (golang-github-coreos-discovery-etcd-io, golang-gopkg-yaml.v3, golang-yaml.v2, kubernetes, singularity-container, webhook), 76 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 29, not-affected 17, needs-triage 13, DNE 9, needed 4, released 4. https://ubuntu.com/security/CVE-2022-3064

Affected software / configurations for CVE-2022-3064

Vendor Product Version Raw CPE
yaml_project yaml < 2.2.4 cpe:2.3:a:yaml_project:yaml:*:*:*:*:*:go:*:*

References for CVE-2022-3064

URL Tags
https://github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5 Patch Third Party Advisory
https://github.com/go-yaml/yaml/releases/tag/v2.2.4 Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP/
https://lists.fedoraproject.org/archives/list/[email protected]/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG/
https://lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
https://lists.fedoraproject.org/archives/list/[email protected]/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT/
https://lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
https://pkg.go.dev/vuln/GO-2022-0956 Patch Vendor Advisory
cvelogic Threat Intelligence