CVE-2024-35199
Pytorch Torchserve vulnerability
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](http://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
Torchserve. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pytorch Torchserve runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pytorch/serve/pull/3083 · Patch
- github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w · Patch
- github.com/pytorch/serve/releases/tag/v0.11.0
- github.com/pytorch/serve/commit/aab99506a17193de217aacc1119d9381dbc6ed2b
- nvd.nist.gov/vuln/detail/CVE-2024-35199
- github.com/advisories/GHSA-hhpg-v63p-wp7w
- nvd.nist.gov/vuln/detail/CVE-2024-35199
- cve.org/CVERecord?id=CVE-2024-35199
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.