Intel

AIKIDO-2024-10517

luigi is vulnerable to Command Injection

Command Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 6, 2024

49

Medium Risk

This Affects:

pythonluigi
2.7.7 - 3.5.1
Fixed in 3.6.0
Are you affected? Scan for Free

TL;DR

Affected versions of the luigi library are vulnerable to command injection in the track_job function when handling LSF batch system tasks. This vulnerability arises from the use of subprocess.Popen with the shell=True parameter, which could 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

luigi is vulnerable to Command Injection in versions 2.7.7 - 3.5.1.

How to fix this

Upgrade the luigi library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform