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.
{
"github_reviewed_at": "2022-06-17T21:05:33Z",
"cwe_ids": [
"CWE-835"
],
"severity": "HIGH",
"nvd_published_at": "2017-08-15T16:29:00Z",
"github_reviewed": true
}