cve.bz

CVE-2021-4235

5.5 mediumEPSS 0.4%

Medium (5.5) in yaml project yaml. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in gopkg.in/yaml.v2 2.2.3.

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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.4% chance of exploitation in the next 30 days; higher than 37% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r88r-gmrh-7j83Gogopkg.in/yaml.v2<2.2.32.2.3
GHSA-r88r-gmrh-7j83Gogithub.com/go-yaml/yaml<=2.1.0no fix published
GO-2021-0061Gogopkg.in/yaml.v2<2.2.32.2.3
GO-2021-0061Gogithub.com/go-yaml/yamlall versionsno fix published

References

Check your stackJSON