CVE & CISA-KEV Catalog

CVE-2023-42445

MEDIUM
6.8
CVSS v3
NVD

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.

How to fix

Remediation Available
gradleNVD
Affected:>= 8.0.0, < 8.4.0Fixed in:8.4.0CVE-2023-42445derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H

Exploit Intelligence

0.67%probability of exploitation in 30 days
48thpercentile

Moderate risk: more likely to be exploited than 48% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1
Release Notes2

Related Vulnerabilities

Other CWE-611 (XML External Entity (XXE)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-34102Critical9.8100%KEVFix
CVE-2019-9670Critical9.8100%KEVFix
CVE-2022-28219Critical9.897%--
CVE-2024-22024High8.395%--
CVE-2024-38653High7.592%--
CVE-2017-12629Critical9.892%-Fix
Embed a live status badge for CVE-2023-42445
CVE-2023-42445 severity badge

Markdown

[![CVE-2023-42445](https://tridentstack.com/cve/badge/CVE-2023-42445.svg)](https://tridentstack.com/cve/CVE-2023-42445)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-42445"><img src="https://tridentstack.com/cve/badge/CVE-2023-42445.svg" alt="CVE-2023-42445"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-11.