GitHub Advisoryadvisory · Maven

GHSA-vj49-j7rc-h54f Esoteric YamlBeans XML Entity Expansion vulnerability

MEDIUM Published 2023-08-25 Modified 2023-09-01 Official page ↗
Aliases
CVE-2023-24620
Ecosystem
Maven
Packages
com.esotericsoftware.yamlbeans:yamlbeans
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-611
Reviewed
2023-08-25

Affected packages

• Maven com.esotericsoftware.yamlbeans:yamlbeans: <= 1.15 (no fix yet)

Description

An issue was discovered in Esoteric YamlBeans through 1.15. A crafted YAML document is able perform am XML Entity Expansion attack against YamlBeans YamlReader. By exploiting the Anchor feature in YAML, it is possible to generate a small YAML document that, when read, is expanded to a large size, causing CPU and memory consumption, such as a Java Out-of-Memory exception.

Related

Alias · CVE (1)

  • CVE-2023-24620 An issue was discovered in Esoteric YamlBeans through 1.15. vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-611 Improper Restriction of XML External Entity Reference weakness

References