Apache Software Foundation Apache Karaf
Apache Karaf: Improper release of ClassLoader references via static ThreadLocal caching
Apache Karaf's XmlUtils cached XML parser/transformer factories in static ThreadLocal fields on long-lived container threads. Because a ThreadLocal value outlives the OSGi bundle that created it, repeated bundle or feature install, update, or refresh operations can leave successive bundle ClassLoader's pinned in memory and unreachable for garbage collection, leading to unbounded Metaspace growth and eventual denial of service of the Karaf instance.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-401
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Apache Software Foundation Apache Karaf
- < 4.4.11
Fixed in 4.4.11
Mitigation
Upgrade Apache Karaf to 4.4.11 or later.
References
- Vendor advisory lists.apache.org/thread/pxgqjvsmzgpvgly1qf1w300qxsp8…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.