HIGH 7.5 PyPI

Numpy missing input validation

GHSA-frgw-fgh6-9g52 · CVE-2017-12852 · PYSEC-2017-1

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes