Description
MONAI 1.2.0 before 1.6.1 contains an insecure deserialization vulnerability in nnUNetV2Runner that unpickles the postprocessing_file path read from inference_information.json without confining it to the results directory. Attackers who can modify inference_information.json can point it at a malicious pickle elsewhere on the filesystem to execute code when predict_ensemble_postprocessing runs.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Project-MONAI MONAI
Default version status: unaffected
1.2.0 to < 1.6.1affected1.6.1unaffected
pkg:pypi/monaiReferences
- https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-8f32-8649-rv87 ↗
- https://github.com/Project-MONAI/MONAI/commit/08576205c4de3c214976294d1dec8f7b2e78cdb9 ↗
- https://www.vulncheck.com/advisories/monai-1.2.0-before-1.6.1-insecure-deserialization-rce-via-nnunetv2runner-postprocessing-file-path ↗