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.
Remediation
References
http://karaf.apache.org/security/cve-2018-11788.txt
http://www.securityfocus.com/bid/106479
Related Vulnerabilities
CVE-2023-34616 Vulnerability in maven package com.progsbase.libraries:json
CVE-2020-8203 Vulnerability in maven package org.webjars.bowergithub.lodash:lodash
CVE-2021-45046 Vulnerability in maven package org.apache.logging.log4j:log4j-core
CVE-2018-20677 Vulnerability in maven package org.webjars.bowergithub.angular-ui:bootstrap
CVE-2022-37616 Vulnerability in maven package org.webjars.npm:xmldom__xmldom