CVE-2023-24620
Java vulnerability analysis and mitigation

Overview

A vulnerability was discovered in Esoteric YamlBeans through version 1.15, identified as CVE-2023-24620. The vulnerability allows attackers to perform an XML Entity Expansion attack against YamlBeans YamlReader by exploiting the Anchor feature in YAML. This can result in a small YAML document being expanded to a large size during processing (NVD).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The issue is related to CWE-611 (Improper Restriction of XML External Entity Reference). When processing YAML documents, the YamlReader component fails to properly restrict entity expansion, allowing for the creation of documents that exponentially expand when processed (NVD).

Impact

When exploited, this vulnerability can cause significant CPU and memory consumption, potentially leading to Java Out-of-Memory exceptions. The impact occurs when the malicious YAML document is processed, particularly during data traversal operations such as toString() calls or recursive traversing of the data structure (GitHub Security).

Mitigation and workarounds

Users are advised to avoid using versions 1.15 and earlier of the com.esotericsoftware.yamlbeans/yamlbeans package (FortiGuard).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • io.airlift:aircompressor-v3
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management