Vulnerability Details : CVE-2023-42445
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. Most of the time, Gradle parses XML files it generated or were already present locally. Only Ivy XML descriptors and Maven POM files can be fetched from remote repositories and parsed by Gradle. In Gradle 7.6.3 and 8.4, resolving XML external entities has been disabled for all use cases to protect against this vulnerability. Gradle will now refuse to parse XML files that have XML external entities.
Vulnerability category: XML external entity (XXE) injection
Products affected by CVE-2023-42445
- cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*
- cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-42445
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 42 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-42445
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
1.6
|
3.6
|
NIST | |
6.8
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H |
1.6
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2023-42445
-
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-42445
-
https://security.netapp.com/advisory/ntap-20231110-0006/
October 2023 Gradle Vulnerabilities in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://github.com/gradle/gradle/releases/tag/v8.4.0
Release 8.4 · gradle/gradle · GitHubRelease Notes
-
https://github.com/gradle/gradle/releases/tag/v7.6.3
Release 7.6.3 · gradle/gradle · GitHubRelease Notes
-
https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8
Possible local text file exfiltration by XML External entity injection · Advisory · gradle/gradle · GitHubVendor Advisory
Jump to