VDB
Sign up
—

PYSEC-2017-1

Quick fix

PYSEC-2017-1 — numpy: upgrade to the fixed version with the command below.

pip install --upgrade 'numpy>=1.13.3'

Details

The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation. An empty list or ndarray will stick into an infinite loop, which can allow attackers to cause a DoS attack.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References