GHSA-cc4w-3cff-j8fw: Duplicate Advisory Eclipse IDE XXE Vulnerability

MODERATE
CVSS 5.0
CWE-611
Published
Advisory Summary

GHSA-cc4w-3cff-j8fw is a MODERATE (CVSS 5.0) eclipse ide xxe vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves eclipse ide xxe in eclipse.platform. Remediation is available by upgrading affected packages to version 4.29.

GHSA-cc4w-3cff-j8fw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-cc4w-3cff-j8fw
Severity MODERATE
CVSS v3.1 Base Score 5.0
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-cc4w-3cff-j8fw

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.eclipse.platform:eclipse.platform fixed: 4.29
<dependency>
    <groupId>org.eclipse.platform</groupId>
    <artifactId>eclipse.platform</artifactId>
    <version>4.29</version>
</dependency>
Verify Direct and Transitive Dependencies

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 GHSA-cc4w-3cff-j8fw, 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 Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.29), 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 CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-j24h-xcpc-9jw8. This link is maintained to preserve external references. ## Original Description In Eclipse IDE versions < 2023-09 (4.29) some files with xml content 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).

GHSA-cc4w-3cff-j8fw Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
4.29
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.platform:eclipse.platform
Maven
< 4.29
4.29

References

Frequently Asked Questions

What is GHSA-cc4w-3cff-j8fw?
GHSA-cc4w-3cff-j8fw is a security vulnerability in Duplicate Advisory involving Eclipse IDE XXE in eclipse.platform under CWE-611: Improper Restriction of XML External Entity Reference.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 4.29 across affected packages: org.eclipse.platform:eclipse.platform.
What version fixes GHSA-cc4w-3cff-j8fw?
Upgrading to 4.29 (or the latest patched release for your respective branch) resolves the vulnerability.
Is eclipse.platform affected?
Yes, org.eclipse.platform:eclipse.platform is affected in releases prior to 4.29. Upgrade your dependency to 4.29 or later.
What is the CVSS score of GHSA-cc4w-3cff-j8fw?
GHSA-cc4w-3cff-j8fw has a CVSS v3.1 base score of 5.0 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-cc4w-3cff-j8fw?
GHSA-cc4w-3cff-j8fw is classified under CWE-611: Improper Restriction of XML External Entity Reference (The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.).
How can I check Maven dependencies for GHSA-cc4w-3cff-j8fw?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-cc4w-3cff-j8fw",
  "modified" : "2023-11-30T19:52:20Z",
  "published" : "2023-11-09T09:30:26Z",
  "withdrawn" : "2023-11-30T19:52:20Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Eclipse IDE XXE in eclipse.platform",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-j24h-xcpc-9jw8. This link is maintained to preserve external references.\n\n## Original Description\nIn Eclipse IDE versions < 2023-09 (4.29) some files with xml content 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",
  "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:eclipse.platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.29"
      } ]
    } ]
  } ],
  "references" : [ {
    "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://gitlab.eclipse.org/security/vulnerability-reports/-/issues/8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-611" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-30T19:52:20Z",
    "nvd_published_at" : "2023-11-09T09:15:08Z"
  }
}