PYSEC-2019-38 - ** DISPUTED ** An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module…

Severity: info · Published 2019-01-16

** DISPUTED ** An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, as demonstrated by a numpy.load call. NOTE: third parties dispute this issue because it is a behavior that might have legitimate applications in (for example) loading serialized Python object arrays from trusted and authenticated sources.

Technologies: numpy (PyPI). Vendors: PyPI.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 16 January 2019.
Which products and versions are affected?
numpy (PyPI) ECOSYSTEM:introduced=0,fixed=1.16.1.
Is there a fix for This vulnerability?
Yes. numpy (PyPI): upgrade to 1.16.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
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.16.1 or later
    pip install "numpy>=1.16.1"

Affected products

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

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