Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gopkg.in/yaml.v3
  4. ›
  5. CVE-2022-28948

CVE-2022-28948: Unhandled exception in gopkg.in/yaml.v3

May 19, 2022 (updated October 28, 2022)

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

References

  • github.com/advisories/GHSA-hp87-p4gw-j4gq
  • github.com/go-yaml/yaml/commit/8f96da9f5d5eff988554c1aae1784627c4bf6754
  • github.com/go-yaml/yaml/issues/666
  • nvd.nist.gov/vuln/detail/CVE-2022-28948

Code Behaviors & Features

Detect and mitigate CVE-2022-28948 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 3.0.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

go/gopkg.in/yaml.v3/CVE-2022-28948.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.