Vulnerability Details : CVE-2021-4235
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2021-4235
- cpe:2.3:a:yaml_project:yaml:*:*:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-4235
0.03%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 4 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-4235
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-04-11 |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
References for CVE-2021-4235
-
https://pkg.go.dev/vuln/GO-2021-0061
GO-2021-0061 - Go PackagesThird Party Advisory
-
https://github.com/go-yaml/yaml/pull/375
Add a decoder option to limit the number of unmarshalled values by simonferquel · Pull Request #375 · go-yaml/yaml · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
Add logic to catch cases of alias abuse. · go-yaml/yaml@bb4e33b · GitHubPatch;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
[SECURITY] [DLA 3479-1] golang-yaml.v2 security update
Jump to