GHSA-wvpx-5qmp-46g3: MONAI 1.2.0 before 1.6.1 Code Execution via bundle configs/logging.conf
MONAI from 1.2.0 before 1.6.1 contains a remote code execution vulnerability in ConfigWorkflow.init, which passes a bundle's configs/logging.conf to logging.config.fileConfig that eval()s handler class and args fields. Attackers can publish a malicious bundle whose logging.conf runs arbitrary Python at workflow construction when a victim loads or runs the bundle.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
MONAIto a version that resolves this vulnerability.Fixed in 1.6.1