CVE-2021-4235

published 27 Dec 2022 · updated 16 Nov 2026

Denial of service in gopkg.in/yaml.v2

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
github.com/go-yaml/yaml
gopkg.in/yaml.v2<2.2.32.2.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-4235 severity on Zeptric[![CVE-2021-4235](https://zeptric.io/badge/cve/CVE-2021-4235.svg)](https://zeptric.io/cve/CVE-2021-4235)