SCA: security update for torchserve (GHSA-wxcx-gg9c-fwp2)

critical Tenable Self-Hosted Container Security Plugin ID 420181

Description

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

- TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production.
TorchServe 's check on allowed_urls configuration can be by-passed if the URL contains characters such as
".." but it does not prevent the model from being downloaded into the model store. Once a file is
downloaded, it can be referenced without providing a URL the second time, which effectively bypasses the
allowed_urls security check. Customers using PyTorch inference Deep Learning Containers (DLC) through
Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed by validating the URL
without characters such as ".." before downloading see PR #3082. 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. (CVE-2024-35198)

See Also

https://github.com/advisories/GHSA-wxcx-gg9c-fwp2

Plugin Details

Severity: Critical

ID: 420181

Version: Revision 1.20

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/8/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-35198

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/18/2024

Vulnerability Publication Date: 7/18/2024

Reference Information

CVE: CVE-2024-35198