{"id":"CVE-2022-38749","published":"2022-09-05T00:00:00Z","modified":"2024-08-03T11:02:14Z","title":"DoS in SnakeYAML","vendor":"snakeyaml","product":"SnakeYAML","tier":"tail","description":{"text":"Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02327,"percentile":0.83936,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47024","tags":[]},{"url":"https://bitbucket.org/snakeyaml/snakeyaml/issues/525/got-stackoverflowerror-for-many-open","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202305-28","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240315-0010/","tags":[]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":16.79},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"snakeyaml","affectedVersions":[{"vendor":"snakeyaml","product":"SnakeYAML","versions":[">= unspecified, < 1.31"]}],"affected":[{"ecosystem":"Maven","package":"org.yaml:snakeyaml","vulnerableRanges":["<1.31"],"patched":["1.31"],"from":["GHSA-c4r9-r8fh-9vj2"],"provenance":"source"},{"ecosystem":"Maven","package":"be.cylab:snakeyaml","vulnerableRanges":[],"patched":[],"from":["GHSA-c4r9-r8fh-9vj2"],"provenance":"source"},{"ecosystem":"Maven","package":"com.alipay.sofa.acts:acts-common-util","vulnerableRanges":[],"patched":[],"from":["GHSA-c4r9-r8fh-9vj2"],"provenance":"source"},{"ecosystem":"Maven","package":"io.prometheus.jmx:jmx_prometheus_httpserver","vulnerableRanges":[],"patched":[],"from":["GHSA-c4r9-r8fh-9vj2"],"provenance":"source"},{"ecosystem":"Maven","package":"io.prometheus.jmx:jmx_prometheus_httpserver_java6","vulnerableRanges":["<=0.18.0"],"patched":[],"from":["GHSA-c4r9-r8fh-9vj2"],"provenance":"source"},{"ecosystem":"Maven","package":"org.testifyproject.external:external-snakeyaml","vulnerableRanges":["<=1.0.6"],"patched":[],"from":["GHSA-c4r9-r8fh-9vj2"],"provenance":"source"},{"ecosystem":"Maven","package":"pl.droidsonroids.yaml:snakeyaml","vulnerableRanges":["<=1.18.2"],"patched":[],"from":["GHSA-c4r9-r8fh-9vj2"],"provenance":"source"}],"summary":{"text":"SnakeYAML, the Java YAML parser library, is vulnerable to a denial-of-service flaw when it parses untrusted YAML input, where the component's handling of crafted content can overflow the stack. An attacker who can supply YAML content to a parser running on user-supplied input can crash it with a stack overflow, and the attack vector indicates this is reachable over the network with low attack complexity, requiring low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:10Z"},"euvd":{"id":"EUVD-2022-6773","exploited":false,"provenance":"source"}}