
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-4235 is a vulnerability in the go-yaml library that was discovered and disclosed in December 2022. The vulnerability affects the YAML parsing functionality, where due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. This vulnerability affects multiple versions of go-yaml.v2 before version 2.2.3 (Go Vuln DB).
The vulnerability has a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The issue occurs when parsing YAML files containing excessive aliasing, where unbounded alias chasing can lead to exponential resource consumption. The vulnerability was addressed in version 2.2.3 by implementing checks for excessive aliasing and monitoring the percentage of aliases in the overall document (NVD).
When exploited, this vulnerability can lead to a denial of service condition by causing the system to consume excessive CPU and memory resources. This is particularly concerning when parsing user input, as it could be used as a denial of service vector against systems that process YAML files (Ubuntu Security).
The primary mitigation is to upgrade to go-yaml.v2 version 2.2.3 or later, which includes the fix for this vulnerability. The fix implements internal handling that considers the percentage of aliases in the overall document and monitors the depth of alias chasing. Various Linux distributions have also released security updates, including Debian which fixed the issue in version 2.2.2-1+deb10u1 (Debian LTS).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."