Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.karaf/org.apache.karaf.management
  4. ›
  5. CVE-2021-41766

CVE-2021-41766: Deserialization of Untrusted Data

January 28, 2022 (updated September 11, 2023)

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).

References

  • gitbox.apache.org/repos/asf?p=karaf.git;h=93a019c
  • gitbox.apache.org/repos/asf?p=karaf.git;h=b42c82c
  • github.com/advisories/GHSA-jh5g-9m4v-9vv9
  • github.com/apache/karaf/commit/b42c82ca3b9a22bd92d249a1060a1953f4188bc2
  • github.com/apache/karaf/pull/1475
  • issues.apache.org/jira/browse/KARAF-7312
  • karaf.apache.org/security/cve-2021-41766.txt
  • nvd.nist.gov/vuln/detail/CVE-2021-41766

Code Behaviors & Features

Detect and mitigate CVE-2021-41766 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.3.6

Fixed versions

  • 4.3.6

Solution

Upgrade to version 4.3.6 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.apache.karaf/org.apache.karaf.management/CVE-2021-41766.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.