Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-28948

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-28948
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:09 UTC · Revision 1

Source evidence

CVE-2022-28948

core-osv · Original source

Published 19 May 2022, 19:59 UTC

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

osv:CVE-2022-28948
Complete source record
{
  "id": "cc0e3d20fa754a033bb0800b999b784a0e446a30990a2b324f13881eed8a4bfe",
  "url": "https://osv.dev/vulnerability/CVE-2022-28948",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-28948",
    "summary": "An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.",
    "evidence": "osv:CVE-2022-28948",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-28948",
      "aliases": [
        "CVE-2022-28948",
        "GHSA-hp87-p4gw-j4gq",
        "GO-2022-0603"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/go-yaml/yaml",
              "type": "GIT",
              "events": [
                {
                  "introduced": "00bbc0947ae889b9e480044dbc3bc3e3216a6a89"
                },
                {
                  "last_affected": "00bbc0947ae889b9e480044dbc3bc3e3216a6a89"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:yaml_project:yaml:3.0.0:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "last_affected": "3.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.0",
            "v3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28948.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.939154591Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28948.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-28948",
        "https://security.netapp.com/advisory/ntap-20220923-0006/",
        "https://github.com/go-yaml/yaml/issues/666"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28948.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-28948",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 506009,
  "published_at": "2022-05-19T19:59:30+00:00"
}