Lucene search

K
githubGitHub Advisory DatabaseGHSA-MR7H-W2QC-FFC2
HistoryJun 27, 2024 - 9:32 p.m.

pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint

2024-06-2721:32:08
CWE-434
GitHub Advisory Database
github.com
23
pytorch-lightning
vulnerability
/v1/runs
api
endpoint
path traversal
tar.gz
files
lightningapp
plugin_server
malicious
directory
remote code execution

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

AI Score

7.7

Confidence

High

A vulnerability in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 allows attackers to exploit path traversal when extracting tar.gz files. When the LightningApp is running with the plugin_server, attackers can deploy malicious tar.gz plugins that embed arbitrary files with path traversal vulnerabilities. This can result in arbitrary files being written to any directory in the victim’s local file system, potentially leading to remote code execution.

Affected configurations

Vulners
Node
lightning-vizlightningRange2.3.1node.js
VendorProductVersionCPE
lightning-vizlightning*cpe:2.3:a:lightning-viz:lightning:*:*:*:*:*:node.js:*:*

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

AI Score

7.7

Confidence

High

Related for GHSA-MR7H-W2QC-FFC2