Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(advisor): Map an incorrect vulnerability severity
For vulnerability references that come from GitHub advisories VulnerableCode returns the severity as qualitative rating [1] as it is provided by GitHub [2]. For "MEDIUM" severities GitHub uses the term "MODERATE" which is is conflict with the specification. Therefore, map "MODERATE" to "MEDIUM" in such cases. [1]: https://www.first.org/cvss/v3.1/specification-document#Qualitative-Severity-Rating-Scale [2]: aboutcode-org/vulnerablecode#1186 Signed-off-by: Martin Nonnenmacher <[email protected]>
- Loading branch information