-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(black-duck): Properly parse vector and scoring system from CVSS2
The resulting `vector` parsed from a given CVSS2 data structure accidentally kept surrounding braces. Furthermore, extracting the `scoringSystem` via `substringBefore('/')` gave wrong results, because a CVSS2 vector does not have such a scoring system prefix at all, see also the diff in `CVE-2015-3996-parsed.yml`. Signed-off-by: Frank Viernau <x9fviern@zeiss.com>
- Loading branch information
Showing
2 changed files
with
33 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters