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

Gradle dependencyCheckAggregate task failed #7201

Open
SG-8 opened this issue Nov 29, 2024 · 5 comments
Open

Gradle dependencyCheckAggregate task failed #7201

SG-8 opened this issue Nov 29, 2024 · 5 comments
Labels

Comments

@SG-8
Copy link

SG-8 commented Nov 29, 2024

Started getting this exception during gradle build in last 2-3 days only:

image

Invocation of method getHighestSeverityText in class org.owasp.dependencycheck.dependency.Vulnerability threw exception java.lang.NullPointerException

@SG-8 SG-8 added the bug label Nov 29, 2024
@jeremylong
Copy link
Owner

What version of dependency-check are you using?

@aikebah
Copy link
Collaborator

aikebah commented Dec 1, 2024

@jeremylong my educated guess for this happening would be a vulnerability that has only CVSSv4 scoring attached to it (or one for which NVD has associated a CPE, but no CVSS score has been associated yet).

https://github.com/jeremylong/DependencyCheck/blob/main/core/src/main/java/org/owasp/dependencycheck/dependency/Vulnerability.java#L537-L545

@jeremylong
Copy link
Owner

@aikebah good catch - I suppose it is time I put together the PR to actually use the CVSS4v data in the reports... I hate velocity... ;)

jeremylong added a commit that referenced this issue Dec 1, 2024
@SG-8
Copy link
Author

SG-8 commented Dec 2, 2024

@jeremylong Thank you! In which version can we expect the fix?

@jeremylong
Copy link
Owner

12.0.0. I'll release 11.2.0 this week and do more testing before we release 12.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants