Slide 33
Slide 33 text
実践 DevSecOps パイプライン
依存ライブラリの脆弱性チェック
$ bundle audit
Name: actionpack
Version: 5.2.2.1
CVE: CVE-2021-22885
GHSA: GHSA-hjg4-8q5f-x6fm
Criticality: High
URL: https://groups.google.com/g/rubyonrails-security/c/NiQl-48cXYI
Title: Possible Information Disclosure / Unintended Method Execution in Action Pack
Solution: upgrade to ~> 5.2.4.6, ~> 5.2.6, ~> 6.0.3, >= 6.0.3.7, >= 6.1.3.2
• 利用しているライブラリで脆弱性のあるバージョンを利用していないか検査する
• bundle audit … https://github.com/rubysec/bundler-audit
• npm audit … https://docs.npmjs.com/cli/v8/commands/npm-audit
• Dependabot …
https://docs.github.com/ja/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-d
ependabot-security-updates
• Renovate … https://github.com/renovatebot/renovate