Buffer Overflow Affecting numpy package, versions [,1.22.0)


0.0
low

Snyk CVSS

    Attack Complexity High
Expand this section
NVD
5.5 medium
Expand this section
SUSE
5.5 medium
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-2321966
  • published 19 Dec 2021
  • disclosed 19 Dec 2021
  • credit Daybreak2019

How to fix?

Upgrade numpy to version 1.22.0 or higher.

Overview

numpy is a fundamental package needed for scientific computing with Python. Affected versions of this package are vulnerable to Buffer Overflow due to missing boundary checks in the array_from_pyobj function of fortranobject.c. This may allow an attacker to conduct Denial of Service by carefully constructing an array with negative values.