VDB
KO
MEDIUM 4.0

PYSEC-2024-328

Quick fix

PYSEC-2024-328 — torch-npu: upgrade to the fixed version with the command below.

pip install --upgrade 'torch-npu>=2.2.0'

Details

PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / torch-npu
Introduced in: 0 Fixed in: 2.2.0
Fix pip install --upgrade 'torch-npu>=2.2.0'

References