CVE-2023-48299
CVE-2023-48299 · TorchServe ZipSlip
This page contains facts from public vulnerability sources. Check the original advisory before updating.
TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading potentially harmful archives that contain files that are extracted to any location on the filesystem that is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful code in open-source/public models, which can be downloaded from the internet, and take advantage of machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to address the ZipSlip vulnerability.
CVSS 5.3 · Medium · EPSS 0.7% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
serve
- Versions
- >= 0.1.0, < 0.9.0: Affected
No fix published
torchserve PyPI
- Versions
- 0.1.1
- 0.2.0
- 0.2.2
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.4.2
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.3
- 0.6.0
- 0.6.1
- 0.7.0
- 0.7.1
- 0.8.0
- 0.8.1
- 0.8.2
- Affected ranges
- ECOSYSTEM: ≥ 0.1.0, < 0.9.0
Update to 0.9.0