CVE-2021-41496
JSON

5.5medium

Buffer Copy without Checking Size of Input in NumPy

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.40% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-f7c7-j99h-c22fPYSEC-2021-857

Description

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. NOTE: The vendor does not agree this is a vulnerability; the negative dimensions can only be created by an already privileged user (or internally)

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
numpy (PyPI)before 1.19, before 1.19.0GitHub Advisory Database, PyPA Advisory Database
numpy numpybefore 1.19.0NVD

All scores

GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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. NOTE: The vendor does not agree this is a vulnerability; the negative dimensions can only be created by an already privileged user (or internally)

GitHub Advisory Database

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.

NVD (es)

** EN DISPUTA ** Un desbordamiento de búfer en la función array_from_pyobj del archivo fortranobject.c en NumPy versiones anteriores a 1.19, que permite a atacantes realizar un ataque de denegación de servicio al construir cuidadosamente un array con valores negativos. NOTA: El proveedor no está de acuerdo en que esto sea una vulnerabilidad; las dimensiones negativas sólo pueden ser creadas por un usuario ya privilegiado (o internamente)

References

Sources

SourceRecordLicence
CVE ListCVE-2021-41496 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-f7c7-j99h-c22f changed 2023-11-08CC-BY-4.0
NVDCVE-2021-41496 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-857 changed 2023-11-08CC-BY-4.0