CVEfocus › CVE database › CVE-2021-33430

CVE-2021-33430

CVSS 5.3 MediumEPSS 1.5% (higher than 75% of CVEs)Published 2021-12-17Updated 2024-08-03Assigner: mitre

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

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
2Fix pending
3Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04numpyNot affected
vulnerable_code_not_present
Ubuntu 20.04numpyFixed1:1.17.4-5ubuntu3.1UBUNTU-CVE-2021-33430
Debian 14numpyFixed1:1.21.4-2DEBIAN-CVE-2021-33430
Debian 13numpyFixed1:1.21.4-2DEBIAN-CVE-2021-33430
Debian 12numpyFixed1:1.21.4-2DEBIAN-CVE-2021-33430
Red Hat Enterprise Linux 9python3-numpyFix pending
Affected
Red Hat Enterprise Linux 9python3-numpy-f2pyFix pending
Affected
Red Hat Enterprise Linux 8numpyWill not fix
Will not fix
Red Hat Enterprise Linux 8python3-numpyWill not fix
Will not fix
Red Hat Enterprise Linux 8python3-numpy-f2pyWill not fix
Will not fix
Red Hat Enterprise Linux 7numpyNot affected
Red Hat Enterprise Linux 7numpy-f2pyNot affected
Red Hat Enterprise Linux 6numpyNot affected
Red Hat Enterprise Linux 6numpy-f2pyNot affected
PyPI librarynumpyFixed1.21PYSEC-2021-854

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.