SB2023112192 - Relative Path Traversal in TorchServe
Published: November 21, 2023 Updated: November 24, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Relative Path Traversal (CVE-ID: CVE-2023-48299)
CWE-ID: CWE-23 - Relative Path Traversal
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to write files outside the intended extraction directory within the TorchServe process's filesystem permissions.
The vulnerability exists due to insufficient validation of relative paths in TorchServe's archive extractor when unpacking model or workflow archives. A remote attacker can supply a malicious archive through the management API or distribute it as a public model to cause unauthorized file writes when TorchServe extracts it.
Remediation
Install update from vendor's website.