CVE-2021-4235
Denial of service in gopkg.in/yaml.v2
- State
- Published
- Severity
- 5.5 Medium
- Published
- Dec 27, 2022
- Updated
- Apr 11, 2025
- Reserved
- Jul 29, 2022
Description
Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | CISA-ADP |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
gopkg.in/yaml.v2gopkg.in/yaml.v2 |
|
github.com/go-yaml/yamlgithub.com/go-yaml/yaml |
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.