CVE-2021-41766: apache software foundation apache karaf Deserialization of Untrusted Data
Vulnerability summary
CVE-2021-41766 is a high (CVSS 8.1) Deserialization of Untrusted Data vulnerability in apache software foundation apache karaf. EPSS estimates a 2.03% chance of exploitation in the next 30 days, higher than 80.7% of scored vulnerabilities.
Timeline
- 26-01-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
Apache Karaf allows monitoring of applications and the Java runtime by using the Java Management Extensions (JMX). JMX is a Java RMI based technology that relies on Java serialized objects for client server communication. Whereas the default JMX implementation is hardened against unauthenticated deserialization attacks, the implementation used by Apache Karaf is not protected against this kind of attack. The impact of Java deserialization vulnerabilities strongly depends on the classes that are available within the targets class path. Generally speaking, deserialization of untrusted data does always represent a high security risk and should be prevented. The risk is low as, by default, Karaf uses a limited set of classes in the JMX server class path. It depends of system scoped classes (e.g. jar in the lib folder).
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.03%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.03% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache1 product
- karaf< 4.3.6
Apache software foundation1 product
- apache karaf≥ Apache Karaf, < 4.3.6
Org.apache.karaf.management1 product
- org.apache.karaf.management.server< 4.3.6
3 vendors · 3 products
References
8 links- github.com/apache/karafPACKAGE