AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

NumPyGHSA-frgw-fgh6-9g52

Numpy missing input validation

NumPy

CVE-2017-12852 · Published May 13, 2022 · updated Nov 8, 2023

High7.5
Fix: upgrade to 1.13.3 or later
GitHub advisory

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 versions

PackageAffectedFixed in
numpy
PyPI
< 1.13.31.13.3
Details and references

More NumPy advisories

All NumPy