USN-6287-1

Type: Security
Severity: Medium
Published: 2023-08-14
Ubuntu 20.04 LTS (Focal Fossa)

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) Update Instructions: Run `sudo pro fix USN-6287-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: golang-yaml.v2-dev - 2.2.2-1ubuntu0.1 golang-gopkg-yaml.v2-dev - 2.2.2-1ubuntu0.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:52:44.004Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T06:52:44.004Z UTC. Last updated 2025-11-26T08:09:05.243Z UTC.

Upstream Advisory

Affected Packages

  • golang-yaml.v2-dev 2.2.2-1ubuntu0.1-2.2.2-1ubuntu0.1

  • golang-gopkg-yaml.v2-dev 2.2.2-1ubuntu0.1-2.2.2-1ubuntu0.1

Interested in being alerted when there are new versions of golang-yaml.v2-dev and the other packages? Set up an alert.
USN-6287-1: Go yaml vulnerabilities | Package Alert