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

VulnDB Vulnerabilities Always Shown as Unassigned Severity #3589

Closed
2 tasks done
LaVibeX opened this issue Mar 28, 2024 · 3 comments · Fixed by #3595
Closed
2 tasks done

VulnDB Vulnerabilities Always Shown as Unassigned Severity #3589

LaVibeX opened this issue Mar 28, 2024 · 3 comments · Fixed by #3595
Labels
defect Something isn't working good first issue Good for newcomers integration/vulndb Related to the VulnDB integration p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort
Milestone

Comments

@LaVibeX
Copy link
Contributor

LaVibeX commented Mar 28, 2024

Current Behavior

Currently in the latest master version, all VulnDB vulnerabilities consistently display an “Unassigned” severity. This can be misleading for users who rely on accurate severity information. This should be addressing promptly to ensure that users receive reliable data regarding vulnerability severity.

image

Additionally, this issue affects the new Audit Vulnerability counter integrated by PR #736. When all vulnerabilities originate from VulnDB, the severity counters will display 0 in all fields, and the green counter will also be 0.

image

Steps to Reproduce

  1. Go to the vulnerability section.
  2. Examine the severity field for any VulnDB vulnerability.
  3. Associate a VulnDB-related CPE with a sample component.
  4. Verify the Audit Vulnerability counter after implementing the changes from PR #736.

Expected Behavior

  • The severity field should accurately reflect the severity level of each vulnerability based on available data.
  • The Audit Vulnerability counter should correctly account for VulnDB vulnerabilities.

Dependency-Track Version

4.11.0-SNAPSHOT

Dependency-Track Distribution

Executable WAR

Database Server

PostgreSQL

Database Server Version

No response

Browser

Google Chrome

Checklist

@LaVibeX LaVibeX added defect Something isn't working in triage labels Mar 28, 2024
@lukas-braune
Copy link
Contributor

Just a remark: I cannot confirm this as an issue of DT v4.10.1. It seems to be a regression from a later revision.

@nscuro
Copy link
Member

nscuro commented Mar 29, 2024

Indeed it might be a regression introduced in #3408

In short: DT before 4.11 did not store the severity in the database, unless explicitly set by the user. Instead, it would compute the severity based on CVSSv2, CVSSv3, and OWASP RR scores whenever the severity was accessed. This made it impossible to reliably query by severity, hence we changed that behavior in the PR mentioned above.

Seems like we missed VulnDB there.

@nscuro nscuro added this to the 4.11 milestone Mar 29, 2024
@nscuro nscuro added p2 Non-critical bugs, and features that help organizations to identify and reduce risk good first issue Good for newcomers integration/vulndb Related to the VulnDB integration size/S Small effort and removed in triage labels Mar 29, 2024
@LaVibeX LaVibeX mentioned this issue Apr 2, 2024
5 tasks
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
defect Something isn't working good first issue Good for newcomers integration/vulndb Related to the VulnDB integration p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants