6.8
MEDIUM
CVE-2023-42445
Apache Gradle XML Entity Exposure Vulnerability
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.

INFO

Published Date :

Oct. 6, 2023, 2:15 p.m.

Last Modified :

March 6, 2024, 3:20 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

1.6
Affected Products

The following products are affected by CVE-2023-42445 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gradle gradle
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-42445.

URL Resource
https://github.com/gradle/gradle/releases/tag/v7.6.3 Release Notes
https://github.com/gradle/gradle/releases/tag/v8.4.0 Release Notes
https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8 Vendor Advisory
https://security.netapp.com/advisory/ntap-20231110-0006/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-42445 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-42445 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Mar. 06, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* versions up to (excluding) 7.6.3 *cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* versions from (including) 8.0 up to (excluding) 8.4 OR *cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* versions up to (excluding) 7.6.3 *cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.4.0
  • Modified Analysis by [email protected]

    Feb. 16, 2024

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20231110-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20231110-0006/ Third Party Advisory
  • CVE Modified by [email protected]

    Nov. 10, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://security.netapp.com/advisory/ntap-20231110-0006/ [No types assigned]
  • Initial Analysis by [email protected]

    Oct. 11, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/gradle/gradle/releases/tag/v7.6.3 No Types Assigned https://github.com/gradle/gradle/releases/tag/v7.6.3 Release Notes
    Changed Reference Type https://github.com/gradle/gradle/releases/tag/v8.4.0 No Types Assigned https://github.com/gradle/gradle/releases/tag/v8.4.0 Release Notes
    Changed Reference Type https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8 No Types Assigned https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8 Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* versions up to (excluding) 7.6.3 *cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* versions from (including) 8.0 up to (excluding) 8.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-42445 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-42445 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} 0.01%

score

0.46412

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability