Buffer Overflow Affecting numpy package, versions [,1.21.0rc1)


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.07% (30th percentile)
Expand this section
NVD
5.3 medium
Expand this section
SUSE
7.5 high
Expand this section
Red Hat
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-NUMPY-2321969
  • published 19 Dec 2021
  • disclosed 19 Dec 2021
  • credit Daybreak2019

How to fix?

Upgrade numpy to version 1.21.0rc1 or higher.

Overview

numpy is a fundamental package needed for scientific computing with Python.

Affected versions of this package are vulnerable to Buffer Overflow in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code.