Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-48299

5.3 · MEDIUM
Published Nov 21, 2023 pytorch CWE-22 EPSS 0.68% (50th pctl)

Overview

CVE-2023-48299 is a medium-severity vulnerability affecting pytorch torchserve. It was published on November 21, 2023 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading potentially harmful archives that contain files that are extracted to any location on the filesystem that is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful code in open-source/public models, which can be downloaded from the internet, and take advantage of machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to address the ZipSlip vulnerability.

Remediation

Check the references section for vendor advisories and patches from pytorch. Update torchserve to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
pytorch torchserve >= 0.1.0, < 0.9.0 Affected

Frequently Asked Questions

What is CVE-2023-48299?

CVE-2023-48299 is a medium-severity vulnerability affecting pytorch torchserve. It was published on November 21, 2023 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2023-48299?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-48299?

Check the references section for vendor advisories and patches from pytorch. Update torchserve to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-48299?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-48299 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.