VDB
CVE-2022-3064
CVE-2022-3064
PUBLISHED
CVSS 7.5 HIGH
yaml package for Go can consume excessive amounts of CPU or memory
Record from NVD · Published August 29, 2022
gopkg.in/yaml.v2 is fixed in 2.2.4 (Go Modules)
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.
EPSS 1.87% · 79.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gopkg.in/yaml.v2 | Go Modules | 2.2.4 |
| gopkg.in/yaml.v3 | Go Modules | 2.2.4 |
| k3d | Chainguard | 5.6.0-r11 |
| dex-k8s-authenticator | Chainguard | 1.4.0-r34 |
| k3d | Wolfi | 5.6.0-r11 |
| yaml | yaml_project | 2.2.4 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
1.87%
79.9th percentile
Affected products
| Vendor | Product | Versions |
|---|---|---|
| yaml_project | yaml | 0 |
Timeline
- Aug 29, 2022 CVE Published
- Dec 28, 2022 EPSS Score (30 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (13 in total, the first dated here)
- Mar 21, 2026 Security Advisory (14 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Jun 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-3064
vulnetix vdb fixes CVE-2022-3064
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-3064/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html advisory
- https://github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5 fix
- https://github.com/go-yaml/yaml/releases/tag/v2.2.4 fix
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP/ technical
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG/ technical
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/ technical
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT/ technical
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/ technical
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/ technical
- https://pkg.go.dev/vuln/GO-2022-0956 patch