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


Vulnerability identifier: #VU95802

Vulnerability risk: Low

CVSSv4.0: 1.1 [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

Exploit availability: No

Vulnerable software:
PyTorch
Universal components / Libraries / Programming Languages & Components

Vendor: pytorch

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

PyTorch: 2.0.0 - 2.1.0


External links
https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81
https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability