Improper resource allocation In org.jsoup:jsoup
Description
jsoup XmlTreeBuilder vulnerable to memory exhaustion through deeply nested namespace declarations jsoup through 1.23.2, fixed in commit 862ba2f, contains an uncontrolled resource consumption vulnerability in XmlTreeBuilder that allows remote attackers to exhaust JVM heap memory by supplying a deeply nested XML document with uniquely-namespaced elements. The builder copies the entire inherited namespace map on every start element, causing quadratic time and memory complexity, which attackers can exploit to trigger an OutOfMemoryError and terminate the application.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | - | ||
debian 14 | 1.23.2-1 | ||
rpm rhel9 | - | - | |
rpm rhel7 | - | - | |
rpm rhel8 | - | - | |
maven | 1.23.2 | ||
debian 13 | - |
Aliases
References