Skip to content

Installing Dockerfile issues #4

@dhkstnrh

Description

@dhkstnrh

hello!

I am a student studying ROS2 vulnerabilities.

I would like to inquire about the robot_hacking_manual/1_case_studies/2_ros2/Dockerfile you shared.

CVE-2021-38445: I am trying to install a Dockerfile to analyze the 1-day vulnerability for ROS2 Node Crashing.

Dockerfile:98

97 | # Build rest
98 | >>> RUN /bin/bash -c ". /opt/ros/$DISTRO/setup.bash
99 | >>> && . install/local_setup.bash
100 | >>> && colcon build --merge-install
101 | >>> --packages-up-to rmw_opendds_cpp rcl_interfaces examples_rclcpp_minimal_publisher
102 | >>> examples_rclcpp_minimal_subscriber examples_rclcpp_minimal_service
103 | >>> examples_rclcpp_minimal_client turtlebot3_teleop"
104 |

ERROR: failed to solve: process "/bin/sh -c /bin/bash -c ". /opt/ros/$DISTRO/setup.bash && . install/local_setup.bash && colcon build --merge-install --packages-up-to rmw_opendds_cpp rcl_interfaces examples_rclcpp_minimal_publisher examples_rclcpp_minimal_subscriber examples_rclcpp_minimal_service examples_rclcpp_minimal_client turtlebot3_teleop"" did not complete successfully: exit code: 2

The python module 'rosidl_pycommon' cannot be found with the following error.

Is it now impossible to reproduce the vulnerability in ROS2 foxy??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions