CVE-2019-10753: Spotless eclipse wtp Remote Code Execution Vulnerability
MODERATECVE-2019-10753 is a MODERATE (CVSS 5.9) remote code execution vulnerability (CWE-669: Incorrect Resource Transfer Between Spheres) affecting Spotless eclipse wtp libraries in the Maven ecosystem. The issue involves incorrect resource transfer between spheres in eclipse-wtp. Remediation is available by upgrading affected packages to version 3.9.6, 9.4.4, 3.0.1.
CVE-2019-10753 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2019-10753
To remediate this vulnerability, upgrade all affected Spotless eclipse wtp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-eclipse-wtp</artifactId>
<version>3.9.6</version>
</dependency>
<dependency>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-eclipse-cdt</artifactId>
<version>9.4.4</version>
</dependency>
<dependency>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-eclipse-groovy</artifactId>
<version>3.0.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.diffplug.spotless
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2019-10753, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.diffplug.spotless
Analyze the terminal output to locate any version of Spotless eclipse wtp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.9.6), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.diffplug.spotless command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-669: Incorrect Resource Transfer Between Spheres, where the product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource. In Spotless eclipse wtp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-10753 Affected Spotless eclipse wtp Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.diffplug.spotless:spotless-eclipse-wtp
|
Maven |
< 3.9.6
|
3.9.6
|
|
com.diffplug.spotless:spotless-eclipse-cdt
|
Maven |
< 9.4.4
|
9.4.4
|
|
com.diffplug.spotless:spotless-eclipse-groovy
|
Maven |
< 3.0.1
|
3.0.1
|
References
Frequently Asked Questions
What is CVE-2019-10753?
Which Spotless eclipse wtp versions are affected?
What version fixes CVE-2019-10753?
Is spotless-eclipse-wtp affected?
Is spotless-eclipse-cdt affected?
What is the CVSS score of CVE-2019-10753?
What CWE is associated with CVE-2019-10753?
How can I check Maven dependencies for CVE-2019-10753?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gvxv-5fp2-358q",
"modified" : "2022-11-17T18:24:26Z",
"published" : "2019-09-11T23:08:57Z",
"aliases" : [ "CVE-2019-10753" ],
"summary" : "Incorrect Resource Transfer Between Spheres in eclipse-wtp",
"details" : "In all versions prior to version 3.9.6 for eclipse-wtp, all versions prior to version 9.4.4 for eclipse-cdt, and all versions prior to version 3.0.1 for eclipse-groovy, Spotless was resolving dependencies over an insecure channel (http). If the build occurred over an insecure connection, a malicious user could have perform a Man-in-the-Middle attack during the build and alter the build artifacts that were produced. In case that any of these artifacts were compromised, any developers using these could be altered. **Note:** In order to validate that this artifact was not compromised, the maintainer would need to confirm that none of the artifacts published to the registry were not altered with. Until this happens, we can not guarantee that this artifact was not compromised even though the probability that this happened is low.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.diffplug.spotless:spotless-eclipse-wtp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.9.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.diffplug.spotless:spotless-eclipse-cdt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.4.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.diffplug.spotless:spotless-eclipse-groovy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10753"
}, {
"type" : "WEB",
"url" : "https://github.com/diffplug/spotless/issues/360"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/diffplug/spotless"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-COMDIFFPLUGSPOTLESS-460377"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-669" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-09-11T22:56:33Z",
"nvd_published_at" : "2019-09-05T20:15:00Z"
}
}