Advisory

GHSA-r88r-gmrh-7j83

Also known as: CVE-2021-4235, GO-2021-0061

Summary

YAML Go package vulnerable to denial of service

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-28 00:30 UTC
Modified
2026-09-10 03:49 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, last affected 2.1.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences