cve.bz

CVE-2022-28948 Deserialization of Untrusted Data

7.5 highExploit referenceEPSS 4.0%Fix available

High (7.5). EPSS 4.0% estimated probability of exploitation activity in the next 30 days. Fixed in gopkg.in/yaml.v3 3.0.0-20220521103104-8f96da9f5d5e, 3.0.1.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.0% (unchanged from 4.0% a week ago; 4.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-28948 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-28948?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-28948?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-28948 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
yaml_project:yaml3.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hp87-p4gw-j4gqGogopkg.in/yaml.v3<3.0.13.0.1
GO-2022-0603Gogopkg.in/yaml.v3<3.0.0-20220521103104-8f96da9f5d5e3.0.0-20220521103104-8f96da9f5d5e

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-gopkg-yaml.v33.0.1-1DEBIAN-CVE-2022-28948
Ubuntu20.04:LTSsnapd2.63+20.04ubuntu0.1UBUNTU-CVE-2022-28948
Ubuntu22.04:LTSgolang-gopkg-yaml.v3no fix listedUBUNTU-CVE-2022-28948
Ubuntu22.04:LTSsnapd2.63+22.04ubuntu0.1UBUNTU-CVE-2022-28948
Ubuntu24.04:LTSsnapd2.62+24.04build1UBUNTU-CVE-2022-28948
UbuntuPro:16.04:LTS, Pro:18.04:LTSsnapdno fix listedUBUNTU-CVE-2022-28948
SUSELinux Enterprise High Availability Extension 16.0hawk-apiserver0.1.0+git.1781014483.1c464f2-160000.1.1SUSE-SU-2026:22997-1
SUSELinux Enterprise Micro 5.1ignition2.14.0-150300.4.16.1SUSE-SU-2025:02998-1
SUSELinux Enterprise Micro 5.2ignition2.14.0-150300.6.16.1SUSE-SU-2025:03000-1
SUSELinux Enterprise Micro 5.3ignition2.14.0-150400.4.12.1SUSE-SU-2025:02999-1
SUSELinux Enterprise Module for HPC 15 SP6, Linux Enterprise Module for HPC 15 SP7ignition2.14.0-150400.9.12.1SUSE-SU-2025:03001-1
SUSEPackage Hub 15 SP6coredns1.11.3-bp156.4.3.1openSUSE-SU-2024:0319-1
openSUSELeap 15.6coredns1.11.3-bp156.4.3.1openSUSE-SU-2024:0319-1
openSUSELeap 15.6ignition2.14.0-150400.9.12.1SUSE-SU-2025:03001-1
openSUSELeap 16.0hawk-apiserver0.1.0+git.1781014483.1c464f2-160000.1.1openSUSE-SU-2026:21457-1
openSUSETumbleweedcoredns1.10.0-1.1openSUSE-SU-2024:12490-1
openSUSETumbleweedcri-o1.36.7-1.1openSUSE-SU-2026:12626-1
openSUSETumbleweedpercona-toolkit3.7.1.4-1.1openSUSE-SU-2026:12166-1
openSUSETumbleweedtraefik3.5.1-1.1openSUSE-SU-2025:15529-1
openSUSETumbleweedtraefik22.11.29-1.1openSUSE-SU-2025:15510-1
Alpinev3.16, v3.17, v3.18 and 6 morecoredns1.9.3-r0ALPINE-CVE-2022-28948
Azure Linux2kured1.13.2-1AZL-31966

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat has designated the CVE rating as 'moderate' as exploitation of Red Hat products is contingent upon the attacker being authenticated when sending the malicious XML payload.

ProductPackageStateAdvisory
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-operator-bundle:2.1.1-2Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-reports-rhel8:1.0.0-2Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8:2.1.1-1Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:2.1.1-1Fixed 2022-06-09RHSA-2022:4985
Cryostat 2 on RHEL 8cryostat-tech-preview/jfr-datasource-rhel8:2.1.0-2Fixed 2022-06-09RHSA-2022:4985
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/devspaces-rhel8-operator:3.15-10Fixed 2024-07-18RHSA-2024:4631
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Not affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Not affected
Cost Management Metrics Operatorcostmanagement-metrics-operator-containerNot affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8-operatorNot affected
Migration Toolkit for Applications 6mta/mta-admin-addon-rhel8Not affected
Migration Toolkit for Applications 6mta/mta-hub-rhel9Not affected
Migration Toolkit for Applications 6mta/mta-windup-addon-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-controller-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-aws-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-gcp-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-microsoft-azure-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-velero-plugin-rhel8Not affected
172 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-28948.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON