Description (CNA)
MONAI (Medical Open Network for AI) is an AI toolkit for health care imaging. In versions up to and including 1.5.1, a Path Traversal (Zip Slip) vulnerability exists in MONAI's `_download_from_ngc_private()` function. The function uses `zipfile.ZipFile.extractall()` without path validation, while other similar download functions in the same codebase properly use the existing `safe_extract_member()` function. Commit 4014c8475626f20f158921ae0cf98ed259ae4d59 fixes this issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Project-MONAI / MONAI | affected <= 1.5.1 |
CWE
CWE-22
References
- https://github.com/Project-MONAI/MONAI/security/advisories/GHSA-9rg3-9pvr-6p27
- https://github.com/Project-MONAI/MONAI/commit/4014c8475626f20f158921ae0cf98ed259ae4d59
ADP enrichment
No English description supplied.