Numpy missing input validation
High severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Aug 15, 2017
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Jun 17, 2022
Last updated
Jan 27, 2023
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.
References