PT-2021-18205

CVE-2021-29429

·

تاريخ النشر

2021-04-12

·

تاريخ التحديث

2026-10-08

الوصف من

CVSS 3.1
5.5
متوسطة
المقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Gradle versions prior to 7.0
Description: The issue allows an attacker to access information downloaded by Gradle due to files created with open permissions in the system temporary directory. This can lead to a local information disclosure, particularly affecting builds that use the TextResourceFactory API. Sensitive information in downloaded files can be exposed to other local users on the same system. As of Gradle 7.0, the system temporary directory is no longer used, and instead, the Gradle User Home directory is utilized, which is restricted to the user running the build by default.
Recommendations: For versions prior to 7.0, as a temporary workaround, consider setting a more restrictive umask that removes read access to other users. This will prevent files created in the system temporary directory from being accessible to other users. Alternatively, 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 to a new path that limits permissions to the build user only.
قابلية الاستغلال
استغلال
إصلاح
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-FP8H-QMR5-J4C8
BIT-GRADLE-2021-29429
OPENSUSE-SU-2024_1119-1
SUSE-SU-2024:1119-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾