NVD Vulnerability Detail
Search Exploit, PoC
CVE-2021-29429
Summary

In Gradle before version 7.0, files created with open permissions in the system temporary directory can allow an attacker to access information downloaded by Gradle. Some builds could be vulnerable to a local information disclosure. Remote files accessed through TextResourceFactory are downloaded into the system temporary directory first. Sensitive information contained in these files can be exposed to other local users on the same system. If you do not use the `TextResourceFactory` API, you are not vulnerable. As of Gradle 7.0, uses of the system temporary directory have been moved to the Gradle User Home directory. By default, this directory is restricted to the user running the build. As a workaround, set a more restrictive umask that removes read access to other users. When files are created in the system temporary directory, they will not be accessible to other users. If you are unable to change your system's umask, you can move the Java temporary directory by setting the System Property `java.io.tmpdir`. The new path needs to limit permissions to the build user only.

Publication Date April 13, 2021, 7:15 a.m.
Registration Date April 13, 2021, 10:04 a.m.
Last Update Nov. 21, 2024, 3:01 p.m.
CVSS3.1 : MEDIUM
スコア 5.5
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
CVSS2.0 : LOW
Score 1.9
Vector AV:L/AC:M/Au:N/C:P/I:N/A:N
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* 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

JVN Vulnerability Information
Gradle における安全でない一時ファイルに関する脆弱性
Title Gradle における安全でない一時ファイルに関する脆弱性
Summary

Gradle には、安全でない一時ファイルに関する脆弱性が存在します。

Possible impacts 情報を取得される可能性があります。
Solution

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

Publication Date April 10, 2021, midnight
Registration Date Dec. 21, 2021, 2:08 p.m.
Last Update Dec. 21, 2021, 2:08 p.m.
Affected System
Quarkus
Quarkus 
Gradle Inc.
Gradle 7.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2021年12月21日]
  掲載
Dec. 21, 2021, 2:08 p.m.