# CVE-2024-55886: OpenTelemetry Logs source may lack authentication with some custom plugins

> Unauthorized users can ingest OpenTelemetry Logs data if custom authentication plugins are used instead of the built-in provider.

- **Severity:** Medium 6.9 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 12 Dec 2024
- **Updated:** 13 Dec 2024
- **Also known as:** GHSA-725p-63vv-v948

## What is CVE-2024-55886?

CVE-2024-55886 is a medium-severity authentication bypass vulnerability in opensearch-project data-prepper, published on 12 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

OpenSearch Data Prepper is a component of the OpenSearch project that accepts, filters, transforms, enriches, and routes data at scale. A vulnerability exists in the OpenTelemetry Logs source in Data Prepper starting inversion 2.1.0 and prior to version 2.10.2 where some custom authentication plugins will not perform authentication. This allows unauthorized users to ingest OpenTelemetry Logs data under certain conditions. This vulnerability does not affect the built-in `http_basic` authentication provider in Data Prepper. Pipelines which use the `http_basic` authentication provider continue to require authentication. The vulnerability exists only for custom implementations of Data Prepper’s `GrpcAuthenticationProvider` authentication plugin which implement the `getHttpAuthenticationService()` method instead of `getAuthenticationInterceptor()`. Data Prepper 2.10.2 contains a fix for this issue. For those unable to upgrade, one may use the built-in `http_basic` authentication provider in Data Prepper and/or add an authentication proxy in front of one's Data Prepper instances running the OpenTelemetry Logs source.

Weakness: CWE-287 (Improper Authentication)

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

It affects 1 product.


Products: Amazon Opensearch Data Prepper.

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

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

## Is CVE-2024-55886 being exploited?

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

## Other vulnerabilities in opensearch-project data-prepper

- [CVE-2025-62371](https://insights.sbomify.com/CVE-2025-62371/): OpenSearch Data Prepper plugins trusts all SSL certificates by default (high 7.4)

## Fix prompt for AI coding agents

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

What it is: CVE-2024-55886 is a medium-severity authentication bypass vulnerability in opensearch-project data-prepper, published on 12 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2024-55886 in the wild and no public exploit code.

Affected product: opensearch-project data-prepper. 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-55886/ (Markdown: https://insights.sbomify.com/CVE-2024-55886/index.md)
```

## Sources

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

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