TorchServe gRPC Port Exposure
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
torchservePyPI | >= 0.3.0, < 0.11.0 | 0.11.0 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-hhpg-v63p-wp7wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-35199ghsaADVISORY
- github.com/pytorch/serve/commit/aab99506a17193de217aacc1119d9381dbc6ed2bghsaWEB
- github.com/pytorch/serve/pull/3083ghsax_refsource_MISCWEB
- github.com/pytorch/serve/releases/tag/v0.11.0ghsax_refsource_MISCWEB
- github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7wghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.