CVE-2023-42445
mediumpriority · track · 21EPSS 0.008 · 56 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (48)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux AMQ Streams 2all versionscert_bundDEcpe:/o:redhat:enterprise_linux:amq_streams_2
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-3070Red Hat JBoss A-MQ: Mehrere SchwachstellenDeutsch2023-12-06csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat JBoss A-MQ ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Informationen offenzulegen, Dateien zu manipulieren oder einen Denial of Service Zustand herbeizuführen.
- BIT-gradle-2023-42445Possible local file exfiltration by XML External entity injection2024-03-06vendor · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2023-42445cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-42445/cnnvd
- https://github.com/gradle/gradle/releases/tag/v7.6.3cnnvd
- https://github.com/gradle/gradle/releases/tag/v8.4.0cnnvd
- https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8cnnvd
- https://security.netapp.com/advisory/ntap-20231110-0006/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.7324cnnvd
- https://github.com/gradle/gradle/releases/tag/v7.6.3enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan