Azure Linux Advisory
AZL-7045
CVE-2021-41495 affecting package numpy for versions less than 1.22.0-1
Details
Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < 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. NOTE: While correct that validation is missing, an error can only occur due to an exhaustion of memory. If the user can exhaust memory, they are already privileged. Further, it should be practically impossible to construct an attack which can target the memory exhaustion to occur at exactly this place
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Azure Linux:2 | numpy | All versions before 1.22.0-1 (fixed in 1.22.0-1) |