cupy@11.0.0b1 vulnerabilities

CuPy: NumPy & SciPy for GPU

  • latest version

    13.3.0

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    3 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the cupy 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
    • M
    Race Condition

    Affected versions of this package are vulnerable to Race Condition during the conversion of Compressed Sparse Row (CSR) matrices to dense matrices in multithreaded environments.

    How to fix Race Condition?

    Upgrade cupy to version 13.0.0 or higher.

    [,13.0.0)
    • M
    Race Condition

    Affected versions of this package are vulnerable to Race Condition via the cupyx.scipy.sparse.csr_matrix function when handling boolean data types. The problem arises from the function's incorrect handling of duplicate entries in non-canonical data, leading to inconsistent behavior compared to scipy.sparse.csr_matrix.

    How to fix Race Condition?

    Upgrade cupy to version 13.0.0 or higher.

    [,13.0.0)
    • M
    Race Condition

    Affected versions of this package are vulnerable to Race Condition due to missing checks in jitify.pyx file. This issue allows an attacker to interfere with processes leading to unintended behaviour.

    How to fix Race Condition?

    Upgrade cupy to version 11.5.0, 12.0.0b3 or higher.

    [11.0.0a1,11.5.0)[12.0.0a1,12.0.0b3)