Description
MONAI 0.4.0 before 1.6.1 contains a remote code execution vulnerability that allows on-path attackers to execute code by tampering with SENet pretrained weights fetched over plaintext HTTP. Attackers can substitute a crafted .pth file that load_state_dict_from_url unpickles without weights_only=True, executing code when SEResNet50 or other SENet models are constructed with pretrained=True.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Project-MONAI | MONAI | 0.4.0 – < 1.6.1 | 1.6.1 |
References
- GitHub Security Advisory (GHSA-vm9c-7j6g-c7mm) vendor-advisory
- VulnCheck Advisory: MONAI 0.4.0 before 1.6.1 RCE via SENet Pretrained Weights Over Plaintext HTTP third-party-advisory