cve.bz

CVE-2022-3064 yaml project yaml: Uncontrolled Resource Consumption

7.5 highEPSS 1.9%Fix available

High (7.5) in yaml project yaml. EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in gopkg.in/yaml.v2 2.2.4.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3064 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3064?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3064?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3064 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
gopkg.in/yaml.v2before 2.2.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6q6q-88xp-6f2rGogopkg.in/yaml.v2<2.2.42.2.4
GO-2022-0956Gogopkg.in/yaml.v2<2.2.42.2.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10golang-yaml.v22.2.2-1+deb10u1DLA-3479-1
Debian12, 13, 14golang-yaml.v22.2.8-1DEBIAN-CVE-2022-3064
Ubuntu18.04:LTSwebhookno fix listedUBUNTU-CVE-2022-3064
Ubuntu20.04:LTSgolang-yaml.v22.2.2-1ubuntu0.1UBUNTU-CVE-2022-3064 USN-6287-1
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 1 morewebhook, golang-github-coreos-discovery-etcd-iono fix listedUBUNTU-CVE-2022-3064
Ubuntu25.10, 26.04:LTSwebhook, singularity-container, golang-github-coreos-discovery-etcd-iono fix listedUBUNTU-CVE-2022-3064
UbuntuPro:16.04:LTSgolang-yaml.v20.0+git20160301.0.a83829b-1ubuntu0.1~esm1UBUNTU-CVE-2022-3064 USN-6287-1
UbuntuPro:18.04:LTSgolang-yaml.v20.0+git20170407.0.cd8b52f-1ubuntu2+esm1UBUNTU-CVE-2022-3064 USN-6287-1
UbuntuPro:18.04:LTS, Pro:24.04:LTSsingularity-containerno fix listedUBUNTU-CVE-2022-3064
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.6-7.module+el8.9.0+19784+443be299RHSA-2023:6938
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.31.3-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcockpit-podman0:75-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-2.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.8-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.205.0-3.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.221.0-1.module+el8.9.0+19685+019f3589RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-5.module+el8.9.0+19784+443be299RHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.3.0-4.module+el8.9.0+19649+5879504aRHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-38.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-54.module+el8.9.0+19761+326da906RHSA-2023:6939
33 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8aardvark-dns2:1.7.0-1.module_el8.9.0+3657+d86e192fALSA-2023:6939
AlmaLinux8buildah, buildah-tests1:1.24.6-7.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8buildah, buildah-tests1:1.31.3-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2023:6938
AlmaLinux8cockpit-podman75-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8conmon2:2.1.4-2.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8conmon3:2.1.8-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8container-selinux2:2.205.0-3.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8container-selinux2:2.221.0-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containernetworking-plugins1:1.1.1-5.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8containernetworking-plugins1:1.3.0-4.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containers-common2:1-38.module_el8.9.0+3627+db8ec155ALSA-2023:6938
30 more for AlmaLinux in the JSON.
Rocky Linux8buildah1:1.24.6-7.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8cockpit-podman0:46-1.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8conmon2:2.1.4-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8container-selinux2:2.205.0-3.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8containernetworking-plugins1:1.1.1-5.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8containers-common2:1-38.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8criu0:3.15-3.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8crun0:1.8.3-1.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8fuse-overlayfs0:1.9-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8libslirp0:4.4.0-1.module+el8.9.0+1445+07728297RLSA-2023:6938 RLSA-2023:6939
Rocky Linux8oci-seccomp-bpf-hook0:1.2.5-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8podman2:4.0.2-24.module+el8.9.0+1445+07728297RLSA-2023:6938
4 more for Rocky Linux in the JSON.
Azure Linux2buildahno fix listedAZL-43993
Azure Linux2delveno fix listedAZL-43939
Azure Linux2podmanno fix listedAZL-44035
Azure Linux3buildah1.41.4-2AZL-44514
Azure Linux3delveno fix listedAZL-44067
Azure Linux3packer1.9.5-1AZL-40841
Azure Linux3podman5.6.1-2AZL-44610

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

RHC package for Red Hat Enterprise Linux 9 mark as Low severity as we do ship the affected code but it's not easily exposed because YAML files are not parsed by RHC.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:4.0-8090020230828093056.e7857ab1Fixed 2023-11-14RHSA-2023:6938
Red Hat Enterprise Linux 8container-tools:rhel8-8090020230825121312.e7857ab1Fixed 2023-11-14RHSA-2023:6939
Red Hat Enterprise Linux 8rhc-1:0.2.5-1.el8_10Fixed 2024-12-04RHSA-2024:10784
Red Hat Enterprise Linux 9toolbox-0:0.0.99.4-6.el9_3Fixed 2023-11-07RHSA-2023:6346
Red Hat Enterprise Linux 9rhc-1:0.2.5-1.el9_5Fixed 2024-12-03RHSA-2024:10759
Red Hat Enterprise Linux 9.2 Extended Update Supporttoolbox-0:0.0.99.4-1.el9_2Fixed 2024-07-09RHSA-2024:4443
Red Hat OpenShift Container Platform 4.10openshift4/ose-configmap-reloader:v4.10.0-202302072301.p0.g1e5a18e.assembly.streamFixed 2023-02-15RHSA-2023:0698
Red Hat OpenShift Container Platform 4.10openshift4/ose-telemeter:v4.10.0-202302201054.p0.g3b5eb87.assembly.streamFixed 2023-03-01RHSA-2023:0899
Red Hat OpenShift Container Platform 4.10openshift4/ose-sriov-cni:v4.10.0-202305101928.p0.gc574bbb.assembly.streamFixed 2023-05-24RHSA-2023:3218
Red Hat OpenShift Container Platform 4.11openshift4/ose-sriov-cni:v4.11.0-202305081228.p0.g71764f5.assembly.streamFixed 2023-05-18RHSA-2023:2695
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Not affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Not affected
Cryostat 2cryostat-tech-preview/cryostat-rhel8-operatorWill not fix
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel8Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel8-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel8-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel8Not affected
460 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3064.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON