CVE-2024-35199
HIGH 8.2CVSS 3.1TorchServe gRPC Port Exposure
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 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
- 19 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1256CWE-668
- Also known as
- GHSA-hhpg-v63p-wp7wPYSEC-2026-1971
- Sources
- NVDJSONOSV GHSA-hhpg-v63p-wp7wJSONOSV PYSEC-2026-1971JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pytorch | torchservecpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:* |
>= 0.3.0, < 0.11.0 | 0.11.0 |
| OSV | PyPI | torchserve | >= 0.3.0, < 0.11.0 | 0.11.0 |
References
- https://github.com/pytorch/serve/pull/3083 · Patch, WEB
- https://github.com/pytorch/serve/releases/tag/v0.11.0 · Release Notes, WEB
- https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-35199 · ADVISORY
- https://github.com/pytorch/serve/commit/aab99506a17193de217aacc1119d9381dbc6ed2b · WEB
- https://github.com/pytorch/serve · PACKAGE
- https://pypi.org/project/torchserve · PACKAGE
- https://github.com/advisories/GHSA-hhpg-v63p-wp7w · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jul 2024)