{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "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-29427.json"
      }
    ],
    "title": "gradle: repository content filters do not work in Settings pluginManagement",
    "tracking": {
      "current_release_date": "2026-11-07T13:26:47+00:00",
      "generator": {
        "date": "2026-11-07T13:26:47+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.5"
        }
      },
      "id": "CVE-2021-29427",
      "initial_release_date": "2021-04-09T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-04-09T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2022-05-18T13:45:18+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-07T13:26:47+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat build of Quarkus",
                "product": {
                  "name": "Red Hat build of Quarkus",
                  "product_id": "red_hat_build_of_quarkus",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift_application_runtimes:1.0"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat build of Quarkus 2.7.5",
                "product": {
                  "name": "Red Hat build of Quarkus 2.7.5",
                  "product_id": "Red Hat build of Quarkus 2.7.5",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:quarkus:2.7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat build of Quarkus"
          },
          {
            "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 Enterprise Application Platform 7",
                "product": {
                  "name": "Red Hat JBoss Enterprise Application Platform 7",
                  "product_id": "red_hat_jboss_enterprise_application_platform_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jboss_enterprise_application_platform:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat JBoss Enterprise Application Platform 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat JBoss Enterprise Application Platform Expansion Pack",
                "product": {
                  "name": "Red Hat JBoss Enterprise Application Platform Expansion Pack",
                  "product_id": "red_hat_jboss_enterprise_application_platform_expansion_pack",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jbosseapxp"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat JBoss Enterprise Application Platform Expansion Pack"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "streams for Apache Kafka",
                "product": {
                  "name": "streams for Apache Kafka",
                  "product_id": "streams_for_apache_kafka",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:amq_streams:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "streams for Apache Kafka"
          },
          {
            "category": "product_version",
            "name": "gradle",
            "product": {
              "name": "gradle",
              "product_id": "gradle"
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle as a component of Red Hat build of Quarkus",
          "product_id": "red_hat_build_of_quarkus:gradle"
        },
        "product_reference": "gradle",
        "relates_to_product_reference": "red_hat_build_of_quarkus"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle as a component of Red Hat Fuse 7",
          "product_id": "red_hat_fuse_7:gradle"
        },
        "product_reference": "gradle",
        "relates_to_product_reference": "red_hat_fuse_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle as a component of Red Hat Integration Camel K 1",
          "product_id": "red_hat_integration_camel_k_1:gradle"
        },
        "product_reference": "gradle",
        "relates_to_product_reference": "red_hat_integration_camel_k_1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle as a component of Red Hat Integration Camel Quarkus 1",
          "product_id": "red_hat_integration_camel_quarkus_1:gradle"
        },
        "product_reference": "gradle",
        "relates_to_product_reference": "red_hat_integration_camel_quarkus_1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle as a component of Red Hat JBoss Enterprise Application Platform 7",
          "product_id": "red_hat_jboss_enterprise_application_platform_7:gradle"
        },
        "product_reference": "gradle",
        "relates_to_product_reference": "red_hat_jboss_enterprise_application_platform_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle as a component of Red Hat JBoss Enterprise Application Platform Expansion Pack",
          "product_id": "red_hat_jboss_enterprise_application_platform_expansion_pack:gradle"
        },
        "product_reference": "gradle",
        "relates_to_product_reference": "red_hat_jboss_enterprise_application_platform_expansion_pack"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "gradle as a component of streams for Apache Kafka",
          "product_id": "streams_for_apache_kafka:gradle"
        },
        "product_reference": "gradle",
        "relates_to_product_reference": "streams_for_apache_kafka"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-29427",
      "cwe": {
        "id": "CWE-829",
        "name": "Inclusion of Functionality from Untrusted Control Sphere"
      },
      "discovery_date": "2021-04-13T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_fuse_7:gradle",
            "red_hat_integration_camel_quarkus_1:gradle",
            "red_hat_jboss_enterprise_application_platform_7:gradle",
            "red_hat_jboss_enterprise_application_platform_expansion_pack:gradle",
            "streams_for_apache_kafka:gradle"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1949638"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "In Gradle from version 5.1 and before version 7.0 there is a vulnerability which can lead to information disclosure and/or dependency poisoning. Repository content filtering is a security control Gradle introduced to help users specify what repositories are used to resolve specific dependencies. This feature was introduced in the wake of the \"A Confusing Dependency\" blog post. In some cases, Gradle may ignore content filters and search all repositories for dependencies. This only occurs when repository content filtering is used from within a `pluginManagement` block in a settings file. This may change how dependencies are resolved for Gradle plugins and build scripts. For builds that are vulnerable, there are two risks: 1) Information disclosure: Gradle could make dependency requests to repositories outside your organization and leak internal package identifiers. 2) Dependency poisoning/Dependency confusion: Gradle could download a malicious binary from a repository outside your organization due to name squatting. For a full example and more details refer to the referenced GitHub Security Advisory. The problem has been patched and released with Gradle 7.0. Users relying on this feature should upgrade their build as soon as possible. As a workaround, users may use a company repository which has the right rules for fetching packages from public repositories, or use project level repository content filtering, inside `buildscript.repositories`. This option is available since Gradle 5.1 when the feature was introduced.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "gradle: repository content filters do not work in Settings pluginManagement",
          "title": "Vulnerability summary"
        },
        {
          "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": {
        "fixed": [
          "Red Hat build of Quarkus 2.7.5"
        ],
        "known_affected": [
          "red_hat_build_of_quarkus:gradle",
          "red_hat_integration_camel_k_1:gradle"
        ],
        "known_not_affected": [
          "red_hat_fuse_7:gradle",
          "red_hat_integration_camel_quarkus_1:gradle",
          "red_hat_jboss_enterprise_application_platform_7:gradle",
          "red_hat_jboss_enterprise_application_platform_expansion_pack:gradle",
          "streams_for_apache_kafka:gradle"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-29427"
        },
        {
          "category": "external",
          "summary": "RHBZ#1949638",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1949638"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-29427",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-29427"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-29427",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-29427"
        }
      ],
      "release_date": "2021-04-09T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2022-05-18T10:56:05+00:00",
          "details": "Before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on.\n\nThe References section of this erratum contains a download link for the update. You must be logged in to download the update.",
          "product_ids": [
            "Red Hat build of Quarkus 2.7.5"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2022:4623"
        },
        {
          "category": "none_available",
          "details": "Fix deferred",
          "product_ids": [
            "red_hat_integration_camel_k_1:gradle"
          ]
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "red_hat_build_of_quarkus:gradle"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.0,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "Red Hat build of Quarkus 2.7.5",
            "red_hat_build_of_quarkus:gradle",
            "red_hat_fuse_7:gradle",
            "red_hat_integration_camel_k_1:gradle",
            "red_hat_integration_camel_quarkus_1:gradle",
            "red_hat_jboss_enterprise_application_platform_7:gradle",
            "red_hat_jboss_enterprise_application_platform_expansion_pack:gradle",
            "streams_for_apache_kafka:gradle"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "Red Hat build of Quarkus 2.7.5",
            "red_hat_build_of_quarkus:gradle",
            "red_hat_fuse_7:gradle",
            "red_hat_jboss_enterprise_application_platform_7:gradle",
            "red_hat_jboss_enterprise_application_platform_expansion_pack:gradle",
            "streams_for_apache_kafka:gradle"
          ]
        },
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_integration_camel_k_1:gradle",
            "red_hat_integration_camel_quarkus_1:gradle"
          ]
        }
      ],
      "title": "gradle: repository content filters do not work in Settings pluginManagement"
    }
  ]
}