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

Critical 9.1 Published Updated

A use-after-free vulnerability in ROS2 Nav2 allows attackers to potentially execute arbitrary code or cause denial of service via improper pointer handling.

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-25198?

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

Official description

Inappropriate pointer order of laser_scan_filter_.reset() and tf_listener_.reset() (amcl_node.cpp) in Open Robotics Robotic Operating Sytstem 2 (ROS2) and Nav2 humble versions leads to a use-after-free.

Weakness: CWE-416

Which versions are affected by CVE-2024-25198?

It affects 2 products.

Products include Opennav Nav2, Openrobotics Robot Operating System.

How do I fix CVE-2024-25198?

No fix has been published for CVE-2024-25198 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-25198 being exploited?

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

Sources

Also known as GHSA-rmqp-82v9-w7q3.

Is CVE-2024-25198 in your software?

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

Check your SBOMs for free