Skip to content

Commit

Permalink
Merge pull request #681 from Allda/rhel_severity
Browse files Browse the repository at this point in the history
Vulnsrc rhel: handle "none" CVE impact
  • Loading branch information
jzelinskie committed Jan 2, 2019
2 parents 3947073 + bd7102d commit 5cd6a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/vulnsrc/rhel/rhel.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func parseRHSA(ovalReader io.Reader) (vulnerabilities []database.VulnerabilityWi
for _, currentCve := range definition.Cves {
vulnerability.Name = currentCve.ID
vulnerability.Link = currentCve.Href
if currentCve.Impact != "" {
if currentCve.Impact != "" && currentCve.Impact != "none" {
vulnerability.Severity = severity(currentCve.Impact)
} else {
vulnerability.Severity = severity(definition.Severity)
Expand Down

0 comments on commit 5cd6a8c

Please sign in to comment.