CVE-2022-28948
HIGH 7.5CVSS 3.1gopkg.in/yaml.v3 Denial of Service
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.
- Published
- 19 May 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-hp87-p4gw-j4gqGO-2022-0603
- Sources
- NVDJSONOSV GHSA-hp87-p4gw-j4gqJSONOSV GO-2022-0603JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yaml_project | yamlcpe:2.3:a:yaml_project:yaml:3.0.0:*:*:*:*:go:*:* |
= 3.0.0 | |
| NVD | netapp | astra_tridentcpe:2.3:a:netapp:astra_trident:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Go | gopkg.in/yaml.v3 | < 3.0.1 | 3.0.1 |
| OSV | Go | gopkg.in/yaml.v3 | < 3.0.0-20220521103104-8f96da9f5d5e | 3.0.0-20220521103104-8f96da9f5d5e |
References
- https://github.com/go-yaml/yaml/issues/666 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220923-0006/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-28948 · ADVISORY
- https://github.com/go-yaml/yaml/issues/665 · WEB
- https://github.com/go-yaml/yaml/commit/8f96da9f5d5eff988554c1aae1784627c4bf6754 · WEB, FIX
- https://github.com/go-yaml/yaml/commit/f6f7691b1fdeb513f56608cd2c32c51f8194bf51 · WEB
- https://github.com/go-yaml/yaml · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 May 2022)