# CVE-2021-38425: eProsima Fast DDS Network Amplification


- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 5 May 2022
- **Updated:** 16 Apr 2025
- **Also known as:** DEBIAN-CVE-2021-38425, GHSA-6x94-8g2r-qg72, UBUNTU-CVE-2021-38425

## What is CVE-2021-38425?

CVE-2021-38425 is a high-severity vulnerability in eProsima Fast DDS, published on 5 May 2022. 

### Official description

eProsima Fast DDS versions prior to 2.4.0 (#2269) are susceptible to exploitation when an attacker sends a specially crafted packet to flood a target device with unwanted traffic, which may result in a denial-of-service condition and information exposure.

Weakness: CWE-406 (Insufficient Control of Network Message Volume (Network Amplification))

## Which versions are affected by CVE-2021-38425?

It affects 1 product.


Products: Eprosima Fast Dds.

## How do I fix CVE-2021-38425?

Upgrade to a fixed version.

## Is CVE-2021-38425 being exploited?

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

## Other vulnerabilities in eProsima Fast DDS

- [CVE-2025-67108](https://insights.sbomify.com/CVE-2025-67108/): Security feature bypass in n/a (critical 10.0)
- [CVE-2024-28231](https://insights.sbomify.com/CVE-2024-28231/): Manipulated DATA Submessage causes a heap-buffer-overflow error (critical 9.7)
- [CVE-2023-50716](https://insights.sbomify.com/CVE-2023-50716/): Invalid DATA_FRAG Submessage causes a bad-free error (critical 9.7)
- [CVE-2023-50257](https://insights.sbomify.com/CVE-2023-50257/): Disconnect Vulnerability in RTPS Packets Used by SROS2 (critical 9.7)
- [CVE-2023-42459](https://insights.sbomify.com/CVE-2023-42459/): Malformed DATA submessage leads to bad-free error in Fast-DDS (high 8.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-38425 and fix it if it is affected.

What it is: CVE-2021-38425 is a high-severity vulnerability in eProsima Fast DDS, published on 5 May 2022. 
Exploitation: There is no known exploitation of CVE-2021-38425 in the wild and no public exploit code.

Affected product: eProsima Fast DDS. 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-2021-38425/ (Markdown: https://insights.sbomify.com/CVE-2021-38425/index.md)
```

## Sources

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

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