-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Check RubyGems Vulnerabilities #179
Comments
i think it would if the vulns were merged into the db but that pr is still open: |
There is also this project https://github.com/civisanalytics/ruby_audit that can check rubygems and the current ruby against the ruby-advisory-db |
thanks @errm - it's dead though, no updates in a while. |
1 similar comment
thanks @errm - it's dead though, no updates in a while. |
It does work though... and since is using the ruby-advisory-db is as up to date as that is... there don't seem to be any open issues so I guess its just inactive because it just works :) |
@errm is correct: it continues to work and no one's filed any issues, so there's been no need for any changes (though I should update it to use bundler-audit 0.6.0). It actually started as #118, which needs some love, but could be updated to add this behavior to bundler-audit, if the rubysec team wanted to go in that direction. |
|
You can specify a ruby version in bundler, which creates an entry in Gemfile.lock. Should bundler-audit evaluate that entry for vulnerabilities? |
@ericsullivan that would be more useful than just checking the current ruby version bundler-audit happens to be running under. However, bundler doesn't record or require specific rubygems versions. So even if you are running a patched version of rubygems, your production environment may not be; and vice versa. |
Right, it's only half of a solution. If you specify a ruby version in the Gemfile and it doesn't match bundler throws an error and doesn't start, so it is a nice way to ensure your app is running on the correct ruby version. That you can't specify rubygems is unfortunate. |
As an update, specifying the RubyGems version in bundler is not a feature the team would like to take on at this time. |
I guess I understand now why this does not belong here. |
Greetings,
Mainly inspired by "Multiple vulnerabilities in RubyGems" blog post on official Ruby website, I was thinking whether bundler-audit should check for vulnerabilities in RubyGems itself or not.
It would be great if it did in my opinion.
The text was updated successfully, but these errors were encountered: