CVE-2021-41766

Insecure Java Deserialization in Apache Karaf

Published Jan 26, 2022 CVSS 3.1 · 8.1 High EPSS 2.0% KEV · Not listed
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).

Remediation

Vendor Workaround

Apache Karaf users should upgrade to 4.3.6 or later as soon as possible, or disable remote access to JMX server.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0628 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).
Github GHSA Github GHSA GHSA-jh5g-9m4v-9vv9 Insecure Java Deserialization in Apache Karaf
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 4, 2024, 3:15 AM
Reserved
Sep 27, 2021, 12:00 AM
Status
Modified
Published
Jan 26, 2022, 11:15 AM
Modified
Jun 17, 2026, 4:08 AM
Severity
Important
Public date
Jan 2, 2022, 12:00 AM