GHSA-6p56-wp2h-9hxr

NumPy Buffer Overflow (Disputed)

At a glance

Published
Updated
CVE
CVE-2021-33430
Aliases
PYSEC-2021-854
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Description

A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service. NOTE: The vendor does not agree this is a vulnerability; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user.

Affected packages

PackageVersions
PyPI · numpyintroduced 1.9.0, fixed 1.21

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database