CVE-2018-11788Apache Karaf
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Karaf We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 9.8
- EPSS
- 7.3% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Jan 7, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Karaf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.karaf.specs:org.apache.karaf.specs.java.xml |
≥ 4.2.0 < 4.2.2 |
4.2.2 |
— |
| Maven | org.apache.karaf.specs:org.apache.karaf.specs.java.xml |
< 4.1.7 |
4.1.7 |
— |
Per OSV / GitHub Advisories (GHSA-92wj-x78c-m4fx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | karaf | < 4.1.7 |
| apache | karaf | ≥ 4.2.0 ≤ 4.2.1 |
| apache | karaf | 4.2.0 |
| apache | karaf | 4.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- karaf.apache.org Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry