{"id":"CVE-2024-35199","published":"2024-07-18T22:40:06Z","modified":"2024-08-07T15:59:53Z","title":"TorchServe gRPC Port Exposure","vendor":"pytorch","product":"serve","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00637,"percentile":0.51465,"provenance":"source"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pytorch/serve/pull/3083","tags":["x_refsource_MISC"]},{"url":"https://github.com/pytorch/serve/releases/tag/v0.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.29},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"pytorch","affectedVersions":[{"vendor":"pytorch","product":"serve","versions":[">= 0.3.0, < 0.11.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-19T16:50:48.409416Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"torchserve","vulnerableRanges":[">=0.3.0, <0.11.0"],"patched":["0.11.0"],"from":["GHSA-hhpg-v63p-wp7w","PYSEC-2026-1971"],"provenance":"source"}],"summary":{"text":"TorchServe, the tool for serving and scaling PyTorch models in production, binds its two gRPC ports 7070 and 7071 to all network interfaces by default rather than to localhost. An attacker with network access to the host can reach these gRPC ports without authentication or user interaction, and the exposure occurs in default configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:04Z"},"euvd":{"id":"EUVD-2024-2363","exploited":false,"provenance":"source"}}