TorchServe Server-Side Request Forgery
CVE-2023-43654

10CRITICAL

Key Information:

Vendor

Pytorch

Status
Vendor
CVE Published:
28 September 2023

Badges

👾 Exploit Exists🟡 Public PoC🟣 EPSS 92%

What is CVE-2023-43654?

TorchServe, a tool for serving and scaling PyTorch models, has a significant input validation flaw due to its default configuration. This vulnerability allows unauthorized third parties to invoke unverified remote HTTP download requests, leading to potential file writing on the disk. Consequently, this could jeopardize system integrity and expose sensitive data. Although users are advised to configure 'allowed_urls' appropriately, many may still rely on default settings, thus increasing risks. The vulnerability affects versions 0.1.0 to 0.8.1. Users are urged to upgrade to version 0.8.2, which includes a fix to warn users about the risks of the default 'allowed_urls' setting.

Affected Version(s)

serve >= 0.1.0, < 0.8.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

EPSS Score

92% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
10
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.