Vulnerabilities in pkg:maven/org.eclipse.edc/connector-core

PACKAGE
Advisory Identifier: GHSA-2x52-8f29-7cjr
Advisory Summary

CVE-2024-4536 is a MODERATE (CVSS 6.8) eclipse dataspace components vulnerable to vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Connector core libraries in the Maven ecosystem. The issue involves eclipse dataspace components vulnerable to oauth2 client secret disclosure. Remediation is available by upgrading affected packages to version 0.6.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.eclipse.edc/connector-core

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.eclipse.edc/connector-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2x52-8f29-7cjr CVE-2024-4536 MODERATE Eclipse Dataspace Components vulnerable to OAuth2 client secret disclosure

CVE-2024-4536 at a Glance

CVE Identifier CVE-2024-4536
GHSA Identifier GHSA-2x52-8f29-7cjr
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Connector core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L).

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

How to Fix CVE-2024-4536

To remediate this vulnerability, upgrade all affected Connector core 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.edc:connector-core fixed: 0.6.3
<dependency>
    <groupId>org.eclipse.edc</groupId>
    <artifactId>connector-core</artifactId>
    <version>0.6.3</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.edc

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-4536, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.eclipse.edc

Analyze the terminal output to locate any version of Connector core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.eclipse.edc 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-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Connector core, 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

In Eclipse Dataspace Components from version 0.2.1 to 0.6.2, in the [EDC Connector component](https://github.com/eclipse-edc/Connector), an attacker might obtain OAuth2 client secrets from the vault. In Eclipse Dataspace Components from version 0.2.1 to 0.6.2, we have identified a security vulnerability in the EDC Connector component ( https://github.com/eclipse-edc/Connector ) regarding the OAuth2-protected data sink feature. When using a custom, OAuth2-protected data sink, the OAuth2-specific data address properties are resolved by the provider data plane. Problematically, the consumer-provided clientSecretKey, which indicates the OAuth2 client secret to retrieve from a secrets vault, is resolved in the context of the provider's vault, not the consumer. This secret's value is then sent to the tokenUrl, also consumer-controlled, as part of an OAuth2 client credentials grant. The returned access token is then sent as a bearer token to the data sink URL. This feature is now disabled entirely, because not all code paths necessary for a successful realization were fully implemented.

CVE-2024-4536 Affected Connector core Versions

1 component(s)
Fixed Versions:
0.6.3
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.edc:connector-core
Maven
≥ 0.2.1
< 0.6.3
0.6.3

References

Frequently Asked Questions

What is CVE-2024-4536?
CVE-2024-4536 is a security vulnerability in Connector core involving Eclipse Dataspace Components vulnerable to OAuth2 client secret disclosure under CWE-522: Insufficiently Protected Credentials.
Which Connector core versions are affected?
Affected versions include releases prior to 0.6.3 across affected packages: org.eclipse.edc:connector-core.
What version fixes CVE-2024-4536?
Upgrading to 0.6.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is connector-core affected?
Yes, org.eclipse.edc:connector-core is affected in releases prior to 0.6.3. Upgrade your dependency to 0.6.3 or later.
What is the CVSS score of CVE-2024-4536?
CVE-2024-4536 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L.
What CWE is associated with CVE-2024-4536?
CVE-2024-4536 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Maven dependencies for CVE-2024-4536?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.edc'. 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-2x52-8f29-7cjr",
  "modified" : "2025-02-06T19:33:44Z",
  "published" : "2024-05-07T15:30:36Z",
  "aliases" : [ "CVE-2024-4536" ],
  "summary" : "Eclipse Dataspace Components vulnerable to OAuth2 client secret disclosure",
  "details" : "In Eclipse Dataspace Components from version 0.2.1 to 0.6.2, in the [EDC Connector component](https://github.com/eclipse-edc/Connector), an attacker might obtain OAuth2 client secrets from the vault.\n\nIn Eclipse Dataspace Components from version 0.2.1 to 0.6.2, we have identified a security vulnerability in the EDC Connector component ( https://github.com/eclipse-edc/Connector ) regarding the OAuth2-protected data sink feature. When using a custom, OAuth2-protected data sink, the OAuth2-specific data address properties are resolved by the provider data plane. Problematically, the consumer-provided clientSecretKey, which indicates the OAuth2 client secret to retrieve from a secrets vault, is resolved in the context of the provider's vault, not the consumer. This secret's value is then sent to the tokenUrl, also consumer-controlled, as part of an OAuth2 client credentials grant. The returned access token is then sent as a bearer token to the data sink URL.\n\nThis feature is now disabled entirely, because not all code paths necessary for a successful realization were fully implemented.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.edc:connector-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.2.1"
      }, {
        "fixed" : "0.6.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-4536"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-edc/Connector/commit/a4e6018d2c0457fba6f672fafa6c590513c45d1b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/eclipse-edc/Connector"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-edc/Connector/releases/tag/v0.6.3"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignement/-/issues/22"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/198"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-201", "CWE-522" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-07T16:51:10Z",
    "nvd_published_at" : "2024-05-07T13:15:48Z"
  }
}