Advisory

USN-6287-1

Also known as: CVE-2021-4235, CVE-2022-3064

Summary

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)

Severity

Not rated by the source.

Dates

Published
2023-08-14 08:42 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

golang-yaml.v2

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.2.2-1ubuntu0.1 (ecosystem)

Fixed versions

2.2.2-1ubuntu0.1

Fix

  • Fixed version 2.2.2-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences