Critical, CVSS 9.8MavenPublished
XML External Entity Reference in Apache Karaf
CVE-2018-11788 · GHSA-92wj-x78c-m4fx
- Affected
- Maven org.apache.karaf.specs:org.apache.karaf.specs.java.xml >= 4.2.0, < 4.2.2; < 4.1.7
- Fixed in
- 4.2.24.1.7· Vendor fix available
- Issue
- Apache Karaf provides a features deployer, which allows users to "hot deploy" a features XML by dropping the file directly in the deploy folder. The features XML is parsed by XMLInputFactory class. Apache Karaf XMLInputFactory class doesn't contain any mitigation codes against XXE. This is a potential security risk as an user can inject external XML entities in Apache Karaf version prior to 4.1.7 or 4.2.2. It has been fixed in Apache Karaf 4.1.7 and 4.2.2 releases.
Recommended action: Upgrade to 4.2.2 or 4.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.