SCA: security update for torchserve (GHSA-m2mj-pr4f-h9jp)

medium Tenable Cloud Security Plugin ID 416659

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and
prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading
potentially harmful archives that contain files that are extracted to any location on the filesystem that
is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful
code in open-source/public models, which can be downloaded from the internet, and take advantage of
machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of
files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to
address the ZipSlip vulnerability. (CVE-2023-48299)

See Also

https://github.com/advisories/GHSA-m2mj-pr4f-h9jp

Plugin Details

Severity: Medium

ID: 416659

Version: Revision 1.11

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2023-48299

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/21/2023

Vulnerability Publication Date: 11/21/2023

Reference Information

CVE: CVE-2023-48299

cwe: CWE-22