Advisory

PYSEC-2021-856

Also known as: CVE-2021-41495, GHSA-5545-2q6w-2gh6

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-12-17 20:15 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

numpy

PyPI · All systems

Affected

  • introduced 0, fixed 1.19.1 (ecosystem)

Fixed versions

1.19.1

Fix

  • Fixed version 1.19.1
    pip install --upgrade numpy==1.19.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences