Skip to main content
← All vulnerabilities
CVE-2017-12852PYSEC-2017-1GHSA-FRGW-FGH6-9G52

The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.13.3
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • numpyPyPI

    fixed in 1.13.3

  • numpyPyPI

    fixed in 1.13.3

References 3

GitHub · BT123/testcasesForMyRequest

GitHub · numpy/numpy

GitHub · BT123/numpy-1.13.1