CVE-2023-43654CWE-918

TorchServe Server-Side Request Forgery

Critical · published September 28, 2023

CVSS v3.1
10.0
EPSS
42%
Percentile
98.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky default setting might let attackers play loose with your files! TorchServe's improper input validation can allow rogue requests to download files directly to your system. 🔥 Think of it like a restaurant where customers can order anything off the entire menu without limits—if they choose a dangerous dish, the kitchen has to serve it without checking the ingredients! With this vulnerability, an attacker could remotely download malicious files onto your server, potentially compromising your entire setup and sensitive data. Imagine a rogue chef sneaking in a recipe that ruins the whole dining experience—except this time, it’s your system at stake!

Put simply

Think of it like a restaurant where customers can order anything off the entire menu without limits—if they choose a dangerous dish, the kitchen has to serve it without checking the ingredients! The issue comes from TorchServe's default configuration, which lacks proper input validation for model URLs, enabling unauthorized HTTP requests and file writes. This opens the door for attackers to manipulate the server's files without any authentication needed.

What to do

With this vulnerability, an attacker could remotely download malicious files onto your server, potentially compromising your entire setup and sensitive data. Imagine a rogue chef sneaking in a recipe that ruins the whole dining experience—except this time, it’s your system at stake! To protect your system, upgrade TorchServe to version 0.8.2 immediately, which includes a fix for this vulnerability. Also, configure the 'allowed_urls' setting to limit which URLs can be fetched, ensuring only trusted sources are used. Don't wait, secure your setup now! You've got this! By taking these steps, you'll ensure your system is much safer and ready to serve with confidence. 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.42495 · 98.7th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2023-09-28T22:10Z
EPSS history
Timeline
  • 28 SEP 22:10Z
    TorchServe Server-Side Request Forgery
    cvelistv5