CVE Vulnerabilities

CVE-2022-25857

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Published: Aug 30, 2022 | Modified: Mar 15, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

Affected Software

Name Vendor Start Version End Version
Snakeyaml Snakeyaml_project * 1.31 (excluding)

Potential Mitigations

References