ADVISORIES

GitHub Advisory Database

GHSA-r5qj-cvf9-p85h

Code Injection in PyTorch Lightning

Details

PyTorch Lightning version 1.5.10 and prior is vulnerable to code injection. An attacker could execute commands on the target OS running the operating system by setting the PL_TRAINER_GPUS when using the Trainer module. A patch is included in the 1.6.0 release.

Affected packages

EcosystemPackageAffected versions
PyPIpytorch-lightning
All versions before 1.6.0 (fixed in 1.6.0)

References