{"id":"UBUNTU-CVE-2022-25857","details":"The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.","modified":"2026-02-04T03:42:04.426347Z","published":"2022-08-30T05:15:00Z","related":["USN-5944-1"],"upstream":["CVE-2022-25857"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25857"},{"type":"REPORT","url":"https://bitbucket.org/snakeyaml/snakeyaml/commits/fc300780da21f4bb92c148bc90257201220cf174"},{"type":"REPORT","url":"https://github.com/snakeyaml/snakeyaml/commit/fc300780da21f4bb92c148bc90257201220cf174"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGYAML-2806360"},{"type":"REPORT","url":"https://bitbucket.org/snakeyaml/snakeyaml/issues/525"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5944-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-25857"}],"affected":[{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml@1.12-2ubuntu0.14.04.1~esm1?arch=source&distro=trusty/esm"},"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/cve/2022/UBUNTU-CVE-2022-25857.json"}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml@1.12-2ubuntu0.16.04.1~esm1?arch=source&distro=esm-apps/xenial"},"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: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25857.json"}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml@1.23-1+deb10u1build0.18.04.1?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/cve/2022/UBUNTU-CVE-2022-25857.json"}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml@1.25+ds-2ubuntu0.1?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/cve/2022/UBUNTU-CVE-2022-25857.json"}},{"package":{"name":"snakeyaml","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/snakeyaml@1.29-1ubuntu0.22.04.1?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/cve/2022/UBUNTU-CVE-2022-25857.json"}}],"schema_version":"1.7.3","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"}]}