{"id":"PYSEC-2017-1","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.","aliases":["CVE-2017-12852","GHSA-frgw-fgh6-9g52"],"modified":"2023-11-08T03:58:54.336802Z","published":"2017-08-15T16:29:00Z","references":[{"type":"REPORT","url":"https://github.com/numpy/numpy/issues/9560#issuecomment-322395292"},{"type":"WEB","url":"https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-frgw-fgh6-9g52"}],"affected":[{"package":{"name":"numpy","ecosystem":"PyPI","purl":"pkg:pypi/numpy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.3"}]}],"versions":["0.9.6","0.9.8","1.0","1.0.3","1.0.4","1.0b1","1.0b4","1.0b5","1.0rc1","1.0rc2","1.0rc3","1.1.1","1.10.0","1.10.1","1.10.2","1.10.3","1.10.4","1.11.0","1.11.1","1.11.2","1.11.3","1.12.0","1.12.1","1.13.0","1.13.0rc1","1.13.0rc2","1.13.1","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1","1.8.2","1.9.0","1.9.1","1.9.2","1.9.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/numpy/PYSEC-2017-1.yaml"}}],"schema_version":"1.7.3"}