ADVISORIES

Ubuntu Security Notice

USN-6287-1

golang-yaml.v2 vulnerabilities

Details

Simon Ferquel discovered that the Go yaml package incorrectly handled certain YAML documents. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause the system to crash, resulting in a denial of service. (CVE-2021-4235)

It was discovered that the Go yaml package incorrectly handled certain large YAML documents. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause the system to crash, resulting in a denial of service. (CVE-2022-3064)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSgolang-yaml.v2
All versions before 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1 (fixed in 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSgolang-yaml.v2
All versions before 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 (fixed in 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1)
Ubuntu:20.04:LTSgolang-yaml.v2
All versions before 2.2.2-1ubuntu0.1 (fixed in 2.2.2-1ubuntu0.1)

References