CVE-2021-41495

NameCVE-2021-41495
DescriptionNull 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. 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
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
numpy (PTS)bullseye1:1.19.5-1vulnerable
bookworm1:1.24.2-1vulnerable
trixie1:1.24.2-2vulnerable
sid1:1.26.4+ds-6vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
numpysource(unstable)(unfixed)unimportant

Notes

https://github.com/numpy/numpy/issues/19038

Search for package or bug name: Reporting problems