SB20240718206 - Multiple vulnerabilities in TorchServe
Published: July 18, 2024 Updated: November 24, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Binding to an Unrestricted IP Address (CVE-ID: CVE-2024-35199)
CWE-ID: CWE-1327 - Binding to an Unrestricted IP Address
CVSSv4: 8.8 [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]
The vulnerability allows a remote attacker to disclose limited sensitive information or cause a denial of service.
The vulnerability exists due to unrestricted network binding in TorchServe's gRPC listeners when the service starts with default settings and binds ports 7070 and 7071 to all interfaces instead of localhost. A remote attacker can interact with the exposed gRPC interfaces without authentication to potentially obtain sensitive information or disrupt service availability.
2) Incorrect Behavior Order: Validate Before Canonicalize (CVE-ID: CVE-2024-35198)
CWE-ID: CWE-180 - Incorrect Behavior Order: Validate Before Canonicalize
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass TorchServe's model URL allowlist and load a model from an unapproved source.
The vulnerability exists due to inconsistent URL validation in TorchServe's allowed_urls check when processing model downloads. A remote attacker can supply a model URL that the allowlist and downloader interpret differently to make an unapproved model available for loading from the model store.
Remediation
Install update from vendor's website.