製品・ソフトウェアに関する情報
Gradle における信頼できない制御領域からの機能の組み込みに関する脆弱性
Title Gradle における信頼できない制御領域からの機能の組み込みに関する脆弱性
Summary

Gradle には、信頼できない制御領域からの機能の組み込みに関する脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 10, 2021, midnight
Registration Date Dec. 28, 2021, 4:05 p.m.
Last Update Dec. 28, 2021, 4:05 p.m.
CVSS3.0 : 重要
Score 7.2
Vector CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 警告
Score 6
Vector AV:N/AC:M/Au:S/C:P/I:P/A:P
Affected System
Quarkus
Quarkus 
Gradle Inc.
Gradle 5.1
Gradle 7.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2021年12月28日]
  掲載
Dec. 28, 2021, 4:05 p.m.

NVD Vulnerability Information
CVE-2021-29427
Summary

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.

Publication Date April 14, 2021, 5:15 a.m.
Registration Date April 14, 2021, 10:05 a.m.
Last Update Nov. 21, 2024, 3:01 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* 5.1 7.0
Configuration2 or higher or less more than less than
cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:* 2.2.3
Related information, measures and tools
Common Vulnerabilities List