CVE-2023-34624
Java vulnerability analysis and mitigation

Overview

CVE-2023-34624 is a security vulnerability discovered in htmlcleaner through version 2.28. The vulnerability was disclosed on June 14, 2023, affecting the Java HTML parser library. The issue allows attackers to cause a denial of service or other unspecified impacts via crafted objects that use cyclic dependencies (NVD, CVE).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue manifests as a StackOverflowError when parsing untrusted HTML strings with deeply nested elements, leading to recursive processing that exceeds the stack depth (GitHub Issue, NVD).

Impact

When exploited, the vulnerability can cause a denial of service through a StackOverflowError if the parser runs on user-supplied input containing deeply nested HTML elements. This can potentially crash the application processing the HTML content (Debian LTS).

Mitigation and workarounds

The issue has been addressed by introducing a new nesting depth limit which can be overridden in cleaner properties. Fixed versions are available in various distributions: Debian 10 (Buster) version 2.21-5+deb10u1, Debian 11 (Bullseye) version 2.24-1+deb11u1, and Debian 12 (Bookworm) version 2.26-1+deb12u1 (Debian Security, Debian LTS).

Additional resources


SourceThis report was generated using AI

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