Denial of Service (DoS) Affecting ros/ros_comm package, versions [,1.14.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.12% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ROSROSCOMM-2365232
  • published26 Jan 2022
  • disclosed30 Dec 2019
  • creditUnknown

Introduced: 30 Dec 2019

CVE-2019-13465  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade ros/ros_comm to version 1.14.4 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). An issue was discovered in the ROS communications-related packages (aka ros_comm or ros-melodic-ros-comm) through 1.14.3. ROS_ASSERT_MSG only works when ROS_ASSERT_ENABLED is defined. This leads to a problem in the remove() function in clients/roscpp/src/libros/spinner.cpp. When ROS_ASSERT_ENABLED is not defined, the iterator loop will run out of the scope of the array, and cause denial of service for other components (that depend on the communication-related functions of this package). NOTE: The reporter of this issue now believes it was a false alarm.

References

CVSS Base Scores

version 3.1