Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting snakeyaml package, versions <1.23-1+deb10u1build0.18.04.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.2% (81st 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-UBUNTU1804-SNAKEYAML-3011180
  • 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:18.04 snakeyaml to version 1.23-1+deb10u1build0.18.04.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:18.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