Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpy fails safety #2349

Closed
shernshiou opened this issue Feb 1, 2022 · 3 comments
Closed

Numpy fails safety #2349

shernshiou opened this issue Feb 1, 2022 · 3 comments

Comments

@shernshiou
Copy link

shernshiou commented Feb 1, 2022

Refering to 07b8fe9#diff-3c561b12084d50ebca9e164979f7df4921085ae29a71bf4e4f4ee1c5f14ae9b5R3827

Can I know what is wrong with numpy? Can I know why is numpy > 0 fails the safety check.

    "numpy": [
        "<=1.16.0",
        ">=1.9.0,<=1.9.3"
        "<1.13.2",
        "<1.16.3",
        "<1.21.0",
        "<1.22.0",
        "<1.8.1",
        ">0"
    ],
@WlodekLipski
Copy link

Seems like the list of affected version isn't sorted and the safety parser doesn't recognize affected version properly.

Just a thought, as experience the same problem here.

@jamiesandenr
Copy link

According to data/insecure_full.json the problem is:

All versions of Numpy are affected by CVE-2021-41495: A null Pointer Dereference vulnerability exists in numpy.sort, in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays. numpy/numpy#19038

@SCH227
Copy link

SCH227 commented Feb 1, 2022

Good day!
CVE-2021-41495 for NumPy hasn't been fixed yet in any release. See here: numpy/numpy#19038
Note that in the same thread, NumPy devs argue about the validity and correct severity of this issue.
To be on the security side, we chose to report this as a possible vulnerability so users of NumPy can take the best informed decision considering their use-case.

madhavajay added a commit to madhavajay/PySyft that referenced this issue Feb 2, 2022
- Updating numpy to latest version which fixes other security issues
- pyupio/safety-db#2349
- numpy/numpy#19038
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants