UBUNTU-CVE-2021-41495

Source
https://ubuntu.com/security/CVE-2021-41495
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41495.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-41495
Related
Published
2021-12-17T20:15:00Z
Modified
2021-12-17T20:15:00Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

* DISPUTED * 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. 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.

References

Affected packages

Ubuntu:20.04:LTS / numpy

Package

Name
numpy
Purl
pkg:deb/ubuntu/numpy?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.17.4-5ubuntu3.1

Affected versions

1:1.*

1:1.17.3-0ubuntu2
1:1.17.4-3ubuntu1
1:1.17.4-3ubuntu2
1:1.17.4-5ubuntu2
1:1.17.4-5ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:1.17.4-5ubuntu3.1",
            "binary_name": "python-numpy-doc"
        },
        {
            "binary_version": "1:1.17.4-5ubuntu3.1",
            "binary_name": "python3-numpy"
        },
        {
            "binary_version": "1:1.17.4-5ubuntu3.1",
            "binary_name": "python3-numpy-dbg"
        }
    ]
}

Ubuntu:22.04:LTS / numpy

Package

Name
numpy
Purl
pkg:deb/ubuntu/numpy?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.21.5-1ubuntu22.04.1

Affected versions

1:1.*

1:1.19.5-1ubuntu2
1:1.19.5-1ubuntu3
1:1.20.2-1ubuntu1
1:1.21.4-2
1:1.21.5-1
1:1.21.5-1build2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:1.21.5-1ubuntu22.04.1",
            "binary_name": "python-numpy-doc"
        },
        {
            "binary_version": "1:1.21.5-1ubuntu22.04.1",
            "binary_name": "python3-numpy"
        },
        {
            "binary_version": "1:1.21.5-1ubuntu22.04.1",
            "binary_name": "python3-numpy-dbgsym"
        }
    ]
}