Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsUpgrade monai to version 1.6.0 or higher.
monai is an AI Toolkit for Healthcare Imaging
Affected versions of this package are vulnerable to Command Injection via the dataset_name_or_id parameter in monai/apps/nnunet/nnunetv2_runner.py. When constructing shell commands for nnUNet training, the runner incorporates the user-supplied dataset_name_or_id value directly into subprocess command strings without validation. An attacker who controls this input can inject arbitrary shell commands that are executed with the privileges of the running process.