-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Omit patched_versions:
if the GHSA has no patched version identifiers.
#664
Conversation
* Also add a `notes: Never patched`.
@jasnow could you review this branch? I think this implements the fix you want. |
Note for gems/arabic-prawn/CVE-2014-2322.yml, the output of patched_versions_for(package) is not empty?, it is:
I get this when I run "rake":
|
@jasnow added logic to filter out when |
Adding this made it work:
|
@jasnow that implies the |
puts vulnerabilities.inspect on line 343 [{"package"=>{"name"=>"redcloth", "ecosystem"=>"RUBYGEMS"}, "vulnerableVersionRange"=>"< 4.3.0", "firstPatchedVersion"=>{"identifier"=>"4.3.0"}}] |
@jasnow OK, added your code. It should work now. |
Here is the compllete advisory when "Never patched" is true:
|
@jasnow I'm guessing you'd prefer |
No, when I do it manually, I put it exactly where patched_versions would be. |
Implements a fix for #656.