CVE-2018-11788
CRITICAL 9.8CVSS 3.0XML External Entity Reference in Apache Karaf
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.
- Published
- 7 Jan 2019
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-92wj-x78c-m4fx
- Sources
- NVDJSONOSV GHSA-92wj-x78c-m4fxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | karafcpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:* |
< 4.1.7 | 4.1.7 |
| NVD | apache | karafcpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:* |
>= 4.2.0, <= 4.2.1 | |
| NVD | apache | karafcpe:2.3:a:apache:karaf:4.2.0:milestone1:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | apache | karafcpe:2.3:a:apache:karaf:4.2.0:milestone2:*:*:*:*:*:* |
= 4.2.0 | |
| OSV | Maven | org.apache.karaf.specs:org.apache.karaf.specs.java.xml | >= 4.2.0, < 4.2.2 | 4.2.2 |
| OSV | Maven | org.apache.karaf.specs:org.apache.karaf.specs.java.xml | < 4.1.7 | 4.1.7 |
References
- http://karaf.apache.org/security/cve-2018-11788.txt · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/106479 · Third Party Advisory, VDB Entry
- https://nvd.nist.gov/vuln/detail/CVE-2018-11788 · ADVISORY
- https://github.com/apache/karaf/commit/0c36c50bc158739c8fc8543122a6740c54adafca · WEB
- https://github.com/apache/karaf · PACKAGE
- https://web.archive.org/web/20200227101219/https://www.securityfocus.com/bid/106479 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 7 Jan 2019)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Jan 2019)