CVE-2024-38921 Use after free in n/a

Critical 9.8 Published Updated

A use-after-free in ROS2 Nav2 allows remote attackers to trigger crashes or execute code via dynamic parameter requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-38921?

CVE-2024-38921 is a critical use after free vulnerability in n/a, published on 6 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free via the nav2_amcl process. This vulnerability is triggered via remotely sending a request for change the value of dynamic-parameter`/amcl z_rand ` .

Weakness: CWE-416

Which versions are affected by CVE-2024-38921?

It affects 1 product.

Products include Openrobotics Robot Operating System.

How do I fix CVE-2024-38921?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-38921 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38921 exists.

Sources

Also known as GHSA-g4ph-37mq-hvxw.

Is CVE-2024-38921 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free