CVE-2021-41495: NumPy NULL Pointer Dereference

CVE-2021-41495 · Severity: low · CVSS 3.1 · Published 2021-12-17

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays.

Technologies: numpy (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-41495 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-41495 being exploited in the wild.
How severe is CVE-2021-41495?
Low severity, with a CVSS score of 3.1, published 17 December 2021.
Which products and versions are affected?
numpy (PyPI) ECOSYSTEM:introduced=0,fixed=1.19, ECOSYSTEM:introduced=0,fixed=1.19.1.
Is there a fix for CVE-2021-41495?
Yes. numpy (PyPI): upgrade to 1.19, 1.19.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-41495?
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.19, 1.19.1 or later
    pip install "numpy>=1.19.1"

Affected products

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

Identifiers

  • CVE-2021-41495
  • GHSA-5545-2q6w-2gh6
  • PYSEC-2021-856

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