CVE-2022-3064Yaml Project Yaml
High 7.5 No auth needed
Follow: this CVE · Yaml Project · Yaml Project Yaml We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Dec 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.
What to do
- Apply the vendor's security update for Yaml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | gopkg.in/yaml.v2 |
< 2.2.4 |
2.2.4 |
go get gopkg.in/yaml.v2@v2.2.4 |
| Go | gopkg.in/yaml.v2 |
< 2.2.4 |
2.2.4 |
go get gopkg.in/yaml.v2@v2.2.4 |
Per OSV / GitHub Advisories (GHSA-6q6q-88xp-6f2r, GO-2022-0956). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yaml_project | yaml | < 2.2.4 |
Official advisories
- Red Hat Security Advisory: container-tools:4.0 security and bug fix update · Red Hat · RHSA-2023:6938 · Oct 21, 2024 Medium
- Red Hat Security Advisory: container-tools:rhel8 security and bug fix update · Red Hat · RHSA-2023:6939 · Oct 21, 2024 Medium
- Red Hat Security Advisory: toolbox security and bug fix update · Red Hat · RHSA-2023:6346 · Oct 2, 2024 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- pkg.go.dev Patch Vendor Advisory