# CVE-2024-9202: EDC DataSetResolver policy filtering missing

> Attackers can view restricted datasets by guessing IDs due to missing policy filtering in the Eclipse Dataspace Components connector.

- **Severity:** Medium 5.3 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/RE:M/U:Amber`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 27 Sep 2024
- **Updated:** 27 Sep 2024
- **Also known as:** GHSA-78wc-gq29-f2pq

## What is CVE-2024-9202?

CVE-2024-9202 is a medium-severity missing authorization vulnerability in Eclipse Dataspace Components, published on 27 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

In Eclipse Dataspace Components versions 0.1.3 to 0.9.0, the Connector component filters which datasets (= data offers) another party can see in a requested catalog, to ensure that only authorized parties are able to view restricted offers.
However, there is the possibility to request a single dataset, which should be subject to the same filtering process, but currently is missing the correct filtering.

This enables parties to potentially see datasets they should not have access to, thereby exposing sensitive information. Exploiting this vulnerability requires knowing the ID of a restricted dataset, but some IDs may be guessed by trying out many IDs in an automated way.

Affected code:
 DatasetResolverImpl, L76-79 https://github.com/eclipse-edc/Connector/blob/v0.9.0/core/control-plane/control-plane-catalog/src/main/java/org/eclipse/edc/connector/controlplane/catalog/DatasetResolverImpl.java

Weakness: CWE-862 (Missing Authorization)

## Which versions are affected by CVE-2024-9202?

It affects 1 product.


Products: Eclipse Eclipse Dataspace Components.

## How do I fix CVE-2024-9202?

No fix has been published for CVE-2024-9202 yet. Limit exposure of the affected software until one is available.

## Is CVE-2024-9202 being exploited?

There is no known exploitation of CVE-2024-9202 in the wild and no public exploit code.

## Other vulnerabilities in Eclipse Dataspace Components

- [CVE-2024-8642](https://insights.sbomify.com/CVE-2024-8642/): Eclipse EDC: Consumer pull transfer token validation checks not applied (medium 5.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-9202 and fix it if it is affected.

What it is: CVE-2024-9202 is a medium-severity missing authorization vulnerability in Eclipse Dataspace Components, published on 27 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-9202 in the wild and no public exploit code.

Affected product: Eclipse Dataspace Components. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-9202/ (Markdown: https://insights.sbomify.com/CVE-2024-9202/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-9202
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-9202
- OSV: https://osv.dev/vulnerability/CVE-2024-9202

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-9202/
Summaries are generated and may contain mistakes; the official description above is the record.
