CVE-2021-33430

numpy: buffer overflow in the PyArray_NewFromDescr_int() in ctors.c

Published Dec 17, 2021 CVSS 3.1 · 5.3 Medium EPSS 1.5% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6p56-wp2h-9hxr NumPy Buffer Overflow (Disputed)
Ubuntu USN Ubuntu USN USN-5763-1 NumPy vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 11:50 PM
Reserved
May 20, 2021, 12:00 AM
Status
Modified
Published
Dec 17, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:54 AM
Severity
Moderate
Public date
May 7, 2021, 12:00 AM