Vulnerability · Published Dec 17, 2021 · Assigned by mitre
CVE-2021-33430
Medium 5.3
In plain English
A medium-severity security flaw in the numpy package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 vulneraility; 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | numpy | 1:1.21.4-2 | DEBIAN-CVE-2021-33430 |
| Debian:13 | numpy | 1:1.21.4-2 | DEBIAN-CVE-2021-33430 |
| Debian:14 | numpy | 1:1.21.4-2 | DEBIAN-CVE-2021-33430 |
| PyPI | numpy | 1.21 | GHSA-6p56-wp2h-9hxr |
| PyPI | numpy | 1.10.0 | PYSEC-2021-854 |
| Ubuntu:22.04:LTS | numpy | 1:1.21.5-1ubuntu22.04.1 | USN-5763-1 |
Affected products (as reported)
References
- https://github.com/numpy/numpy/issues/18939 x_refsource_MISC