CVE-2024-30916
NoneCVSS
—
EPSS
0.2%
Published
Apr 11, 2024
CISA due date
—
Cloudanix analysis
A flaw in a widely used messaging library lets someone who already has access to the computer crash important communication software or steal internal data.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local attacker supplies a malicious max_samples value in the DurabilityService QoS configuration, triggering memory corruption or unbounded resource allocation that leads to denial of service and leakage of adjacent memory contents.
Why it matters to the business
Disruption of real-time data distribution services used in robotics, autonomous systems, and industrial control, resulting in operational downtime and potential exposure of internal configuration or sensor data.
How an attack unfolds
An attacker with local execution privileges identifies a process using the vulnerable FastDDS library, crafts a QoS policy containing an out-of-range max_samples value, and causes the DurabilityService component to dereference invalid memory or exhaust resources.
How to fix it
Upgrade eProsima FastDDS to a version later than 2.14.0 that contains the fix for the DurabilityService max_samples handling; rebuild and redeploy all dependent applications; restrict local access to systems running DDS participants until patches are applied.
How to confirm the fix worked
Confirm the running library version is newer than 2.14.0; attempt to reproduce the issue with a test program that supplies an extreme max_samples value and verify the process no longer crashes or leaks data; review QoS configuration files for non-default durability settings.
Typical attack path
- Obtain local code execution on the target host
- Locate FastDDS-based publisher or subscriber processes
- Inject or modify a DurabilityService QoS profile with crafted max_samples
- Trigger participant discovery or durability service initialization
- Observe crash, hang, or memory disclosure
How to detect it
Search application and system logs for FastDDS crash reports or DurabilityService initialization failures; monitor for processes that terminate unexpectedly shortly after loading QoS profiles; inspect any captured configuration files or network discovery messages that contain extreme max_samples values.
What your security team should do
- Prioritize patching all FastDDS instances within the next maintenance window
- Apply host-based controls to limit which users can modify QoS policies or launch DDS applications
- Add runtime monitoring for abnormal termination of FastDDS processes
- Review downstream dependencies and update any packages that embed the vulnerable library
The record
An issue was discovered in eProsima FastDDS v.2.14.0 and before, allows a local attacker to cause a denial of service (DoS) and obtain sensitive information via a crafted max_samples parameter in DurabilityService QoS component.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | fastdds | 0 | No fix |
| Debian:12 | fastdds | 0 | No fix |
| Debian:13 | fastdds | 0 | 2.14.1+ds-1 |
| Ubuntu:22.04:LTS | fastdds | 0 | No fix |
| Ubuntu:24.04:LTS | fastdds | 0 | No fix |
| Ubuntu:24.10 | fastdds | 0 | No fix |
| Ubuntu:25.04 | fastdds | 0 | No fix |
| Ubuntu:25.10 | fastdds | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | fastdds | 0 | No fix |
Related vulnerabilities
- CVE-2024-30259 FastDDS is a C++ implementation of the DDS (Data Distribution Service) standard of the… Also affects fastdds
- CVE-2024-30917 An issue was discovered in eProsima FastDDS v.2.14.0 and before, allows a local attacker… Also affects fastdds
- CVE-2024-26369 An issue in the HistoryQosPolicy component of FastDDS v2.12.x, v2.11.x, v2.10.x, and… Also affects fastdds
- CVE-2023-50716 eProsima Fast DDS (formerly Fast RTPS) is a C++ implementation of the Data Distribution… Also affects fastdds
- CVE-2023-39947 eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of… Also affects fastdds
- CVE-2023-39946 eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of… Also affects fastdds