SB2023112192 - Relative Path Traversal in TorchServe



SB2023112192 - Relative Path Traversal in TorchServe

Published: November 21, 2023 Updated: November 24, 2026

Security Bulletin ID SB2023112192
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • 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.