# CVE-2021-33430: NumPy Buffer Overflow (Disputed)

Source: https://junglewise.ai/threats/cve-2021-33430-numpy-buffer-overflow-disputed  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-12-17  
License: CC BY 4.0 with a link back

CVE-2021-33430 · Severity: low · CVSS 3.1 · Published 2021-12-17

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.

Technologies: [numpy (PyPI)](https://junglewise.ai/threats/technologies/numpy). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2021-33430 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-33430 being exploited in the wild.

**How severe is CVE-2021-33430?** Low severity, with a CVSS score of 3.1, published 17 December 2021.

**Which products and versions are affected?** numpy (PyPI) ECOSYSTEM:introduced=1.9.0,fixed=1.10.0, ECOSYSTEM:introduced=1.9.0,fixed=1.21.

**Is there a fix for CVE-2021-33430?** Yes. numpy (PyPI): upgrade to 1.10.0, 1.21 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-33430?** Check whether you run numpy (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- numpy (PyPI): upgrade to 1.10.0, 1.21 or later

  ```sh
  pip install "numpy>=1.21"
  ```


## Affected products

- numpy (PyPI) ECOSYSTEM:introduced=1.9.0,fixed=1.10.0, ECOSYSTEM:introduced=1.9.0,fixed=1.21

## Identifiers

- CVE-2021-33430
- GHSA-6p56-wp2h-9hxr
- PYSEC-2021-854

## Related threats

- [NumPy insecure deserialization in numpy.load](https://junglewise.ai/threats/cve-2019-6446-numpy-insecure-deserialization-in-numpy-load)
- [Buffer Copy without Checking Size of Input in NumPy](https://junglewise.ai/threats/cve-2021-41496-buffer-copy-without-checking-size-of-input-in-numpy)
- [NumPy NULL Pointer Dereference](https://junglewise.ai/threats/cve-2021-41495-numpy-null-pointer-dereference)
- [Incorrect Comparison in NumPy](https://junglewise.ai/threats/cve-2021-34141-incorrect-comparison-in-numpy)
- [PYSEC-2019-38 - ** DISPUTED ** An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module…](https://junglewise.ai/threats/pysec-2019-38-disputed-an-issue-was-discovered-in-numpy-1-16-0-and-92c3370e)
