An issue was discovered in the ROS communications-related packages (aka ros_comm or ros-melodic-ros-comm) through 1.14.3. parseOptions() in tools/rosbag/src/record.cpp has an integer overflow when a crafted split option can be entered on the command line.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/ros/ros_comm/blob/melodic-devel/tools/rosbag/src/record.cpp#L129 | third party advisory exploit |
https://github.com/ros/ros_comm/pull/1741 | third party advisory patch |
https://github.com/ros/ros_comm/issues/1738 | third party advisory exploit |