High severity · published Jul 18, 2024
CVE-2024-35199
TorchServe gRPC Port Exposure
8.2
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SE
serve · pytorch
>= 0.3.0, < 0.11.0 · source: vendor
TO
Torchserve · Pytorch
0.3.0 before 0.11.0 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-35199
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-35199
Patch
https://github.com/pytorch/serve/pull/3083
Release Notes
https://github.com/pytorch/serve/releases/tag/v0.11.0
Patch
https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w
More from serve
9.8
CVE-2024-35198
TorchServe bypass allowed_urls configuration
5.3
CVE-2023-48299
TorchServe ZipSlip
