Upstream information

CVE-2023-35946 at MITRE

Description

Gradle is a build tool with a focus on build automation and support for multi-language development. When Gradle writes a dependency into its dependency cache, it uses the dependency's coordinates to compute a file location. With specially crafted dependency coordinates, Gradle can be made to write files into an unintended location. The file may be written outside the dependency cache or over another file in the dependency cache. This vulnerability could be used to poison the dependency cache or overwrite important files elsewhere on the filesystem where the Gradle process has write permissions. Exploiting this vulnerability requires an attacker to have control over a dependency repository used by the Gradle build or have the ability to modify the build's configuration. It is unlikely that this would go unnoticed. A fix has been released in Gradle 7.6.2 and 8.2 to protect against this vulnerability. Gradle will refuse to cache dependencies that have path traversal elements in their dependency coordinates. It is recommended that users upgrade to a patched version. If you are unable to upgrade to Gradle 7.6.2 or 8.2, `dependency verification` will make this vulnerability more difficult to exploit.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.5 6.9
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L
Attack Vector Local Local
Attack Complexity Low High
Privileges Required Low None
User Interaction None Required
Scope Unchanged Changed
Confidentiality Impact None Low
Integrity Impact High High
Availability Impact None Low
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1212930 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
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.24.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP5-2024-3163
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.24.1
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP6-2024-3163
openSUSE Leap 15.5
  • gradle >= 4.4.1-150200.3.24.1
Patchnames:
openSUSE-SLE-15.5-2024-3163
openSUSE Leap 15.6
  • gradle >= 4.4.1-150200.3.24.1
Patchnames:
openSUSE-SLE-15.6-2024-3163


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 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 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 Released
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 High Performance Computing 15 SP2 gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS gradle Affected
SUSE Linux Enterprise Module for Development Tools 15 SP2 gradle Affected
SUSE Linux Enterprise Module for Development Tools 15 SP3 gradle Affected
SUSE Linux Enterprise Module for Development Tools 15 SP4 gradle Affected
SUSE Linux Enterprise Server 15 SP2 gradle Affected
SUSE Linux Enterprise Server 15 SP2-LTSS gradle Affected
SUSE Linux Enterprise Server 15 SP3 gradle Affected
SUSE Linux Enterprise Server 15 SP3-LTSS gradle Affected
SUSE Linux Enterprise Server 15 SP4 gradle Affected
SUSE Linux Enterprise Server 15 SP4-LTSS gradle Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 gradle Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 gradle Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 gradle Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 7 gradle Affected
SUSE Enterprise Storage 7.1 gradle Affected
SUSE Linux Enterprise Desktop 15 SP2 gradle Affected
SUSE Linux Enterprise Desktop 15 SP3 gradle Affected
SUSE Linux Enterprise Real Time 15 SP2 gradle Affected
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 Affected
SUSE Manager Proxy 4.2 gradle Affected
SUSE Manager Retail Branch Server 4.1 gradle Affected
SUSE Manager Retail Branch Server 4.2 gradle Affected
SUSE Manager Server 4.1 gradle Affected
SUSE Manager Server 4.2 gradle Affected
openSUSE Leap 15.3 gradle Affected
openSUSE Leap 15.4 gradle Affected


SUSE Timeline for this CVE

CVE page created: Sat Jul 1 00:02:27 2023
CVE page last modified: Fri Sep 13 13:23:52 2024