CISA list

● Go module family

gopkg.in/yaml.v2

Gopkg.in/yaml.v2 has three security advisories.

As of , gopkg.in/yaml.v2 has three security advisories.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
PackageIf you runUpgrade toAdvisories
github.com/go-yaml/yamlAll versionsNo fixed version listed2 advisories
gopkg.in/yaml.v2Before 2.2.82.2.83 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2022-3064GHSA-6q6q-88xp-6f2r, GO-2022-0956yaml package for Go can consume excessive amounts of CPU or memoryHigh severity. gopkg.in/yaml.v2gopkg.in/yaml.v2: Before 2.2.42.2.4
CVE-2021-4235GHSA-r88r-gmrh-7j83, GO-2021-0061YAML Go package vulnerable to denial of serviceModerate severity. github.com/go-yaml/yaml, gopkg.in/yaml.v2github.com/go-yaml/yaml: All versions / gopkg.in/yaml.v2: Before 2.2.32.2.3
CVE-2019-11254GHSA-wxc4-f4m6-wwqv, GO-2020-0036Excessive Platform Resource Consumption within a Loop in KubernetesModerate severity. github.com/go-yaml/yaml, gopkg.in/yaml.v2github.com/go-yaml/yaml: All versions / gopkg.in/yaml.v2: Before 2.2.82.2.8

Packages on this page

These 2 packages share most of their advisories, so one page covers them. The table has rows for each package apart, because a release of one is not a release of another.

  • github.com/go-yaml/yaml
  • gopkg.in/yaml.v2

Other Go modules

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the Go vulnerability database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0