{"id":"UBUNTU-CVE-2022-3064","details":"Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.","modified":"2026-05-20T16:08:03.247431153Z","published":"2022-12-27T22:15:00Z","related":["USN-6287-1"],"upstream":["CVE-2022-3064"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-3064"},{"type":"REPORT","url":"https://github.com/go-yaml/yaml/releases/tag/v2.2.4"},{"type":"REPORT","url":"https://pkg.go.dev/vuln/GO-2022-0956"},{"type":"REPORT","url":"https://github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6287-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-3064"}],"affected":[{"package":{"name":"golang-yaml.v2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/golang-yaml.v2?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0+git20160301.0.a83829b-1ubuntu0.1~esm1"}]}],"versions":["0.0+git20150627.7ad95dd-1","0.0+git20160301.0.a83829b-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"0.0+git20160301.0.a83829b-1ubuntu0.1~esm1","binary_name":"golang-yaml.v2-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"golang-yaml.v2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/golang-yaml.v2?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0+git20170407.0.cd8b52f-1ubuntu2+esm1"}]}],"versions":["0.0+git20170407.0.cd8b52f-1ubuntu1","0.0+git20170407.0.cd8b52f-1ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"0.0+git20170407.0.cd8b52f-1ubuntu2+esm1","binary_name":"golang-gopkg-yaml.v2-dev"},{"binary_version":"0.0+git20170407.0.cd8b52f-1ubuntu2+esm1","binary_name":"golang-yaml.v2-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"singularity-container","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/singularity-container?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","2.4.2-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.2-4ubuntu0.1~esm1","binary_name":"singularity-container"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"webhook","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/webhook?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0-1","2.5.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"webhook","binary_version":"2.5.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"golang-yaml.v2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-yaml.v2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2-1ubuntu0.1"}]}],"versions":["2.2.2-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.2.2-1ubuntu0.1","binary_name":"golang-gopkg-yaml.v2-dev"},{"binary_name":"golang-yaml.v2-dev","binary_version":"2.2.2-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"golang-github-coreos-discovery-etcd-io","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+git2019.04.19.git.78fb45d3c9-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+git2019.04.19.git.78fb45d3c9-1","binary_name":"etcd-discovery"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"webhook","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/webhook?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.9-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.9-1","binary_name":"webhook"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"golang-github-coreos-discovery-etcd-io","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+git2019.04.19.git.78fb45d3c9-4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+git2019.04.19.git.78fb45d3c9-4","binary_name":"etcd-discovery"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"webhook","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/webhook?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.9-1build2","2.8.0-3","2.8.0-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"webhook","binary_version":"2.8.0-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"golang-github-coreos-discovery-etcd-io","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd-discovery","binary_version":"2.0.0+git2019.04.19.git.78fb45d3c9-4ubuntu0.24.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"webhook","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/webhook?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"webhook","binary_version":"2.8.0-4ubuntu0.24.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"singularity-container","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/singularity-container?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","4.1.1+ds2-1ubuntu0.3+esm1","4.1.1+ds2-1ubuntu0.3+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.1+ds2-1ubuntu0.3+esm2","binary_name":"golang-github-sylabs-singularity-dev"},{"binary_name":"singularity-container","binary_version":"4.1.1+ds2-1ubuntu0.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"golang-github-coreos-discovery-etcd-io","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+git2019.04.19.git.78fb45d3c9-4build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+git2019.04.19.git.78fb45d3c9-4build1","binary_name":"etcd-discovery"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"singularity-container","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/singularity-container?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.5+ds4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.5+ds4-1","binary_name":"golang-github-sylabs-singularity-dev"},{"binary_version":"4.1.5+ds4-1","binary_name":"singularity-container"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"webhook","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/webhook?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.0-4build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.0-4build1","binary_name":"webhook"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"golang-github-coreos-discovery-etcd-io","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-coreos-discovery-etcd-io?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+git2019.04.19.git.78fb45d3c9-4build1","2.0.0+git2019.04.19.git.78fb45d3c9-4build2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+git2019.04.19.git.78fb45d3c9-4build2","binary_name":"etcd-discovery"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"singularity-container","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/singularity-container?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.5+ds4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.5+ds4-1","binary_name":"golang-github-sylabs-singularity-dev"},{"binary_version":"4.1.5+ds4-1","binary_name":"singularity-container"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}},{"package":{"name":"webhook","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/webhook?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.0-4build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.0-4build1","binary_name":"webhook"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3064.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}