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.
{
"github_reviewed": true,
"github_reviewed_at": "2022-03-07T19:58:34Z",
"cwe_ids": [
"CWE-94"
],
"severity": "CRITICAL",
"nvd_published_at": "2022-03-05T22:15:00Z"
}