21
21

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Bundlerで使ってるgemに脆弱性がないかチェックするツール

Posted at

最近、railsやらjsonやらの広く使われているgemに頻繁に脆弱性が見つかってます。bundler-auditというgemを使うと、簡易的ですが既知の脆弱性があるgemをGemfile.lockで参照していないかをチェック出来ます。

$ gem install bundler-audit
$ bundle-audit 
Name: rack
Version: 1.4.3
CVE: 2013-0263
Criticality: High
URL: http://osvdb.org/show/osvdb/89939
Title: Rack Rack::Session::Cookie Function Timing Attack Remote Code Execution 
Solution: upgrade to ~> 1.1.6, ~> 1.2.8, ~> 1.3.10, ~> 1.4.5, >= 1.5.2

Name: rails
Version: 3.2.11
CVE: 2013-0276
Criticality: Medium
URL: http://direct.osvdb.org/show/osvdb/90072
Title: Ruby on Rails Active Record attr_protected Method Bypass
Solution: upgrade to ~> 2.3.17, ~> 3.1.11, >= 3.2.12

Unpatched versions found!

上のソースを見てもらえればわかるのですが、マニュアルでデータが管理されてるだけなので、本当の意味で安全かを確認することは当然できないですが。。。

21
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
21

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?