PT-2023-25397

CVE-2023-35946

·

Publicado

2023-06-30

·

Atualizado

2024-09-06

Descrição por

CVSS 3.1
6.9
Média
MétricasAV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L
Name of the Vulnerable Software and Affected Versions Gradle versions prior to 7.6.2 Gradle versions prior to 8.2
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 issue 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 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.
Recommendations For Gradle versions prior to 7.6.2, upgrade to Gradle 7.6.2 or later. For Gradle versions prior to 8.2, upgrade to Gradle 8.2 or later. If you are unable to upgrade to Gradle 7.6.2 or 8.2, using dependency verification will make this issue more difficult to exploit.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-2H6C-RV6Q-494V
BIT-GRADLE-2023-35946
OPENSUSE-SU-2024_3163-1
SUSE-SU-2024:3163-1
SUSE-SU-2024_3163-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾