GitHub Advisoryadvisory · Maven
GHSA-92wj-x78c-m4fx XML External Entity Reference in Apache Karaf
CRITICAL
Official page ↗
- Aliases
- CVE-2018-11788
- Ecosystem
- Maven
- Packages
- org.apache.karaf.specs:org.apache.karaf.specs.java.xml
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-611
- Reviewed
- 2020-06-16
Affected packages
• Maven org.apache.karaf.specs:org.apache.karaf.specs.java.xml: >= 4.2.0, < 4.2.2 → fixed in 4.2.2
• Maven org.apache.karaf.specs:org.apache.karaf.specs.java.xml: < 4.1.7 → fixed in 4.1.7
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.
Related
Alias · CVE (1)
- CVE-2018-11788 Apache Karaf provides a features deployer, which allows users to "hot deploy" a features XML by dropping the file directly in the deploy… vulnerability
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness
References
- 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
- http://karaf.apache.org/security/cve-2018-11788.txt web