PT-2023-28345 · Gradle+1 · Gradle+1

Ljacomet

·

Published

2023-10-06

·

Updated

2024-03-06

·

CVE-2023-42445

CVSS v3.1

6.8

Medium

VectorAV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions Gradle versions prior to 7.6.3 Gradle versions prior to 8.4
Description Gradle is a build tool with a focus on build automation and support for multi-language development. In some cases, when Gradle parses XML files, resolving XML external entities is not disabled. Combined with an Out Of Band XXE attack (OOB-XXE), just parsing XML can lead to exfiltration of local text files to a remote server. Gradle parses XML files for several purposes, including Ivy XML descriptors and Maven POM files that can be fetched from remote repositories.
Recommendations For versions prior to 7.6.3, update to Gradle 7.6.3 or later to disable resolving XML external entities. For versions prior to 8.4, update to Gradle 8.4 or later to disable resolving XML external entities. As a temporary workaround, consider disabling the parsing of XML files that have XML external entities until a patch is available.

Exploit

Fix

XXE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-GRADLE-2023-42445
CVE-2023-42445
GHSA-MRFF-Q8QJ-XVG8

Affected Products

Debian
Gradle