pytorch-lightning
Affected
- introduced
0, fixed1.6.0(ecosystem)
Fixed versions
1.6.0
Fix
- Fixed version
1.6.0pip install --upgrade pytorch-lightning==1.6.0
Advisory
Also known as: CVE-2022-0845, PYSEC-2022-181, PYSEC-2026-3969
Code Injection in PyTorch Lightning
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 1.6.0 (ecosystem)1.6.0
1.6.0pip install --upgrade pytorch-lightning==1.6.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0