XML External Entity (XXE) Injection Affecting gradle package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-GRADLE-5946208
  • published7 Oct 2023
  • disclosed6 Oct 2023

Introduced: 6 Oct 2023

CVE-2023-42445  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 gradle.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gradle package and not the gradle package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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 Scores

version 3.1