p PatchFirst

CVE-2022-3064

CVE-2022-3064 · Excessive resource consumption in gopkg.in/yaml.v2

CVSS 7.5 · High · EPSS 1.9% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-yaml.v2"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • gopkg.in/yaml.v2

    Versions
    • ≥ 0, < 2.2.4: Affected (semver)

    Update to 2.2.4

  • golang-yaml.v2 Debian 12

    Affected ranges
    • ECOSYSTEM: < 2.2.8-1

    Update to 2.2.8-1

  • golang-yaml.v2 Debian 13

    Affected ranges
    • ECOSYSTEM: < 2.2.8-1

    Update to 2.2.8-1

  • golang-yaml.v2 Debian 14

    Affected ranges
    • ECOSYSTEM: < 2.2.8-1

    Update to 2.2.8-1

  • golang-yaml.v2 Ubuntu Pro 16.04 LTS

    Versions
    • 0.0+git20150627.7ad95dd-1
    • 0.0+git20160301.0.a83829b-1
    Affected ranges
    • ECOSYSTEM: < 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1

    Update to 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1

  • golang-yaml.v2 Ubuntu Pro 18.04 LTS

    Versions
    • 0.0+git20170407.0.cd8b52f-1ubuntu1
    • 0.0+git20170407.0.cd8b52f-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1

    Update to 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1

  • singularity-container Ubuntu Pro 18.04 LTS

    Versions
    • 2.3.1-2
    • 2.3.2-1
    • 2.4.1-1
    • 2.4.2-2
    • 2.4.2-3
    • 2.4.2-4
    All versions (7)
    • 2.4.2-4ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • webhook Ubuntu 18.04 LTS

    Versions
    • 2.5.0-1
    • 2.5.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-yaml.v2 Ubuntu 20.04 LTS

    Versions
    • 2.2.2-1
    Affected ranges
    • ECOSYSTEM: < 2.2.2-1ubuntu0.1

    Update to 2.2.2-1ubuntu0.1

  • golang-github-coreos-discovery-etcd-io Ubuntu 20.04 LTS

    Versions
    • 2.0.0+git2019.04.19.git.78fb45d3c9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • webhook Ubuntu 20.04 LTS

    Versions
    • 2.6.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-coreos-discovery-etcd-io Ubuntu 22.04 LTS

    Versions
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • webhook Ubuntu 22.04 LTS

    Versions
    • 2.6.9-1build2
    • 2.8.0-3
    • 2.8.0-3ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-coreos-discovery-etcd-io Ubuntu 24.04 LTS

    Versions
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4build1
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.1
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.2
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • webhook Ubuntu 24.04 LTS

    Versions
    • 2.8.0-4build1
    • 2.8.0-4ubuntu0.24.04.1
    • 2.8.0-4ubuntu0.24.04.2
    • 2.8.0-4ubuntu0.24.04.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • singularity-container Ubuntu Pro 24.04 LTS

    Versions
    • 4.1.1+ds2-1
    • 4.1.1+ds2-1build1
    • 4.1.1+ds2-1ubuntu0.1
    • 4.1.1+ds2-1ubuntu0.2
    • 4.1.1+ds2-1ubuntu0.2+esm1
    • 4.1.1+ds2-1ubuntu0.3
    All versions (8)
    • 4.1.1+ds2-1ubuntu0.3+esm1
    • 4.1.1+ds2-1ubuntu0.3+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-coreos-discovery-etcd-io Ubuntu 25.10

    Versions
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • singularity-container Ubuntu 25.10

    Versions
    • 4.1.5+ds4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • webhook Ubuntu 25.10

    Versions
    • 2.8.0-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-coreos-discovery-etcd-io Ubuntu 26.10

    Versions
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • webhook Ubuntu 26.10

    Versions
    • 2.8.0-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-coreos-discovery-etcd-io Ubuntu 26.04 LTS

    Versions
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4build1
    • 2.0.0+git2019.04.19.git.78fb45d3c9-4build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • singularity-container Ubuntu 26.04 LTS

    Versions
    • 4.1.5+ds4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • webhook Ubuntu 26.04 LTS

    Versions
    • 2.8.0-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →