Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Dockerfile issues #4

Open
dhkstnrh opened this issue Sep 11, 2023 · 0 comments
Open

Installing Dockerfile issues #4

dhkstnrh opened this issue Sep 11, 2023 · 0 comments

Comments

@dhkstnrh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant