AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

NumPyGHSA-f7c7-j99h-c22f

Buffer Copy without Checking Size of Input in NumPy

NumPy

CVE-2021-41496 · Published Feb 8, 2022 · updated Nov 8, 2023

Medium5.5
Fix: upgrade to 1.19 or later
GitHub advisory

Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values.

Affected versions

PackageAffectedFixed in
numpy
PyPI
< 1.191.19
Details and references
CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-120
Also known as
CVE-2021-41496, PYSEC-2021-857

More NumPy advisories

All NumPy