Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Project-MONAI | MONAI | 1.2.0 – < 1.6.1 | 1.6.1 |
References
- GitHub Security Advisory (GHSA-wvpx-5qmp-46g3) vendor-advisory
- VulnCheck Advisory: MONAI 1.2.0 before 1.6.1 Code Execution via bundle configs/logging.conf third-party-advisory