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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-43654— TorchServe Server-Side Request Forgery

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.

PyTorch是PyTorch开源的一个 Python 包。 PyTorch Serve 0.1.0版本至0.8.1版本存在代码问题漏洞,该漏洞源于缺乏输入验证。

CVSS 10.0 · Critical EPSS 40.65% · P99

Possible ATT&CK Techniques 1 AI

T1213 · Data from Information Repositories
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-43654

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 Server-Side Request Forgery
Source: CVE Program / CVE List V5
Vulnerability Description
TorchServe is a tool for serving and scaling PyTorch models in production. TorchServe default configuration lacks proper input validation, enabling third parties to invoke remote HTTP download requests and write files to the disk. This issue could be taken advantage of to compromise the integrity of the system and sensitive data. This issue is present in versions 0.1.0 to 0.8.1. A user is able to load the model of their choice from any URL that they would like to use. The user of TorchServe is responsible for configuring both the allowed_urls and specifying the model URL to be used. A pull request to warn the user when the default value for allowed_urls is used has been merged in PR #2534. TorchServe release 0.8.2 includes this change. Users are advised to upgrade. There are no known workarounds for this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
PyTorch 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PyTorch是PyTorch开源的一个 Python 包。 PyTorch Serve 0.1.0版本至0.8.1版本存在代码问题漏洞,该漏洞源于缺乏输入验证。
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.1.0, < 0.8.2 -

II. Public POCs for CVE-2023-43654

# POC Description Source Link Shenlong Link
1 A tool that checks if a TorchServe instance is vulnerable to CVE-2023-43654 https://github.com/OligoCyberSecurity/ShellTorchChecker POC Details
2 Demo for CVE-2023-43654 - Remote Code Execution in PyTorch TorchServe https://github.com/OligoCyberSecurity/CVE-2023-43654 POC Details
3 TorchServe is a tool for serving and scaling PyTorch models in production. TorchServe default configuration lacks proper input validation, enabling third parties to invoke remote HTTP download requests and write files to the disk. This issue could be taken advantage of to compromise the integrity of the system and sensitive data. This issue is present in versions 0.1.0 to 0.8.1. A user is able to load the model of their choice from any URL that they would like to use. The user of TorchServe is responsible for configuring both the allowed_urls and specifying the model URL to be used. A pull request to warn the user when the default value for allowed_urls is used has been merged in PR #2534. TorchServe release 0.8.2 includes this change. Users are advised to upgrade. There are no known workarounds for this issue. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-43654.yaml POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 5817 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-2023-43654

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

Patches & Fixes for CVE-2023-43654 (1)

Other References for CVE-2023-43654 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-43654

No comments yet


Leave a comment