-
Notifications
You must be signed in to change notification settings - Fork 16
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
fix(nvd): add support of versionStartExcluding
and versionEndExcluding
#82
fix(nvd): add support of versionStartExcluding
and versionEndExcluding
#82
Conversation
docGen/nvd.go
Outdated
@@ -481,6 +480,22 @@ func parseVulnerabilityJSONFile(fileName string) (VulnerabilityPost, error) { | |||
}, nil | |||
} | |||
|
|||
func detectVersion(includeVersion, excludeVersion, itemVersion string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used NVD logic ((including)
and (excluding)
suffixes).
Tell me if you see better way.
There is still a mismatch for the 0.9.0-beta versions in the nist.gov source and the screenshot in the PR, see the last screenshot from this comment: aquasecurity/vuln-list-update#282 (comment) Edit: to clarify, I don't believe 0.9.0:beta4 and later is vulnerable. |
I don't know anything about the code, but the current screenshot in this PR looks like it captures everything from the CVE at nist.gov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! lgtm
Description
versionStartExcluding
andversionEndExcluding
fields.(including)
and(excluding)
suffixes for versions.update
(if used) for versions from CPEBefore:

After:
