Vulnerabilities in pkg:maven/org.eclipse.edc/connector-core
PACKAGECVE-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.
pkg:maven/org.eclipse.edc/connector-core
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
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).
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.
<dependency>
<groupId>org.eclipse.edc</groupId>
<artifactId>connector-core</artifactId>
<version>0.6.3</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.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
CVE-2024-4536 Affected Connector core Versions
1 component(s)| 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?
Which Connector core versions are affected?
What version fixes CVE-2024-4536?
Is connector-core affected?
What is the CVSS score of CVE-2024-4536?
What CWE is associated with CVE-2024-4536?
How can I check Maven dependencies for CVE-2024-4536?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}