5.3

CVE-2021-33430: numpy Classic Buffer Overflow

CVSS: 5.3v3.1MediumModified
AliasesGHSA-6p56-wp2h-9hxrPYSEC-2021-854UBUNTU-CVE-2021-33430
Published 17-12-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-33430 is a medium (CVSS 5.3) Classic Buffer Overflow vulnerability in numpy. EPSS estimates a 1.16% chance of exploitation in the next 30 days, higher than 66.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
1.16%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 17 · Related 14

Timeline

  1. 17-12-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

1.16%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

+0.08 pp

From 1.07% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.16%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Numpy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • numpy< 1:1.21.4-2
Numpy1 product
  • numpy≥ 1.9.0, ≤ 1.9.3
Opensuse1 product
  • python-numba&distro=openSUSE Tumbleweed< 0.61.0-1.1
PyPI1 product
  • numpy≥ 1.9.0, < 1.21 | ≥ 1.9.0, < 1.10.0
Ubuntu1 product
  • numpy< 1:1.17.4-5ubuntu3.1

5 vendors · 5 products

References

14 links
Show all 14 references