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

Use CVSS severity in NVTs, vulns and results again #1477

Merged

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Apr 8, 2021

What:
The integer score elements have been removed and the new severities
element in NVTs now uses the CVSS scale for scores.
An SQL error introduced with renaming the SecInfo severity columns has
also been fixed.

(Requires greenbone/gvm-libs#472 and #1476)

Why:
To keep the severity scores consistent while not having to update the scoring elsewhere
shortly before the release.

How did you test it:

  • checked the XML of the get_... commands for NVTs, results, reports, vulns
  • ran an OpenVAS scan and checked the report
  • ran a CVE scan and checked the report

Checklist:

The 0 - 100 integer `score` element is replaced with a CVSS `severity`
one as gvmd will continue using the previous severity scoring system.
This still changes the name of the element compared to 20.08 to make the
element names more consistent.
The function was still trying to use the score column that was replaced
by severity.
The integer score elements have been removed and the new severities
element in NVTs now uses the CVSS scale for scores.
The make_cve_result function still contained parts of SQL for the now
removed score column and init_host_prognosis_iterator was using the
wrong column name for the severity.
@timopollmeier timopollmeier marked this pull request as ready for review April 8, 2021 14:26
@timopollmeier timopollmeier requested a review from a team as a code owner April 8, 2021 14:26
@timopollmeier timopollmeier added the backport-to-main This pull request will be ported to the master branch label Apr 8, 2021
@bjoernricks bjoernricks merged commit eff3d49 into greenbone:gvmd-21.04 Apr 9, 2021
timopollmeier added a commit that referenced this pull request Apr 9, 2021
Use CVSS severity in NVTs, vulns and results again (bp #1477)
@timopollmeier timopollmeier deleted the revert-integer-scores-nvts branch October 15, 2021 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-main This pull request will be ported to the master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants