numpy@1.22.1 vulnerabilities

Fundamental package for array computing in Python

  • latest version

    2.3.1

  • latest non vulnerable version

  • first published

    18 years ago

  • latest version published

    12 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the numpy package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    NULL Pointer Dereference

    numpy is a fundamental package needed for scientific computing with Python.

    Affected versions of this package are vulnerable to NULL Pointer Dereference due to missing return-value validation in the PyArray_DescrNew function, which may allow attackers to conduct Denial of Service attacks by repetitively creating and sort arrays.

    Note: This may likely only happen if application memory is already exhausted, as it requires the newdescr object of the PyArray_DescrNew to evaluate to NULL.

    How to fix NULL Pointer Dereference?

    Upgrade numpy to version 1.22.2 or higher.

    [0,1.22.2)