First published: Tue Aug 15 2017(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
NumPy NumPy | <=1.13.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-12852 has a severity rating that indicates a potential for denial of service due to an infinite loop in the numpy.pad function.
To fix CVE-2017-12852, upgrade to Numpy version 1.13.2 or later, which includes a patch for the input validation issue.
CVE-2017-12852 exploits the lack of input validation in the numpy.pad function when handling empty lists or ndarrays.
No, CVE-2017-12852 is not present in the latest versions of Numpy, as it was addressed in version 1.13.2 and subsequent releases.
Users and applications relying on Numpy versions 1.13.1 and older are at risk from CVE-2017-12852.