Live threats

All CVEs / Apache

CVE-2018-11788Apache Karaf

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Karaf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachekaraf< 4.1.7
apachekaraf≥ 4.2.0 ≤ 4.2.1
apachekaraf4.2.0
apachekaraf4.2.0

Official sources

References

Links published by the sources. Open them with care.