Heap-based buffer overflow in PyTorch - CVE-2024-31580

 

Heap-based buffer overflow in PyTorch - CVE-2024-31580

Published: August 13, 2024


Vulnerability identifier: #VU95802
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-31580
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: pytorch
Affected software:
PyTorch

Detailed vulnerability description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in component /runtime/vararg_functions.cpp. A local user can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


How to mitigate CVE-2024-31580

Install updates from vendor's website.

Sources