Home » Database

AVID-2026-R0935

Description

Code Injection in pytorchlightning/pytorch-lightning (CVE-2022-0845)

Details

Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.

Reason for inclusion in AVID: CVE-2022-0845 describes a code injection vulnerability in the PyTorch Lightning library (pytorch-lightning) prior to version 1.6.0. PyTorch Lightning is a widely-used framework in AI model development and training, making this a software supply-chain issue for general-purpose AI systems. The vulnerability is clearly a security vulnerability (code execution risk) with CVSS metrics provided, and the report includes references and a patch commit, indicating sufficient evidence for curation.

References

Affected or Relevant Artifacts

  • Developer: pytorchlightning
  • Deployer: pytorchlightning
  • Artifact Details:
TypeName
Systempytorchlightning/pytorch-lightning

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.0
Vector StringCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Base Score7.3
Base Severity🔴 High
Attack VectorLOCAL
Attack Complexity🟢 Low
Privileges RequiredNONE
User InteractionREQUIRED
ScopeUNCHANGED
Confidentiality Impact🔴 High
Integrity Impact🔴 High
Availability Impact🟢 Low

CWE

IDDescription
CWE-94CWE-94 Improper Control of Generation of Code

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2022-03-05
  • Version: 0.3.3
  • AVID Entry