ADVISORIES

GitHub Advisory Database

GHSA-frgw-fgh6-9g52

Numpy missing input validation

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.

Affected packages

EcosystemPackageAffected versions
PyPInumpy
All versions before 1.13.3 (fixed in 1.13.3)

References