CVE-2024-35199 json
TorchServe gRPC Port Exposure
published 2024-07-18 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2363 , GHSA-hhpg-v63p-wp7w , PYSEC-2026-1971
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi torchserve 0.11.0
- pytorch torchserve 0.11.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| OSV | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | torchserve | >=0.3.0, <0.11.0 |
0.11.0 |
Affected products
- pytorch serve
- pytorch torchserve
Classification
References
-
github.com
/pytorch/serve/pull/3083
web, patch
-
github.com
/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w
web, patch, third-party-advisory
-
github.com
/pytorch/serve/commit/aab99506a17193de217aacc1119d9381dbc6ed2b
web
-
github.com
/pytorch/serve/releases/tag/v0.11.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2024-35199
advisory
-
github.com
/pytorch/serve
package
-
pypi.org
/project/torchserve
package
-
github.com
/advisories/GHSA-hhpg-v63p-wp7w
advisory
Sources
- CVE List CVE-2024-35199
- GitHub Advisory GHSA-hhpg-v63p-wp7w
- NVD CVE-2024-35199
- OSV PYSEC-2026-1971
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.