Medium severity · published Dec 27, 2022
CVE-2021-4235
Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources
5.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YA
Yaml · Yaml Project
before 2.2.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-4235
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-4235
Patch
https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
Exploit
https://github.com/go-yaml/yaml/pull/375
lists.debian.org
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
Third Party Advisory
https://pkg.go.dev/vuln/GO-2021-0061
More from Yaml
7.5
CVE-2023-2251
Uncaught Exception in GitHub repository eemeli/yaml prior to 2.0.0-5
7.5
CVE-2022-3064
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory
7.5
CVE-2022-28948
An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input
