Advisory

GO-2021-0061

Also known as: CVE-2021-4235, GHSA-r88r-gmrh-7j83

Summary

Denial of service in gopkg.in/yaml.v2

Details

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

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2026-02-04 03:07 UTC

Affected packages and fixes

gopkg.in/yaml.v2

Go · All systems

Affected

  • introduced 0, fixed 2.2.3 (semver)

Fixed versions

2.2.3

Fix

github.com/go-yaml/yaml

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences