Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting snakeyaml package, versions <1.25+ds-2ubuntu0.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.42% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-SNAKEYAML-3011178
  • published31 Aug 2022
  • disclosed30 Aug 2022

Introduced: 30 Aug 2022

CVE-2022-25857  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 snakeyaml to version 1.25+ds-2ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream snakeyaml package and not the snakeyaml package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1