{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-25642.json"
      }
    ],
    "title": "Hadoop: YARN remote code execution in ZKConfigurationStore of capacity scheduler",
    "tracking": {
      "current_release_date": "2026-11-07T13:38:28+00:00",
      "generator": {
        "date": "2026-11-07T13:38:28+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.5"
        }
      },
      "id": "CVE-2021-25642",
      "initial_release_date": "2021-01-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-01-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2022-12-08T09:14:12+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-07T13:38:28+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Logging Subsystem for Red Hat OpenShift",
                "product": {
                  "name": "Logging Subsystem for Red Hat OpenShift",
                  "product_id": "logging_subsystem_for_red_hat_openshift",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:logging:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Logging Subsystem for Red Hat OpenShift"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat build of Apache Camel for Spring Boot 3",
                "product": {
                  "name": "Red Hat build of Apache Camel for Spring Boot 3",
                  "product_id": "red_hat_build_of_apache_camel_for_spring_boot_3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:camel_spring_boot:3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat build of Apache Camel for Spring Boot 3"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Fuse 7",
                "product": {
                  "name": "Red Hat Fuse 7",
                  "product_id": "red_hat_fuse_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jboss_fuse:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Fuse 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Integration Camel K 1",
                "product": {
                  "name": "Red Hat Integration Camel K 1",
                  "product_id": "red_hat_integration_camel_k_1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:camel_k:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Integration Camel K 1"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Integration Camel Quarkus 1",
                "product": {
                  "name": "Red Hat Integration Camel Quarkus 1",
                  "product_id": "red_hat_integration_camel_quarkus_1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:camel_quarkus:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Integration Camel Quarkus 1"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat JBoss Data Grid 7",
                "product": {
                  "name": "Red Hat JBoss Data Grid 7",
                  "product_id": "red_hat_jboss_data_grid_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jboss_data_grid:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat JBoss Data Grid 7"
          },
          {
            "category": "product_version",
            "name": "hadoop-yarn.src",
            "product": {
              "name": "hadoop-yarn.src",
              "product_id": "hadoop-yarn.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/hadoop-yarn?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "hadoop-yarn",
            "product": {
              "name": "hadoop-yarn",
              "product_id": "hadoop-yarn"
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hadoop-yarn.src as a component of Logging Subsystem for Red Hat OpenShift",
          "product_id": "logging_subsystem_for_red_hat_openshift:hadoop-yarn.src"
        },
        "product_reference": "hadoop-yarn.src",
        "relates_to_product_reference": "logging_subsystem_for_red_hat_openshift"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hadoop-yarn as a component of Red Hat build of Apache Camel for Spring Boot 3",
          "product_id": "red_hat_build_of_apache_camel_for_spring_boot_3:hadoop-yarn"
        },
        "product_reference": "hadoop-yarn",
        "relates_to_product_reference": "red_hat_build_of_apache_camel_for_spring_boot_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hadoop-yarn as a component of Red Hat Fuse 7",
          "product_id": "red_hat_fuse_7:hadoop-yarn"
        },
        "product_reference": "hadoop-yarn",
        "relates_to_product_reference": "red_hat_fuse_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hadoop-yarn as a component of Red Hat Integration Camel K 1",
          "product_id": "red_hat_integration_camel_k_1:hadoop-yarn"
        },
        "product_reference": "hadoop-yarn",
        "relates_to_product_reference": "red_hat_integration_camel_k_1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hadoop-yarn as a component of Red Hat Integration Camel Quarkus 1",
          "product_id": "red_hat_integration_camel_quarkus_1:hadoop-yarn"
        },
        "product_reference": "hadoop-yarn",
        "relates_to_product_reference": "red_hat_integration_camel_quarkus_1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hadoop-yarn as a component of Red Hat JBoss Data Grid 7",
          "product_id": "red_hat_jboss_data_grid_7:hadoop-yarn"
        },
        "product_reference": "hadoop-yarn",
        "relates_to_product_reference": "red_hat_jboss_data_grid_7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-25642",
      "cwe": {
        "id": "CWE-502",
        "name": "Deserialization of Untrusted Data"
      },
      "discovery_date": "2022-08-30T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "logging_subsystem_for_red_hat_openshift:hadoop-yarn.src",
            "red_hat_build_of_apache_camel_for_spring_boot_3:hadoop-yarn",
            "red_hat_fuse_7:hadoop-yarn",
            "red_hat_integration_camel_k_1:hadoop-yarn",
            "red_hat_integration_camel_quarkus_1:hadoop-yarn",
            "red_hat_jboss_data_grid_7:hadoop-yarn"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2127281"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "ZKConfigurationStore which is optionally used by CapacityScheduler of Apache Hadoop YARN deserializes data obtained from ZooKeeper without validation. An attacker having access to ZooKeeper can run arbitrary commands as YARN user by exploiting this. Users should upgrade to Apache Hadoop 2.10.2, 3.2.4, 3.3.4 or later (containing YARN-11126) if ZKConfigurationStore is used.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "Hadoop: YARN remote code execution in ZKConfigurationStore of capacity scheduler",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "No Red Hat products are affected by this vulnerability. While some do use Hadoop YARN, none provide the affected Capacity Scheduler component.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "logging_subsystem_for_red_hat_openshift:hadoop-yarn.src",
          "red_hat_build_of_apache_camel_for_spring_boot_3:hadoop-yarn",
          "red_hat_fuse_7:hadoop-yarn",
          "red_hat_integration_camel_k_1:hadoop-yarn",
          "red_hat_integration_camel_quarkus_1:hadoop-yarn",
          "red_hat_jboss_data_grid_7:hadoop-yarn"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-25642"
        },
        {
          "category": "external",
          "summary": "RHBZ#2127281",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2127281"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-25642",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-25642"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-25642",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25642"
        },
        {
          "category": "external",
          "summary": "https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150",
          "url": "https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150"
        }
      ],
      "release_date": "2022-08-25T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "logging_subsystem_for_red_hat_openshift:hadoop-yarn.src",
            "red_hat_build_of_apache_camel_for_spring_boot_3:hadoop-yarn",
            "red_hat_fuse_7:hadoop-yarn",
            "red_hat_integration_camel_k_1:hadoop-yarn",
            "red_hat_integration_camel_quarkus_1:hadoop-yarn",
            "red_hat_jboss_data_grid_7:hadoop-yarn"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important",
          "product_ids": [
            "logging_subsystem_for_red_hat_openshift:hadoop-yarn.src",
            "red_hat_build_of_apache_camel_for_spring_boot_3:hadoop-yarn",
            "red_hat_fuse_7:hadoop-yarn",
            "red_hat_integration_camel_k_1:hadoop-yarn",
            "red_hat_integration_camel_quarkus_1:hadoop-yarn",
            "red_hat_jboss_data_grid_7:hadoop-yarn"
          ]
        }
      ],
      "title": "Hadoop: YARN remote code execution in ZKConfigurationStore of capacity scheduler"
    }
  ]
}