Intel

AIKIDO-2024-10119

torchserve is vulnerable to Improper Access Control

Improper Access ControlCVE-2024-35199 Published Jun 4, 2024

50

Medium Risk

This Affects:

pythontorchserve
0.1.1 - 0.10.0
Fixed in 0.11.0
Are you affected? Scan for Free

TL;DR

Affected versions of torchserve are vulnerable to an overpermissive model server configuration. The model server listens on all interfaces (0.0.0.0), allowing anyone on the local network (such as other containers) to access the Model Server. The patched version ensures that the Model Server listens on localhost only.

Who does this affect?

You are affected if you are use a vulnerable version of torchserve.

Background info

torchserve is vulnerable to Improper Access Control in versions 0.1.1 - 0.10.0.

How to fix this

Upgrade torchserve to the patch version (version 0.11.0).