Advisory

GO-2020-0036

Also known as: CVE-2019-11254, GHSA-wxc4-f4m6-wwqv

Summary

Excessive resource consumption in YAML parsing in gopkg.in/yaml.v2

Details

Due to unbounded aliasing, a crafted YAML file can cause consumption of significant system resources. If parsing user supplied 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 04:18 UTC

Affected packages and fixes

gopkg.in/yaml.v2

Go · All systems

Affected

  • introduced 0, fixed 2.2.8 (semver)

Fixed versions

2.2.8

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