Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41766

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41766
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:58 UTC · Revision 1

Source evidence

CVE-2021-41766

core-osv · Original source

Published 26 Jan 2022, 11:15 UTC

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

osv:CVE-2021-41766
Complete source record
{
  "id": "60d769c1305e805393c6603230b37a4ae6eaf030e42ff23598a48307ee4982a5",
  "url": "https://osv.dev/vulnerability/CVE-2021-41766",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41766",
    "summary": "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).",
    "evidence": "osv:CVE-2021-41766",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-41766",
      "aliases": [
        "CVE-2021-41766",
        "GHSA-jh5g-9m4v-9vv9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/karaf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fa2562d583197ad41785a451144d58b148299858"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.3.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "karaf-4.3.5",
            "karaf-4.3.4",
            "karaf-4.3.3",
            "karaf-4.3.2",
            "karaf-4.3.1",
            "karaf-4.3.0",
            "karaf-4.3.0.RC1",
            "karaf-4.2.3",
            "karaf-4.2.2",
            "karaf-4.2.1",
            "karaf-4.2.0",
            "karaf-4.2.0.M2",
            "karaf-4.2.0.M1",
            "karaf-4.1.1",
            "karaf-4.1.0",
            "karaf-4.0.4",
            "karaf-4.0.3",
            "karaf-4.0.2",
            "karaf-4.0.1",
            "karaf-4.0.0.M2",
            "karaf-4.0.0.M1",
            "karaf-3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41766.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:47.180887688Z",
      "provider": "osv",
      "references": [
        "https://karaf.apache.org/security/cve-2021-41766.txt"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-41766",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436481,
  "published_at": "2022-01-26T11:15:08.433+00:00"
}