numpy@1.22.1 vulnerabilities

Fundamental package for array computing in Python

  • latest version

    2.3.4

  • latest non vulnerable version

  • first published

    18 years ago

  • latest version published

    14 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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)