GHSA-2x52-8f29-7cjr

Suggest an improvement
Source
https://github.com/advisories/GHSA-2x52-8f29-7cjr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-2x52-8f29-7cjr/GHSA-2x52-8f29-7cjr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2x52-8f29-7cjr
Aliases
Published
2024-05-07T15:30:36Z
Modified
2024-05-07T17:11:46.551461Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L CVSS Calculator
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, 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.

Database specific
{
    "nvd_published_at": "2024-05-07T13:15:48Z",
    "cwe_ids": [
        "CWE-201"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-07T16:51:10Z"
}
References

Affected packages

Maven / org.eclipse.edc:connector-core

Package

Name
org.eclipse.edc:connector-core
View open source insights on deps.dev
Purl
pkg:maven/org.eclipse.edc/connector-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.2.1
Fixed
0.6.3

Affected versions

0.*

0.2.1
0.3.0
0.3.1
0.4.0
0.4.1
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2