Vulnerabilities in pkg:maven/org.eclipse.platform/org.eclipse.ui.forms
PACKAGECVE-2023-4218 is a MODERATE (CVSS 5.0) eclipse ide xxe vulnerability (General Security Weakness) affecting Org.eclipse.core.runtime libraries in the Maven ecosystem. The issue involves eclipse ide xxe in eclipse.platform. Remediation is available by upgrading affected packages to version 3.29.0, 4.29.0, 3.31.0, 3.13.0, 3.21.100, 3.130.0, 1.3.100, 3.30.0.
pkg:maven/org.eclipse.platform/org.eclipse.ui.forms
Vulnerability advisories affecting package pkg:maven/org.eclipse.platform/org.eclipse.ui.forms. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-j24h-xcpc-9jw8 | CVE-2023-4218 | MODERATE | Eclipse IDE XXE in eclipse.platform |
CVE-2023-4218 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-4218
To remediate this vulnerability, upgrade all affected Org.eclipse.core.runtime 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>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<version>3.29.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.platform</artifactId>
<version>4.29.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.jface</artifactId>
<version>3.31.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.ui.forms</artifactId>
<version>3.13.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.ui.ide</artifactId>
<version>3.21.100</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.ui.workbench</artifactId>
<version>3.130.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.urischeme</artifactId>
<version>1.3.100</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.ui</artifactId>
<version>3.30.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.eclipse.platform
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-4218, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.eclipse.platform
Analyze the terminal output to locate any version of Org.eclipse.core.runtime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.29.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.eclipse.platform 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 General Security Weakness. In Org.eclipse.core.runtime, 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-2023-4218 Affected Org.eclipse.core.runtime Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.eclipse.platform:org.eclipse.core.runtime
|
Maven |
< 3.29.0
|
3.29.0
|
|
org.eclipse.platform:org.eclipse.platform
|
Maven |
< 4.29.0
|
4.29.0
|
|
org.eclipse.platform:org.eclipse.jface
|
Maven |
< 3.31.0
|
3.31.0
|
|
org.eclipse.platform:org.eclipse.ui.forms
|
Maven |
< 3.13.0
|
3.13.0
|
|
org.eclipse.platform:org.eclipse.ui.ide
|
Maven |
< 3.21.100
|
3.21.100
|
|
org.eclipse.platform:org.eclipse.ui.workbench
|
Maven |
< 3.130.0
|
3.130.0
|
|
org.eclipse.platform:org.eclipse.urischeme
|
Maven |
< 1.3.100
|
1.3.100
|
|
org.eclipse.jdt:org.eclipse.jdt.ui
|
Maven |
< 3.30.0
|
3.30.0
|
References
Frequently Asked Questions
What is CVE-2023-4218?
Which Org.eclipse.core.runtime versions are affected?
What version fixes CVE-2023-4218?
Is org.eclipse.core.runtime affected?
Is org.eclipse.platform affected?
What is the CVSS score of CVE-2023-4218?
What CWE is associated with CVE-2023-4218?
How can I check Maven dependencies for CVE-2023-4218?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j24h-xcpc-9jw8",
"modified" : "2024-03-05T21:36:55Z",
"published" : "2023-11-30T19:52:54Z",
"aliases" : [ "CVE-2023-4218" ],
"summary" : "Eclipse IDE XXE in eclipse.platform",
"details" : "### Impact\nxml files like \".project\" are parsed vulnerable against all sorts of XXE attacks. The user just needs to open any evil project or update an open project with a vulnerable file (for example for review a foreign repository or patch).\n\nVulnerablility was found by static code analysis (SonarLint).\n\nExample `.project` file:\n```\n<?xml version=\"1.0\" encoding=\"utf-8\"?> \n<!DOCTYPE price [\n<!ENTITY xxe SYSTEM \"http://127.0.0.1:49416/evil\">]>\n<projectDescription>\n\t<name>p</name>\n\t<comment>&xxe;</comment>\n</projectDescription>\n```\n\n### Patches\nSimilar patches including junit test that shows the vulnerability have already applied to PDE (see https://github.com/eclipse-pde/eclipse.pde/pull/667). A solution to platform should be the same: just reject parsing any XML that contains any `DOCTYPE`.\n\n### Workarounds\nNo known workaround. User can only avoid to get/open any foreign files with eclipse. Firewall rules against loss of data (but not against XML bomb).\n\n### References\nhttps://cwe.mitre.org/data/definitions/611.html\nhttps://rules.sonarsource.com/java/RSPEC-2755\nhttps://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8 (Report for multiple projects affected)\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.platform:org.eclipse.core.runtime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.29.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.platform:org.eclipse.platform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.29.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.platform:org.eclipse.jface"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.31.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.platform:org.eclipse.ui.forms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.13.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.platform:org.eclipse.ui.ide"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.21.100"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.platform:org.eclipse.ui.workbench"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.130.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.platform:org.eclipse.urischeme"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.100"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jdt:org.eclipse.jdt.ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.30.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/eclipse-platform/eclipse.platform/security/advisories/GHSA-j24h-xcpc-9jw8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4218"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-emf/org.eclipse.emf/issues/10"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-pde/eclipse.pde/pull/632"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-pde/eclipse.pde/pull/667"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-platform/eclipse.platform.releng.buildtools/pull/45"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-platform/eclipse.platform/pull/761"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-cdt/cdt/commit/c7169b3186d2fef20f97467c3e2ad78e2943ed1b"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-jdt/eclipse.jdt.core/commit/38dd2a878f45cdb3d8d52090f1d6d1b532fd4c4d"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-jdt/eclipse.jdt.ui/commit/13675b1f8a74f47de4da89ed0ded6af7c21dfbec"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-platform/eclipse.platform.swt/commit/bf71db5ddcb967c0863dad4745367b54f49e06ba"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-platform/eclipse.platform.ui/commit/f243cf0a28785b89b7c50bf4e1cce48a917d89bd"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-platform/eclipse.platform/commit/5dc372a0c5002b7f22e5d49eaa1cbf0916455daf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/eclipse-platform/eclipse.platform"
}, {
"type" : "WEB",
"url" : "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-30T19:52:54Z",
"nvd_published_at" : null
}
}