opencv / opencv-python

Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
https://pypi.org/project/opencv-python/
MIT License
4.45k stars 837 forks source link

pip-audit fails with 2 vulnerabilities (GHSA-m6vm-8g8v-xfjh and GHSA-8849-5h85-98qw) #822

Open daisuke834 opened 1 year ago

daisuke834 commented 1 year ago

Expected behaviour

When I ran

$ pip-audit -r /path/to/requirements.txt

where the requirements.txt has dependency on the latest version of opencv-python

opencv-python==4.7.0.72

, no error is supposed to be happened.

Actual behaviour

The following two errors are raised.

Name          Version  ID                  Fix Versions
------------- -------- ------------------- ------------
opencv-python 4.7.0.72 GHSA-m6vm-8g8v-xfjh
opencv-python 4.7.0.72 GHSA-8849-5h85-98qw

Steps to reproduce

$ mkdir tempdir
$ cd tempdir
$ echo "opencv-python==4.7.0.72" > requirements.txt
$ pip install pip-audit==2.5.3
$ pip-audit -r requirements.txt
Found 2 known vulnerabilities in 1 package
Name          Version  ID                  Fix Versions
------------- -------- ------------------- ------------
opencv-python 4.7.0.72 GHSA-m6vm-8g8v-xfjh
opencv-python 4.7.0.72 GHSA-8849-5h85-98qw

My environment:

$ python --version
Python 3.9.16
Issue submission checklist
skvark commented 1 year ago

These issues are in the upstream C++ repo, and cannot be fixed here.

daisuke834 commented 1 year ago

I understood. Thank you!