CVE-2022-3064
CVE-2022-3064 · Excessive resource consumption in gopkg.in/yaml.v2
CVSS 7.5 · High · EPSS 1.9% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- gopkg.in/yaml.v2Update to 2.2.4
- golang-yaml.v2 Debian 12Update to 2.2.8-1
- golang-yaml.v2 Debian 13Update to 2.2.8-1
- golang-yaml.v2 Debian 14Update to 2.2.8-1
- and 20 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-yaml.v2"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.
- Published
- Updated
Fixes in distributions
- RLSA-2023:6938 · Rocky Linux 8 ·
- RLSA-2023:6939 · Rocky Linux 8 ·
- RHSA-2024:10784 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2024:10759 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
- RHSA-2023:6938 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2023:6939 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2023:6346 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2024:4443 · Red Hat rhel eus 9.2 appstream ·
- RHSA-2023:1275 · Red Hat openstack 16.1 el8, Red Hat openstack 16.2 el8 ·
- RHSA-2023:1014 · Red Hat openstack 17.0 el9 ·
- ALSA-2023:6938 · AlmaLinux 8 ·
- ALSA-2023:6939 · AlmaLinux 8 ·
- ALSA-2023:6346 · AlmaLinux 9 ·
- USN-6287-1 · Ubuntu 20.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
- DLA-3479-1 · Debian 10 ·
Stack: system
Affected products and versions
gopkg.in/yaml.v2
- Versions
- ≥ 0, < 2.2.4: Affected (semver)
Update to 2.2.4
golang-yaml.v2 Debian 12
- Affected ranges
- ECOSYSTEM: < 2.2.8-1
Update to 2.2.8-1
golang-yaml.v2 Debian 13
- Affected ranges
- ECOSYSTEM: < 2.2.8-1
Update to 2.2.8-1
golang-yaml.v2 Debian 14
- Affected ranges
- ECOSYSTEM: < 2.2.8-1
Update to 2.2.8-1
golang-yaml.v2 Ubuntu Pro 16.04 LTS
- Versions
- 0.0+git20150627.7ad95dd-1
- 0.0+git20160301.0.a83829b-1
- Affected ranges
- ECOSYSTEM: < 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1
Update to 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1
golang-yaml.v2 Ubuntu Pro 18.04 LTS
- Versions
- 0.0+git20170407.0.cd8b52f-1ubuntu1
- 0.0+git20170407.0.cd8b52f-1ubuntu2
- Affected ranges
- ECOSYSTEM: < 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1
Update to 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1
singularity-container Ubuntu Pro 18.04 LTS
- Versions
- 2.3.1-2
- 2.3.2-1
- 2.4.1-1
- 2.4.2-2
- 2.4.2-3
- 2.4.2-4
All versions (7)
- 2.4.2-4ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
webhook Ubuntu 18.04 LTS
- Versions
- 2.5.0-1
- 2.5.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-yaml.v2 Ubuntu 20.04 LTS
- Versions
- 2.2.2-1
- Affected ranges
- ECOSYSTEM: < 2.2.2-1ubuntu0.1
Update to 2.2.2-1ubuntu0.1
golang-github-coreos-discovery-etcd-io Ubuntu 20.04 LTS
- Versions
- 2.0.0+git2019.04.19.git.78fb45d3c9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
webhook Ubuntu 20.04 LTS
- Versions
- 2.6.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-coreos-discovery-etcd-io Ubuntu 22.04 LTS
- Versions
- 2.0.0+git2019.04.19.git.78fb45d3c9-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
webhook Ubuntu 22.04 LTS
- Versions
- 2.6.9-1build2
- 2.8.0-3
- 2.8.0-3ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-coreos-discovery-etcd-io Ubuntu 24.04 LTS
- Versions
- 2.0.0+git2019.04.19.git.78fb45d3c9-4build1
- 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.1
- 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.2
- 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
webhook Ubuntu 24.04 LTS
- Versions
- 2.8.0-4build1
- 2.8.0-4ubuntu0.24.04.1
- 2.8.0-4ubuntu0.24.04.2
- 2.8.0-4ubuntu0.24.04.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
singularity-container Ubuntu Pro 24.04 LTS
- Versions
- 4.1.1+ds2-1
- 4.1.1+ds2-1build1
- 4.1.1+ds2-1ubuntu0.1
- 4.1.1+ds2-1ubuntu0.2
- 4.1.1+ds2-1ubuntu0.2+esm1
- 4.1.1+ds2-1ubuntu0.3
All versions (8)
- 4.1.1+ds2-1ubuntu0.3+esm1
- 4.1.1+ds2-1ubuntu0.3+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-coreos-discovery-etcd-io Ubuntu 25.10
- Versions
- 2.0.0+git2019.04.19.git.78fb45d3c9-4build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
singularity-container Ubuntu 25.10
- Versions
- 4.1.5+ds4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
webhook Ubuntu 25.10
- Versions
- 2.8.0-4build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-coreos-discovery-etcd-io Ubuntu 26.10
- Versions
- 2.0.0+git2019.04.19.git.78fb45d3c9-4build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
webhook Ubuntu 26.10
- Versions
- 2.8.0-4build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-coreos-discovery-etcd-io Ubuntu 26.04 LTS
- Versions
- 2.0.0+git2019.04.19.git.78fb45d3c9-4build1
- 2.0.0+git2019.04.19.git.78fb45d3c9-4build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
singularity-container Ubuntu 26.04 LTS
- Versions
- 4.1.5+ds4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
webhook Ubuntu 26.04 LTS
- Versions
- 2.8.0-4build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5
- https://github.com/go-yaml/yaml/releases/tag/v2.2.4
- https://pkg.go.dev/vuln/GO-2022-0956
- https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG/
- https://nvd.nist.gov/vuln/detail/CVE-2022-3064