cve.bz

CVE-2021-41766 apache karaf: Deserialization of Untrusted Data

8.1 highEPSS 2.1%Fix available

High (8.1) in apache karaf. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.karaf.management:org.apache.karaf.management.server 4.3.6.

On this page
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).

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-41766 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41766?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41766?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41766 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Karaffrom Apache Karaf before 4.3.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jh5g-9m4v-9vv9Mavenorg.apache.karaf.management:org.apache.karaf.management.server<4.3.64.3.6

Red Hat

Red Hat rates this Important.

Red Hat's statement

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 available within the target's classpath. Generally speaking, deserialization of untrusted data does represent a high-security risk and should be prevented. In this case, it's limited to classes system scoped classes.

ProductPackageStateAdvisory
Red Hat Fuse 7.11karafFixed 2022-07-07RHSA-2022:5532
Red Hat BPM Suite 6karafOut of support scope
Red Hat Decision Manager 7karafNot affected
Red Hat Integration Camel K 1karafNot affected
Red Hat Integration Camel Quarkus 1karafNot affected
Red Hat JBoss A-MQ 6karafOut of support scope
Red Hat JBoss BRMS 6karafOut of support scope
Red Hat JBoss Data Grid 7karafOut of support scope
Red Hat JBoss Fuse 6karafOut of support scope
Red Hat JBoss Fuse Service Works 6karafOut of support scope
Red Hat Process Automation 7karafNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-41766.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON