Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-35198— TorchServe bypass allowed_urls configuration

Quick assessment

Affected
pytorch serve
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

TorchServe是pytorch开源的一个灵活且易于使用的工具。用于在生产中提供和扩展 PyTorch 模型。 TorchServe 0.4.2版本存在安全漏洞,该漏洞源于URL包含..之类的字符,可绕过TorchServe对allowed_urls配置的检查。

CVSS 9.8 · Critical EPSS 0.80% · P55
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-35198

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
TorchServe bypass allowed_urls configuration
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
使用不正确的解析名称或索引
Source: CVE Program / CVE List V5
Vulnerability Title
TorchServe 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
TorchServe是pytorch开源的一个灵活且易于使用的工具。用于在生产中提供和扩展 PyTorch 模型。 TorchServe 0.4.2版本存在安全漏洞,该漏洞源于URL包含..之类的字符,可绕过TorchServe对allowed_urls配置的检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
pytorch serve >= 0.4.2, < 0.11.0 -

II. Public POCs for CVE-2024-35198

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 9127 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-35198

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-35198 (1)

Vendor Advisories for CVE-2024-35198 (1)

Other References for CVE-2024-35198 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-35198

No comments yet


Leave a comment