NumPyGHSA-f7c7-j99h-c22f
Buffer Copy without Checking Size of Input in NumPy
Fix: upgrade to 1.19 or later
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
| Package | Affected | Fixed in |
|---|---|---|
| numpy PyPI | < 1.19 | 1.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