CVE-2021-4235

NameCVE-2021-4235
DescriptionDue 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3479-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-yaml.v2 (PTS)buster2.2.2-1vulnerable
buster (security)2.2.2-1+deb10u1fixed
bullseye2.4.0-1fixed
sid, trixie, bookworm2.4.0-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-yaml.v2sourcebuster2.2.2-1+deb10u1DLA-3479-1
golang-yaml.v2source(unstable)2.2.8-1

Notes

https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241 (v2.2.3)
https://github.com/go-yaml/yaml/pull/375
https://pkg.go.dev/vuln/GO-2021-0061

Search for package or bug name: Reporting problems