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 [NEW]

No SUSE Security Announcements cross referenced.


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 Enterprise Storage 7.1 gradle Won't fix
SUSE Linux Enterprise Desktop 15 SP5 gradle Won't fix
SUSE Linux Enterprise Desktop 15 SP6 gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP5 gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP6 gradle Won't fix
SUSE Linux Enterprise Module for Development Tools 15 SP5 gradle Won't fix
SUSE Linux Enterprise Module for Development Tools 15 SP6 gradle Won't fix
SUSE Linux Enterprise Server 15 SP5 gradle Won't fix
SUSE Linux Enterprise Server 15 SP6 gradle Won't fix
SUSE Linux Enterprise Server for SAP Applications 15 SP5 gradle Won't fix
SUSE Linux Enterprise Server for SAP Applications 15 SP6 gradle Won't fix
SUSE Manager Proxy 4.3 gradle Affected
SUSE Manager Retail Branch Server 4.3 gradle Affected
SUSE Manager Server 4.3 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 High Performance Computing 15 SP2 gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP3 gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP4 gradle Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS gradle Won't fix
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS gradle Won't fix
SUSE Linux Enterprise Module for Development Tools 15 SP2 gradle Won't fix
SUSE Linux Enterprise Module for Development Tools 15 SP3 gradle Won't fix
SUSE Linux Enterprise Module for Development Tools 15 SP4 gradle Affected
SUSE Linux Enterprise Server 15 SP2 gradle Won't fix
SUSE Linux Enterprise Server 15 SP2-LTSS gradle Won't fix
SUSE Linux Enterprise Server 15 SP3 gradle Won't fix
SUSE Linux Enterprise Server 15 SP3-LTSS gradle Won't fix
SUSE Linux Enterprise Server 15 SP4 gradle Affected
SUSE Linux Enterprise Server 15 SP4-LTSS gradle Won't fix
SUSE Linux Enterprise Server for SAP Applications 15 SP2 gradle Won't fix
SUSE Linux Enterprise Server for SAP Applications 15 SP3 gradle Won't fix
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 Linux Enterprise Desktop 15 SP2 gradle Won't fix
SUSE Linux Enterprise Desktop 15 SP3 gradle Won't fix
SUSE Linux Enterprise Real Time 15 SP2 gradle Won't fix
SUSE Linux Enterprise Real Time 15 SP3 gradle Affected
SUSE Linux Enterprise Real Time 15 SP4 gradle Won't fix
SUSE Linux Enterprise Server 15 SP2-BCL gradle Won't fix
SUSE Linux Enterprise Server 15 SP3-BCL gradle Won't fix
SUSE Manager Proxy 4.1 gradle Won't fix
SUSE Manager Proxy 4.2 gradle Won't fix
SUSE Manager Retail Branch Server 4.1 gradle Won't fix
SUSE Manager Retail Branch Server 4.2 gradle Won't fix
SUSE Manager Server 4.1 gradle Won't fix
SUSE Manager Server 4.2 gradle Won't fix


SUSE Timeline for this CVE

CVE page created: Sat Jul 1 00:02:27 2023
CVE page last modified: Wed May 22 18:13:11 2024