pferron / Case133152

0 stars 0 forks source link

torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl: 1 vulnerabilities (highest severity is: 9.8) - autoclosed #17

Closed mend-for-github-com[bot] closed 2 months ago

mend-for-github-com[bot] commented 2 months ago
Vulnerable Library - torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Found in HEAD commit: 980c33eab0567755c6395fde59d9ac00f8cd245a

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (torch version) Remediation Possible**
CVE-2024-5480 Critical 9.8 torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl Direct N/A

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-5480 ### Vulnerable Library - torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **torch-2.3.0-cp38-cp38-manylinux1_x86_64.whl** (Vulnerable Library)

Found in HEAD commit: 980c33eab0567755c6395fde59d9ac00f8cd245a

Found in base branch: main

### Vulnerability Details

A vulnerability in the PyTorch's torch.distributed.rpc framework, specifically in versions prior to 2.2.2, allows for remote code execution (RCE). The framework, which is used in distributed training scenarios, does not properly verify the functions being called during RPC (Remote Procedure Call) operations. This oversight permits attackers to execute arbitrary commands by leveraging built-in Python functions such as eval during multi-cpu RPC communication. The vulnerability arises from the lack of restriction on function calls when a worker node serializes and sends a PythonUDF (User Defined Function) to the master node, which then deserializes and executes the function without validation. This flaw can be exploited to compromise master nodes initiating distributed training, potentially leading to the theft of sensitive AI-related data.

Publish Date: 2024-06-06

URL: CVE-2024-5480

### CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

mend-for-github-com[bot] commented 2 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.