CVE-2022-28948: High severity yaml go vulnerability

Published May 19, 2022
·
Updated

A flaw was found in the Unmarshal function in Go-Yaml. The issue causes the program to crash when attempting to deserialize invalid input.

Other sources

An issue in the Unmarshal function in Go-Yaml v3 can cause a program to panic when attempting to deserialize invalid input.

GitHub

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

Go-Yaml is vulnerable to a denial of service, caused by a flaw in the Unmarshal function. By sending a specially-crafted input, a remote attacker could exploit this vulnerability to cause the program to crash.

IBM

Affected Software

10 affected componentsFixes available
redhat/golang-gopkg-yaml<3.0.0
3.0.0
go/gopkg.in/yaml.v3<3.0.0-20220521103104-8f96da9f5d5e
3.0.0-20220521103104-8f96da9f5d5e
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query on Cloud Pak for Data<=2.2
IBM Watson Query on Cloud Pak for Data<=2.1
IBM Watson Query on Cloud Pak for Data<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7
Yaml Project Yaml Go=3.0.0
NetApp Astra Trident

Event History

May 19, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·07:59 PM
Data Sourced
via MITRE·07:59 PM
Description
May 20, 2022
Advisory Published
via GitHub·12:00 AM
Aug 15, 2025
Data Sourced
via IBM·03:29 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-28948?

CVE-2022-28948 is a vulnerability in the Unmarshal function in Go-Yaml v3 that causes the program to crash when attempting to deserialize invalid input.

2

What is the severity of CVE-2022-28948?

CVE-2022-28948 has a severity of 7.5 (High).

3

How does CVE-2022-28948 affect the affected software?

CVE-2022-28948 affects gopkg.in/yaml.v3 package (version up to 3.0.0-20220521103104-8f96da9f5d5e) in Go, golang-gopkg-yaml package (version up to 3.0.0) in Red Hat, Yaml Project Yaml (version 3.0.0), and Netapp Astra Trident.

4

How can I fix CVE-2022-28948?

To fix CVE-2022-28948, update the affected software packages to version 3.0.0-20220521103104-8f96da9f5d5e for Go, version 3.0.0 for Red Hat, and version 3.0.0 for Yaml Project Yaml.

5

Where can I find more information about CVE-2022-28948?

You can find more information about CVE-2022-28948 on the following sources: - [CVE-2022-28948 on CVE](https://www.cve.org/CVERecord?id=CVE-2022-28948) - [CVE-2022-28948 on NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-28948) - [GitHub Advisory GHSA-hp87-p4gw-j4gq](https://github.com/advisories/GHSA-hp87-p4gw-j4gq)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203