CVEfocus › CVE database › CVE-2022-28948

CVE-2022-28948

CVSS 7.5 HighEPSS 2.1% (higher than 82% of CVEs)Published 2022-05-19Updated 2024-08-03Assigner: mitre

An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.

What to do

Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
3Fix pending
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04golang-gopkg-yaml.v3Not affected
vulnerable_code_not_present
Ubuntu 26.04golang-yaml.v2Not affected
vulnerable_code_not_present
Ubuntu 25.10golang-gopkg-yaml.v3Not affected
vulnerable_code_not_present
Ubuntu 25.10golang-yaml.v2Not affected
vulnerable_code_not_present
Ubuntu 24.04golang-gopkg-yaml.v3Not affected
vulnerable_code_not_present
Ubuntu 24.04golang-yaml.v2Not affected
vulnerable_code_not_present
Ubuntu 24.04snapdFixed2.62+24.04build1UBUNTU-CVE-2022-28948
Ubuntu 22.04golang-gopkg-yaml.v3Fix pendingUBUNTU-CVE-2022-28948
Ubuntu 22.04golang-yaml.v2Not affected
vulnerable_code_not_present
Ubuntu 22.04snapdFixed2.63+22.04ubuntu0.1UBUNTU-CVE-2022-28948
Ubuntu 20.04golang-yaml.v2Not affected
vulnerable_code_not_present
Ubuntu 20.04snapdFixed2.63+20.04ubuntu0.1UBUNTU-CVE-2022-28948
Ubuntu 18.04snapdFix pendingUBUNTU-CVE-2022-28948
Ubuntu 16.04golang-goyamlNot affected
vulnerable_code_not_present
Ubuntu 16.04golang-yaml.v2Not affected
vulnerable_code_not_present
Ubuntu 16.04snapdFix pendingUBUNTU-CVE-2022-28948
Ubuntu 14.04golang-goyamlNot affected
vulnerable_code_not_present
Debian 14golang-gopkg-yaml.v3Fixed3.0.1-1DEBIAN-CVE-2022-28948
Debian 13golang-gopkg-yaml.v3Fixed3.0.1-1DEBIAN-CVE-2022-28948
Debian 12golang-gopkg-yaml.v3Fixed3.0.1-1DEBIAN-CVE-2022-28948
Alpine Linux 3.24corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.23corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.22corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.21corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.20corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.19corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.18corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.17corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Alpine Linux 3.16corednsFixed1.9.3-r0ALPINE-CVE-2022-28948
Go librarygopkg.in/yaml.v3Fixed3.0.0-20220521103104-8f96da9f5d5eGHSA-hp87-p4gw-j4gq

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.