GoWorst: High3 advisories

gopkg.in/yaml.v2: known vulnerabilities

gopkg.in/yaml.v2 has 3 reviewed security advisories in the GitHub Advisory Database — 1 high, 2 moderate. The most recent was published 2022-12-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the gopkg.in/yaml.v2 versions running across your servers, containers and images, and ranks what to patch first.

How to fix gopkg.in/yaml.v2

Upgrade gopkg.in/yaml.v2 to a release at or above the fixed version shown for each advisory below. For Go:

go get gopkg.in/yaml.v2@2.2.4 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

yaml package for Go can consume excessive amounts of CPU or memory High 7.5 CWE-400 — Affected: before 2.2.4. Fixed in 2.2.4. Published 2022-12-27. GHSA-6q6q-88xp-6f2r · CVE-2022-3064
YAML Go package vulnerable to denial of service Moderate 5.5 — Affected: before 2.2.3. Fixed in 2.2.3. Published 2022-12-27. GHSA-r88r-gmrh-7j83 · CVE-2021-4235
Excessive Platform Resource Consumption within a Loop in Kubernetes Moderate 6.5 CWE-1050 — Affected: before 2.2.8. Fixed in 2.2.8. Published 2021-12-20. GHSA-wxc4-f4m6-wwqv · CVE-2019-11254

Find gopkg.in/yaml.v2 across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.