CVE-2024-35199 TorchServe gRPC Port Exposure
HighCVSS 8.2
EPSS 0.64%
- Published
- Updated
- Exploit status
- No public exploit known
Description
TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. In affected versions the two gRPC ports 7070 and 7071, are not bound to localhost by default, so when TorchServe is launched, these two interfaces are bound to all interfaces. Customers using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed in PR #3083. TorchServe release 0.11.0 includes the fix to address this vulnerability. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi torchserve(PyPI) | >= 0.3.0, < 0.11.0 | 0.11.0 |
| pypi torchserve(PyPI) | = 0.10.0 | No fix listed |
| pypi torchserve(PyPI) | = 0.3.0 | No fix listed |
| pypi torchserve(PyPI) | = 0.3.1 | No fix listed |
| pypi torchserve(PyPI) | = 0.4.0 | No fix listed |
| pypi torchserve(PyPI) | = 0.4.1 | No fix listed |
| pypi torchserve(PyPI) | = 0.4.2 | No fix listed |
| pypi torchserve(PyPI) | = 0.5.0 | No fix listed |
| pypi torchserve(PyPI) | = 0.5.1 | No fix listed |
| pypi torchserve(PyPI) | = 0.5.2 | No fix listed |
| pypi torchserve(PyPI) | = 0.5.3 | No fix listed |
| pypi torchserve(PyPI) | = 0.6.0 | No fix listed |
| pypi torchserve(PyPI) | = 0.6.1 | No fix listed |
| pypi torchserve(PyPI) | = 0.7.0 | No fix listed |
| pypi torchserve(PyPI) | = 0.7.1 | No fix listed |
| pypi torchserve(PyPI) | = 0.8.0 | No fix listed |
| pypi torchserve(PyPI) | = 0.8.1 | No fix listed |
| pypi torchserve(PyPI) | = 0.8.2 | No fix listed |
| pypi torchserve(PyPI) | = 0.9.0 | No fix listed |
| PyTorch serve | = >= 0.3.0, < 0.11.0 | No fix listed |
| PyTorch TorchServe | >= 0.3.0, < 0.11.0 | 0.11.0 |
References
- https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/pytorch/serve/pull/3083 patch
- github.com patch
- github.com product
- https://github.com/pytorch/serve/releases/tag/v0.11.0 release-notes
- pypi.org product
- github.com vendor-advisory