VDB
Sign up
—

PYSEC-2021-856

Quick fix

PYSEC-2021-856 — numpy: upgrade to the fixed version with the command below.

pip install --upgrade 'numpy>=1.19.1'

Details

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/numpy
Introduced in: 0Fixed in: 1.19.1
Fixpip install --upgrade 'numpy>=1.19.1'

References