CVE-2023-42445 Details
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. 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 19, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gradle/gradle/releases/tag/v7.6.3 | CVE | Release Notes |
| https://github.com/gradle/gradle/releases/tag/v8.4.0 | CVE | Release Notes |
| https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8 | CVE | Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20231110-0006/ | CVE | Third Party Advisory |
| https://github.com/gradle/gradle/releases/tag/v7.6.3 | [email protected] | Release Notes |
| https://github.com/gradle/gradle/releases/tag/v8.4.0 | [email protected] | Release Notes |
| https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8 | [email protected] | Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20231110-0006/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gradle gradle | < 7.6.3 >= 8.0.0, < 8.4.0 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 11, 2025 | Modified Analysis | [email protected] |
| Feb 13, 2025 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 6, 2024 | Reanalysis | [email protected] |
| Feb 16, 2024 | Modified Analysis | [email protected] |
| Nov 10, 2023 | CVE Modified | [email protected] |
| Oct 11, 2023 | Initial Analysis | [email protected] |