{"id":"USN-5944-1","summary":"snakeyaml vulnerabilities","details":"It was discovered that SnakeYAML did not limit the maximal nested depth\nfor collections when parsing YAML data. If a user or automated system were\ntricked into opening a specially crafted YAML file, an attacker could\npossibly use this issue to cause applications using SnakeYAML to crash,\nresulting in a denial of service. (CVE-2022-25857, CVE-2022-38749,\nCVE-2022-38750)\n\nIt was discovered that SnakeYAML did not limit the maximal data matched\nwith regular expressions when parsing YAML data. If a user or automated\nsystem were tricked into opening a specially crafted YAML file, an\nattacker could possibly use this issue to cause applications using\nSnakeYAML to crash, resulting in a denial of service. (CVE-2022-38751)\n","modified":"2026-05-20T16:06:06.821100864Z","published":"2023-03-10T10:18:12Z","related":["UBUNTU-CVE-2022-25857","UBUNTU-CVE-2022-38749","UBUNTU-CVE-2022-38750","UBUNTU-CVE-2022-38751"],"upstream":["CVE-2022-25857","CVE-2022-38749","CVE-2022-38750","CVE-2022-38751","UBUNTU-CVE-2022-25857","UBUNTU-CVE-2022-38749","UBUNTU-CVE-2022-38750","UBUNTU-CVE-2022-38751"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5944-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25857"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-38749"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-38750"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-38751"}],"affected":[{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12-2ubuntu0.14.04.1~esm1"}]}],"versions":["1.12-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.12-2ubuntu0.14.04.1~esm1","binary_name":"libyaml-snake-java"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5944-1.json","cves_map":{"cves":[{"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":"low"}],"id":"CVE-2022-25857"},{"id":"CVE-2022-38749","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38750"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38751"}],"ecosystem":"Ubuntu:Pro:14.04:LTS"}}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12-2ubuntu0.16.04.1~esm1"}]}],"versions":["1.12-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.12-2ubuntu0.16.04.1~esm1","binary_name":"libyaml-snake-java"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5944-1.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.23-1+deb10u1build0.18.04.1"}]}],"versions":["1.17-1","1.19-1","1.20-1","1.23-1~18.04"],"ecosystem_specific":{"binaries":[{"binary_version":"1.23-1+deb10u1build0.18.04.1","binary_name":"libyaml-snake-java"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5944-1.json","cves_map":{"cves":[{"id":"CVE-2022-25857","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":"low"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38749"},{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38750"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38751"}],"ecosystem":"Ubuntu:18.04:LTS"}}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25+ds-2ubuntu0.1"}]}],"versions":["1.23-1","1.25+ds-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.25+ds-2ubuntu0.1","binary_name":"libyaml-snake-java"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5944-1.json","cves_map":{"cves":[{"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":"low"}],"id":"CVE-2022-25857"},{"id":"CVE-2022-38749","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-38750","severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38751"}],"ecosystem":"Ubuntu:20.04:LTS"}}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29-1ubuntu0.22.04.1"}]}],"versions":["1.28-1","1.29-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.29-1ubuntu0.22.04.1","binary_name":"libyaml-snake-java"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5944-1.json","cves_map":{"cves":[{"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":"low"}],"id":"CVE-2022-25857"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38749"},{"severity":[{"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":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-38750"},{"id":"CVE-2022-38751","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.5"}