{"id":"USN-6287-1","summary":"golang-yaml.v2 vulnerabilities","details":"Simon Ferquel discovered that the Go yaml package incorrectly handled\ncertain YAML documents. If a user or an automated system were tricked\ninto opening a specially crafted input file, a remote attacker could\npossibly use this issue to cause the system to crash, resulting in\na denial of service. (CVE-2021-4235)\n\nIt was discovered that the Go yaml package incorrectly handled\ncertain large YAML documents. If a user or an automated system were tricked\ninto opening a specially crafted input file, a remote attacker could\npossibly use this issue to cause the system to crash, resulting in\na denial of service. (CVE-2022-3064)\n","modified":"2026-04-27T16:33:28.694590Z","published":"2023-08-14T08:42:37Z","related":["UBUNTU-CVE-2021-4235","UBUNTU-CVE-2022-3064"],"upstream":["CVE-2021-4235","CVE-2022-3064","UBUNTU-CVE-2021-4235","UBUNTU-CVE-2022-3064"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6287-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-4235"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-3064"}],"affected":[{"package":{"name":"golang-yaml.v2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/golang-yaml.v2@0.0+git20160301.0.a83829b-1ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"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_name":"golang-yaml.v2-dev","binary_version":"0.0+git20160301.0.a83829b-1ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2021-4235","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-3064","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6287-1.json"}},{"package":{"name":"golang-yaml.v2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/golang-yaml.v2@0.0+git20170407.0.cd8b52f-1ubuntu2+esm1?arch=source&distro=esm-apps/bionic"},"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_name":"golang-gopkg-yaml.v2-dev","binary_version":"0.0+git20170407.0.cd8b52f-1ubuntu2+esm1"},{"binary_name":"golang-yaml.v2-dev","binary_version":"0.0+git20170407.0.cd8b52f-1ubuntu2+esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2021-4235","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-3064","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6287-1.json"}},{"package":{"name":"golang-yaml.v2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-yaml.v2@2.2.2-1ubuntu0.1?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_name":"golang-gopkg-yaml.v2-dev","binary_version":"2.2.2-1ubuntu0.1"},{"binary_name":"golang-yaml.v2-dev","binary_version":"2.2.2-1ubuntu0.1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2021-4235","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-3064","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6287-1.json"}}],"schema_version":"1.7.5"}