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

Bug: CVSS v4 support requires cvss package 3.0 or later #383

Open
anthonyharrison opened this issue Dec 24, 2024 · 3 comments
Open

Bug: CVSS v4 support requires cvss package 3.0 or later #383

anthonyharrison opened this issue Dec 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@anthonyharrison
Copy link

Expected Behavior

pip install owasp-depscan --upgrade should install latest version of package and dependencies

Actual Behavior

CVSS package not upgraded (existing version 2.6 retained). When running depscan get

ImportError: cannot import name 'CVSS4' from 'cvss' (/data/Documents/depscan/lib/python3.10/site-packages/cvss/init.py)

Steps to Reproduce

Have previously installed version of depscan installed in python virtual environment

Additional Information

Dependencies in pyproject.toml file for cvss needs to be >= 3.0

@anthonyharrison anthonyharrison added the bug Something isn't working label Dec 24, 2024
@prabhu
Copy link
Member

prabhu commented Dec 24, 2024

No idea. The versions are not locked in the pyproject.toml. Does it work if the virual environment is created from scratch?

@anthonyharrison
Copy link
Author

anthonyharrison commented Dec 24, 2024 via email

@prabhu
Copy link
Member

prabhu commented Dec 24, 2024

We are planning to move to uv for v6. Hopefully, this would get sorted automatically. Thank you for flagging this though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants