Upstream information

CVE-2021-29429 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having low severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 1.9
Vector AV:L/AC:M/Au:N/C:P/I:N/A:N
Access Vector Local
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.5 4
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector Local Local
Attack Complexity Low Low
Privileges Required Low None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High Low
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1184799 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 7.1
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-Storage-7.1-2024-1119
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Development Tools 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP5-2024-1119
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Development Tools 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE Linux Enterprise Module for Development Tools 15 SP6 GA gradle-4.4.1-150200.3.15.1
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP2-LTSS-2024-1119
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP3-LTSS-2024-1119
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP4-ESPOS-2024-1119
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP4-LTSS-2024-1119
SUSE Linux Enterprise Server 15 SP2-LTSS
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP2-LTSS-2024-1119
SUSE Linux Enterprise Server 15 SP3-LTSS
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP3-LTSS-2024-1119
SUSE Linux Enterprise Server 15 SP4-LTSS
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP4-LTSS-2024-1119
SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP2-2024-1119
SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP3-2024-1119
SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • gradle >= 4.4.1-150200.3.15.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP4-2024-1119
openSUSE Leap 15.5
  • gpars-bootstrap >= 1.2.1-150200.3.9.1
  • gradle >= 4.4.1-150200.3.15.1
  • gradle-bootstrap >= 4.4.1-150200.3.9.1
  • groovy-bootstrap >= 2.4.21-150200.3.9.1
Patchnames:
openSUSE-SLE-15.5-2024-1119


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP5 gradle Released
SUSE Linux Enterprise Desktop 15 SP6 gradle Released
SUSE Linux Enterprise High Performance Computing 15 SP5 gradle Released
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS gradle Released
SUSE Linux Enterprise High Performance Computing 15 SP6 gradle Released
SUSE Linux Enterprise Module for Development Tools 15 SP5 gradle Released
SUSE Linux Enterprise Module for Development Tools 15 SP6 gradle Released
SUSE Linux Enterprise Server 15 SP5 gradle Released
SUSE Linux Enterprise Server 15 SP5-LTSS gradle Released
SUSE Linux Enterprise Server 15 SP6 gradle Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 gradle Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 gradle Released
SUSE Manager Proxy 4.3 gradle Affected
SUSE Manager Retail Branch Server 4.3 gradle Affected
SUSE Manager Server 4.3 gradle Affected
openSUSE Leap 15.5 gradle Released
openSUSE Leap 15.6 gradle Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 gradle Affected
SUSE Linux Enterprise Desktop 15 SP4 LTSS gradle Released
SUSE Linux Enterprise High Performance Computing 15 SP2 gradle Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS gradle Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS gradle Released
SUSE Linux Enterprise High Performance Computing 15 SP3 gradle Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS gradle Released
SUSE Linux Enterprise High Performance Computing 15 SP4 gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS gradle Released
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS gradle Released
SUSE Linux Enterprise Module for Development Tools 15 SP2 gradle Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP3 gradle Unsupported
SUSE Linux Enterprise Module for Development Tools 15 SP4 gradle Affected
SUSE Linux Enterprise Server 15 SP2 gradle Unsupported
SUSE Linux Enterprise Server 15 SP2-LTSS gradle Released
SUSE Linux Enterprise Server 15 SP3 gradle Unsupported
SUSE Linux Enterprise Server 15 SP3-LTSS gradle Released
SUSE Linux Enterprise Server 15 SP4 gradle Affected
SUSE Linux Enterprise Server 15 SP4-LTSS gradle Released
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 gradle Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP3 gradle Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP2 gradle Released
SUSE Linux Enterprise Server for SAP Applications 15 SP3 gradle Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 gradle Released
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.5 gradle Unsupported
SUSE Enterprise Storage 7 gradle Affected
SUSE Enterprise Storage 7.1 gradle Released
SUSE Linux Enterprise Desktop 15 SP2 gradle Unsupported
SUSE Linux Enterprise Desktop 15 SP3 gradle Unsupported
SUSE Linux Enterprise Real Time 15 SP2 gradle Unsupported
SUSE Linux Enterprise Real Time 15 SP3 gradle Affected
SUSE Linux Enterprise Real Time 15 SP4 gradle Affected
SUSE Linux Enterprise Server 15 SP2-BCL gradle Affected
SUSE Linux Enterprise Server 15 SP3-BCL gradle Affected
SUSE Manager Proxy 4.1 gradle Unsupported
SUSE Manager Proxy 4.2 gradle Unsupported
SUSE Manager Retail Branch Server 4.1 gradle Unsupported
SUSE Manager Retail Branch Server 4.2 gradle Unsupported
SUSE Manager Server 4.1 gradle Unsupported
SUSE Manager Server 4.2 gradle Unsupported
openSUSE Leap 15.3 gradle Affected
openSUSE Leap 15.4 gradle Affected


SUSE Timeline for this CVE

CVE page created: Tue Apr 13 13:51:41 2021
CVE page last modified: Fri Dec 20 23:31:19 2024