Intel

AIKIDO-2024-10073

transformers is vulnerable to Command Injection

Command InjectionCVE-2024-3568 Published May 2, 2024

60

Medium Risk

This Affects:

pythontransformers
4.26.0 - 4.36.2
Fixed in 4.37.0
Are you affected? Scan for Free

TL;DR

Affected versions of the transformers library are vulnerable to command injection due to the use of subprocess.Popen with the shell=True parameter. This vulnerability could potentially allow attackers to execute arbitrary code.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

transformers is vulnerable to Command Injection in versions 4.26.0 - 4.36.2.

How to fix this

Upgrade the transformers library to the patch version.