Vulnerability in Pytorch Serve
CVE-2024-35199
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (48.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 48.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Pytorch Serve — versions >= 0.3.0, < 0.11.0
- Pytorch Torchserve
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w (Patch, Third Party Advisory)
- github.com/pytorch/serve/pull/3083 (Patch)
- github.com/pytorch/serve/releases/tag/v0.11.0 (Release Notes)
Frequently asked questions
- What is CVE-2024-35199?
- CVE-2024-35199 is a high-severity vulnerability in Pytorch Serve, classified under Exposure of Resource to Wrong Sphere. CVSS score: 8.2/10. Published 2024-07-19.
- How severe is CVE-2024-35199?
- High severity. CVSS v3 base score is 8.2 out of 10.
- Is CVE-2024-35199 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.