CVE-2021-41496
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)
What to do
Fixed builds are available from PyPI, Ubuntu: see the table below for the fixed version per release.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | numpy | Fixed | 1:1.21.5-1ubuntu22.04.1 | UBUNTU-CVE-2021-41496 |
| Ubuntu 20.04 | numpy | Fixed | 1:1.17.4-5ubuntu3.1 | UBUNTU-CVE-2021-41496 |
| Debian 14 | numpy | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-41496 | |
| Debian 13 | numpy | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-41496 | |
| Debian 12 | numpy | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-41496 | |
| Red Hat Enterprise Linux 9 | python3-numpy | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-numpy-f2py | Not affected | ||
| Red Hat Enterprise Linux 8 | numpy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | python3-numpy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | python3-numpy-f2py | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | numpy | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | numpy-f2py | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | numpy | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | numpy-f2py | Will not fix Out of support scope | ||
| PyPI library | numpy | Fixed | 1.19 | PYSEC-2021-857 |
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.