Skip to main content
No exploitation reportedFix available

CVE-2022-28948

No exploitation reported by the sources we read.

  • Published2022-05-19
  • Fixed in3.0.1 · 3.0.0-20220521103104-8f96da9f5d5e
  • WeaknessCWE-502

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2022-05-1920:15CVE publishedNVD

Versions per branch

OSV · NVD
gopkg.in/yaml.v3
BranchAffectedFixed in
3.0< 3.0.13.0.1
3.0< 3.0.0-20220521103104-8f96da9f5d5e3.0.0-20220521103104-8f96da9f5d5e
Netapp astra trident
BranchAffectedFixed in
—all versionsno fix published
Yaml project yaml
BranchAffectedFixed in
3.0= 3.0.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cert-manager-webhook-pdns-fipsCleanStartall versions · fixed in 2.3.0-r0
  • corednsSUSE:Package Hub 15 SP6all versions · fixed in 1.11.3-bp156.4.3.1
  • corednsopenSUSE:Tumbleweedall versions · fixed in 1.10.0-1.1
  • corednsopenSUSE:Leap 15.6all versions · fixed in 1.11.3-bp156.4.3.1
  • corednsCleanStartall versions · fixed in 1.9.3-r0
  • corednsAlpine:v3.25all versions · fixed in 1.9.3-r0
  • corednsAlpine:v3.24all versions · fixed in 1.9.3-r0
  • corednsAlpine:v3.23all versions · fixed in 1.9.3-r0

38 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-28948 Red Hat Product Security8 products fixed · 4 known affected

    golang-gopkg-yaml: crash when attempting to deserialize invalid input

    ocs4/cephcsi-rhel8 as a component of Red Hat Openshift Container Storage 4 · ocs4/mcg-rhel8-operator as a component of Red Hat Openshift Container Storage 4 · ocs4/ocs-must-gather-rhel8 as a component of Red Hat Openshift Container Storage 4 · +1 more

  • RHSA-2024:4631 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.15.0 release

  • RHSA-2022:4985 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: Cryostat 2.1.1: new Cryostat on RHEL 8 container images

Full record on NVD

Fix

  1. Update gopkg.in/yaml.v3 to 3.0.1 · 3.0.0-20220521103104-8f96da9f5d5e
  2. Vendor fix Red Hat Product Security RHSA-2024:4631 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2022:4985 · 5 productsThe Cryostat 2 on RHEL 8 container images provided by this update can be downloaded from the Red Hat Container Registry at registry.redhat.io. Installation instructions for your platform are available at Red Hat Container Catalog (see References). Dockerfiles and scripts should be amended either t…
  4. No fix planned, says the vendor Red Hat Product Security CVE-2022-28948 · 4 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2022-05-19
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-hp87-p4gw-j4gq

Frequently asked questions

What is CVE-2022-28948?

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

Is CVE-2022-28948 actively exploited?

Active exploitation of CVE-2022-28948 has not been confirmed. Its EPSS score was 4.0% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-28948?

CVE-2022-28948 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running golang-gopkg-yaml? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record