CVE-2017-12852: Numpy missing input validation

CVE-2017-12852 · Severity: low · CVSS 3 · Published 2017-08-15

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.

Technologies: numpy (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2017-12852 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2017-12852 being exploited in the wild.
How severe is CVE-2017-12852?
Low severity, with a CVSS score of 3, published 15 August 2017.
Which products and versions are affected?
numpy (PyPI) ECOSYSTEM:introduced=0,fixed=1.13.3.
Is there a fix for CVE-2017-12852?
Yes. numpy (PyPI): upgrade to 1.13.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2017-12852?
Check whether you run numpy (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • numpy (PyPI): upgrade to 1.13.3 or later
    pip install "numpy>=1.13.3"

Affected products

  • numpy (PyPI) ECOSYSTEM:introduced=0,fixed=1.13.3

Identifiers

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.