CVE-2024-35199
published high CVSS 3.1 · 8.2TorchServe gRPC Port Exposure
Package status and fixes
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](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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pytorch | serve | >= 0.3.0, < 0.11.0 (affected) | GitHub_M · cna |
| pytorch | torchserve | 0.3.0 to < 0.11.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-668 CWE-668: Exposure of Resource to Wrong Sphere
References
3Provider assertions
3GitHub_M · cna
TorchServe gRPC Port Exposure
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 708e92336841b148c70a27af587dcfd58e1d22cbd81347977b1f5ed7d0fbf848
- Ingested
- 23 Sep 2026, 08:23:37 UTC
- Source record
- Official CVE record