CVE-2018-11788
Description
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.
How to fix
- apache karaf4.1.7 or later
- org.apache.karaf.specs:org.apache.karaf.specs.java.xml4.2.2, 4.1.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache karaf | v < 4.1.7, 4.2.0 ≤ v ≤ 4.2.1, 4.2.0 | 4.1.7 |
| org.apache.karaf.specs:org.apache.karaf.specs.java.xmlMaven | 4.2.0 ≤ v < 4.2.2, v < 4.1.7 | 4.2.2, 4.1.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.