CVE-2023-43654

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:24

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 10.0
References () http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry
References () https://github.com/pytorch/serve/pull/2534 - Issue Tracking () https://github.com/pytorch/serve/pull/2534 - Issue Tracking
References () https://github.com/pytorch/serve/releases/tag/v0.8.2 - Release Notes () https://github.com/pytorch/serve/releases/tag/v0.8.2 - Release Notes
References () https://github.com/pytorch/serve/security/advisories/GHSA-8fxr-qfr9-p34w - Vendor Advisory () https://github.com/pytorch/serve/security/advisories/GHSA-8fxr-qfr9-p34w - Vendor Advisory

31 Oct 2023, 18:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.5
v2 : unknown
v3 : 9.8
References (MISC) http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html - (MISC) http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry

13 Oct 2023, 16:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html -

12 Oct 2023, 16:19

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 6.5

02 Oct 2023, 20:04

Type Values Removed Values Added
References (MISC) https://github.com/pytorch/serve/releases/tag/v0.8.2 - (MISC) https://github.com/pytorch/serve/releases/tag/v0.8.2 - Release Notes
References (MISC) https://github.com/pytorch/serve/security/advisories/GHSA-8fxr-qfr9-p34w - (MISC) https://github.com/pytorch/serve/security/advisories/GHSA-8fxr-qfr9-p34w - Vendor Advisory
References (MISC) https://github.com/pytorch/serve/pull/2534 - (MISC) https://github.com/pytorch/serve/pull/2534 - Issue Tracking
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:*
First Time Pytorch
Pytorch torchserve

28 Sep 2023, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-09-28 23:15

Updated : 2024-11-21 08:24


NVD link : CVE-2023-43654

Mitre link : CVE-2023-43654

CVE.ORG link : CVE-2023-43654


JSON object : View

Products Affected

pytorch

  • torchserve
CWE
CWE-918

Server-Side Request Forgery (SSRF)