https://github.com/rubysec/bundler-audit
Patch-level verification for Bundler
https://github.com/rubysec/bundler-audit
Keywords
bundler-audit dependency-checker patch-management ruby ruby-advisory-db security security-audit security-tools
Keywords from Contributors
activerecord activejob mvc rubygems rspec rack sinatra crash-reporting rubocop static-code-analysis
Last synced: about 7 hours ago
JSON representation
Repository metadata
Patch-level verification for Bundler
- Host: GitHub
- URL: https://github.com/rubysec/bundler-audit
- Owner: rubysec
- License: gpl-3.0
- Created: 2013-02-11T05:41:07.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2025-12-03T21:49:46.000Z (about 1 month ago)
- Last Synced: 2026-01-04T23:24:08.405Z (4 days ago)
- Topics: bundler-audit, dependency-checker, patch-management, ruby, ruby-advisory-db, security, security-audit, security-tools
- Language: Ruby
- Homepage:
- Size: 560 KB
- Stars: 2,725
- Watchers: 40
- Forks: 238
- Open Issues: 52
- Releases: 2
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Funding: .github/FUNDING.yml
- License: COPYING.txt
README.md
bundler-audit
Description
Patch-level verification for bundler.
Features
- Checks for vulnerable versions of gems in
Gemfile.lock. - Checks for insecure gem sources (
http://andgit://). - Allows ignoring certain advisories that have been manually worked around.
- Prints advisory information.
- Does not require a network connection.
Synopsis
Audit a project's Gemfile.lock:
$ bundle-audit
Name: actionpack
Version: 3.2.10
Advisory: OSVDB-91452
Criticality: Medium
URL: http://www.osvdb.org/show/osvdb/91452
Title: XSS vulnerability in sanitize_css in Action Pack
Solution: update to ~> 2.3.18, ~> 3.1.12, >= 3.2.13
Name: actionpack
Version: 3.2.10
Advisory: OSVDB-91454
Criticality: Medium
URL: http://osvdb.org/show/osvdb/91454
Title: XSS Vulnerability in the `sanitize` helper of Ruby on Rails
Solution: update to ~> 2.3.18, ~> 3.1.12, >= 3.2.13
Name: actionpack
Version: 3.2.10
Advisory: OSVDB-89026
Criticality: High
URL: http://osvdb.org/show/osvdb/89026
Title: Ruby on Rails params_parser.rb Action Pack Type Casting Parameter Parsing Remote Code Execution
Solution: update to ~> 2.3.15, ~> 3.0.19, ~> 3.1.10, >= 3.2.11
Name: activerecord
Version: 3.2.10
Advisory: OSVDB-91453
Criticality: High
URL: http://osvdb.org/show/osvdb/91453
Title: Symbol DoS vulnerability in Active Record
Solution: update to ~> 2.3.18, ~> 3.1.12, >= 3.2.13
Name: activerecord
Version: 3.2.10
Advisory: OSVDB-90072
Criticality: Medium
URL: http://direct.osvdb.org/show/osvdb/90072
Title: Ruby on Rails Active Record attr_protected Method Bypass
Solution: update to ~> 2.3.17, ~> 3.1.11, >= 3.2.12
Name: activerecord
Version: 3.2.10
Advisory: OSVDB-89025
Criticality: High
URL: http://osvdb.org/show/osvdb/89025
Title: Ruby on Rails Active Record JSON Parameter Parsing Query Bypass
Solution: update to ~> 2.3.16, ~> 3.0.19, ~> 3.1.10, >= 3.2.11
Name: activesupport
Version: 3.2.10
Advisory: OSVDB-91451
Criticality: High
URL: http://www.osvdb.org/show/osvdb/91451
Title: XML Parsing Vulnerability affecting JRuby users
Solution: update to ~> 3.1.12, >= 3.2.13
Unpatched versions found!
Update the ruby-advisory-db that bundle audit uses:
$ bundle-audit update
Updating ruby-advisory-db ...
remote: Counting objects: 44, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 39 (delta 19), reused 29 (delta 10)
Unpacking objects: 100% (39/39), done.
From https://github.com/rubysec/ruby-advisory-db
* branch master -> FETCH_HEAD
Updating 5f8225e..328ca86
Fast-forward
CONTRIBUTORS.md | 1 +
gems/actionmailer/OSVDB-98629.yml | 17 +++++++++++++++++
gems/cocaine/OSVDB-98835.yml | 15 +++++++++++++++
gems/fog-dragonfly/OSVDB-96798.yml | 13 +++++++++++++
gems/sounder/OSVDB-96278.yml | 13 +++++++++++++
gems/wicked/OSVDB-98270.yml | 14 ++++++++++++++
6 files changed, 73 insertions(+)
create mode 100644 gems/actionmailer/OSVDB-98629.yml
create mode 100644 gems/cocaine/OSVDB-98835.yml
create mode 100644 gems/fog-dragonfly/OSVDB-96798.yml
create mode 100644 gems/sounder/OSVDB-96278.yml
create mode 100644 gems/wicked/OSVDB-98270.yml
ruby-advisory-db: 64 advisories
Update the ruby-advisory-db and check Gemfile.lock (useful for CI runs):
$ bundle-audit check --update
Checking the Gemfile.lock without updating the ruby-advisory-db:
$ bundle-audit check --no-update
Ignore specific advisories:
$ bundle-audit check --ignore OSVDB-108664
Checking a custom Gemfile.lock file:
$ bundle-audit check --gemfile-lock Gemfile.custom.lock
Output the audit's results in JSON:
$ bundle-audit check --format json
Output the audit's results in JSON, to a file:
$ bundle-audit check --format json --output bundle-audit.json
Rake Tasks
Bundler-audit provides rake tasks for checking the code and for updating
its vulnerability database.
Simply add the following code to the Rakefile:
require 'bundler/audit/task'
Bundler::Audit::Task.new
The following rake tasks will then become available:
$ rake -T
rake bundle:audit
rake bundle:audit:update
Configuration File
bundler-audit also supports a per-project configuration file:
.bundler-audit.yml:
---
ignore:
- CVE-YYYY-XXXX
- ...
ignore:[Array<String>] - A list of advisory IDs to ignore.
You can provide a path to a config file using the --config flag:
$ bundle-audit check --config bundler-audit.custom.yaml
Requirements
Install
$ [sudo] gem install bundler-audit
Git
- Debian / Ubuntu:
$ sudo apt install git
- RedHat / Fedora:
$ sudo dnf install git
- Alpine Linux:
$ apk add git
- macOS:
$ brew install git
Contributing
- https://github.com/rubysec/bundler-audit/fork
git clone YOUR_FORK_URIcd bundler-audit/bundle installbundle exec rake specgit checkout -b YOUR_FEATURE- Make your changes
bundle exec rake specgit commit -agit push origin YOUR_FEATURE
License
Copyright (c) 2013-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
bundler-audit is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
bundler-audit is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with bundler-audit. If not, see https://www.gnu.org/licenses/.
Owner metadata
- Name: RubySec
- Login: rubysec
- Email:
- Kind: organization
- Description:
- Website: https://rubysec.com
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/3538974?v=4
- Repositories: 6
- Last ynced at: 2024-03-27T00:56:41.082Z
- Profile URL: https://github.com/rubysec
GitHub Events
Total
- Issues event: 4
- Watch event: 55
- Delete event: 1
- Issue comment event: 12
- Push event: 6
- Pull request review comment event: 2
- Pull request review event: 1
- Pull request event: 13
- Fork event: 11
Last Year
- Issues event: 4
- Watch event: 36
- Delete event: 1
- Issue comment event: 12
- Push event: 6
- Pull request review comment event: 2
- Pull request review event: 1
- Pull request event: 10
- Fork event: 9
Committers metadata
Last synced: 1 day ago
Total Commits: 613
Total Committers: 64
Avg Commits per committer: 9.578
Development Distribution Score (DDS): 0.235
Commits in past year: 14
Committers in past year: 3
Avg Commits per committer in past year: 4.667
Development Distribution Score (DDS) in past year: 0.143
| Name | Commits | |
|---|---|---|
| Postmodern | p****3@g****m | 469 |
| dependabot[bot] | 4****] | 30 |
| Jon Frisby | j****y@m****m | 11 |
| Reed Loden | r****d@h****m | 10 |
| grosser | g****l@g****m | 7 |
| Robert Schultheis | r****s@g****m | 7 |
| woodbusy | w****y@g****m | 3 |
| retornam | r****m | 3 |
| Peter Goldstein | p****n@g****m | 3 |
| JuanitoFatas | k****0@g****m | 3 |
| Eliot Sykes | e****s@g****m | 3 |
| Martin Baum | m****m@d****e | 3 |
| Muhammad Rizal Muthi | r****i@g****m | 2 |
| Popa Marius Adrian | m****a@g****m | 2 |
| Mikhail Doronin | m****n@t****m | 2 |
| Mark Borcherding | m****g@g****m | 2 |
| Jared Beck | j****d@j****m | 2 |
| Jacob Evans | j****b@d****t | 2 |
| Andrius Miasnikovas | a****s@v****m | 2 |
| Paul B | p****h@b****r | 2 |
| Ryan Bigg | g****t@r****m | 2 |
| Adrian Macneil | a****n@c****m | 1 |
| Alex Hamlin | a****n@n****m | 1 |
| Andrey Korobkov | k****v@f****o | 1 |
| Christos Zisopoulos | c****s@m****m | 1 |
| Jan Rusnacko | r****j@g****m | 1 |
| Garllon | p****t@g****m | 1 |
| Alex Gaynor | a****r@g****m | 1 |
| Alexander Popov | a****r@g****m | 1 |
| Brady | 3****8 | 1 |
| and 34 more... | ||
Committer domains:
- kpumuk.info: 1
- weblinc.com: 1
- yandex.ru: 1
- kjeldahl.it: 1
- suse.de: 1
- lookout.com: 1
- i22.de: 1
- nicknovitski.com: 1
- braingourmets.com: 1
- moriz.de: 1
- brigade.com: 1
- touset.org: 1
- mac.com: 1
- felizard.fr: 1
- brynary.com: 1
- me.com: 1
- fryxell.info: 1
- newrelic.com: 1
- coinbase.com: 1
- ryanbigg.com: 1
- bonaud.fr: 1
- vinted.com: 1
- dekz.net: 1
- jaredbeck.com: 1
- thetrainline.com: 1
- direktzu.de: 1
- hackerone.com: 1
- mrjoy.com: 1
Issue and Pull Request metadata
Last synced: 13 days ago
Total issues: 41
Total pull requests: 88
Average time to close issues: 10 months
Average time to close pull requests: 8 months
Total issue authors: 32
Total pull request authors: 39
Average comments per issue: 3.0
Average comments per pull request: 1.19
Merged pull request: 37
Bot issues: 0
Bot pull requests: 40
Past year issues: 4
Past year pull requests: 11
Past year average time to close issues: 16 days
Past year average time to close pull requests: 29 days
Past year issue authors: 4
Past year pull request authors: 8
Past year average comments per issue: 1.0
Past year average comments per pull request: 1.55
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- postmodern (9)
- G-Rath (2)
- olleicua (1)
- nello (1)
- GolovkoStepan (1)
- chabgood (1)
- byroot (1)
- peter-mtso (1)
- so87 (1)
- fatkodima (1)
- rslhdyt (1)
- dssjoblom (1)
- lopopolo (1)
- ksenia-sudarikova (1)
- ericpetroelje (1)
Top Pull Request Authors
- dependabot[bot] (40)
- kpumuk (3)
- viktorianer (2)
- andriusm (2)
- Earlopain (2)
- rrothenberger (2)
- oz-tal (2)
- paulRbr (2)
- lovro-bikic (2)
- onshi (2)
- gonzoyumo (1)
- misdoro (1)
- gbmoretti (1)
- bschmeck (1)
- kaskas (1)
Top Issue Labels
- feature (10)
- bug (10)
- chore (4)
- needs-info (4)
- enhancement (4)
- specs (2)
- discussion (1)
- upstream (1)
- rubygems (1)
- cannot-repro (1)
- help-wanted (1)
- json (1)
- documentation (1)
Top Pull Request Labels
- dependencies (40)
- feature (2)
- enhancement (1)
- discussion (1)
- github_actions (1)
Package metadata
- Total packages: 3
-
Total downloads:
- rubygems: 239,214,272 total
- Total docker downloads: 932,009,976
- Total dependent packages: 368 (may contain duplicates)
- Total dependent repositories: 5,894 (may contain duplicates)
- Total versions: 56
- Total maintainers: 1
gem.coop: bundler-audit
bundler-audit provides patch-level verification for Bundled apps.
- Homepage: https://github.com/rubysec/bundler-audit#readme
- Documentation: http://www.rubydoc.info/gems/bundler-audit/
- Licenses: GPL-3.0-or-later
- Latest release: 0.9.3 (published about 1 month ago)
- Last Synced: 2026-01-06T18:55:51.172Z (2 days ago)
- Versions: 20
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 119,611,759 Total
- Docker Downloads: 466,004,988
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.108%
- Downloads: 0.209%
- Docker downloads count: 0.222%
- Maintainers (1)
rubygems.org: bundler-audit
bundler-audit provides patch-level verification for Bundled apps.
- Homepage: https://github.com/rubysec/bundler-audit#readme
- Documentation: http://www.rubydoc.info/gems/bundler-audit/
- Licenses: GPL-3.0-or-later
- Latest release: 0.9.3 (published about 1 month ago)
- Last Synced: 2026-01-06T16:35:09.008Z (2 days ago)
- Versions: 20
- Dependent Packages: 368
- Dependent Repositories: 5,894
- Downloads: 119,602,513 Total
- Docker Downloads: 466,004,988
-
Rankings:
- Dependent packages count: 0.124%
- Downloads: 0.205%
- Docker downloads count: 0.299%
- Dependent repos count: 0.417%
- Average: 0.632%
- Stargazers count: 0.989%
- Forks count: 1.755%
- Maintainers (1)
proxy.golang.org: github.com/rubysec/bundler-audit
- Homepage:
- Documentation: https://pkg.go.dev/github.com/rubysec/bundler-audit#section-documentation
- Licenses: gpl-3.0
- Latest release: v0.9.3 (published about 1 month ago)
- Last Synced: 2026-01-05T21:32:53.928Z (3 days ago)
- Versions: 16
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 1.312%
- Forks count: 1.821%
- Average: 5.877%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
Dependencies
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite
- kramdown ~> 2.0 development
- rake >= 0 development
- redcarpet >= 0 development
- rspec ~> 3.0 development
- rubocop ~> 1.18 development
- rubygems-tasks ~> 0.2 development
- simplecov ~> 0.7 development
- yard ~> 0.9 development
- yard-spellcheck >= 0 development
- jquery-rails >= 0
- rails >= 0
- actioncable 6.1.3.2
- actionmailbox 6.1.3.2
- actionmailer 6.1.3.2
- actionpack 6.1.3.2
- actiontext 6.1.3.2
- actionview 6.1.3.2
- activejob 6.1.3.2
- activemodel 6.1.3.2
- activerecord 6.1.3.2
- activestorage 6.1.3.2
- activesupport 6.1.3.2
- builder 3.2.4
- concurrent-ruby 1.1.8
- crass 1.0.6
- erubi 1.10.0
- globalid 0.4.2
- i18n 1.8.10
- jquery-rails 4.4.0
- loofah 2.19.1
- mail 2.7.1
- marcel 1.0.1
- method_source 1.0.0
- mini_mime 1.0.3
- mini_portile2 2.8.0
- minitest 5.14.4
- nio4r 2.5.7
- nokogiri 1.13.10
- racc 1.6.1
- rack 2.2.3
- rack-test 1.1.0
- rails 6.1.3.2
- rails-dom-testing 2.0.3
- rails-html-sanitizer 1.4.4
- railties 6.1.3.2
- rake 13.0.3
- sprockets 4.0.2
- sprockets-rails 3.2.2
- thor 1.1.0
- tzinfo 2.0.4
- websocket-driver 0.7.4
- websocket-extensions 0.1.5
- zeitwerk 2.4.2
- rails ~> 5.2
- rails-html-sanitizer ~> 1.4.4
- actioncable 5.2.8
- actionmailer 5.2.8
- actionpack 5.2.8
- actionview 5.2.8
- activejob 5.2.8
- activemodel 5.2.8
- activerecord 5.2.8
- activestorage 5.2.8
- activesupport 5.2.8
- arel 9.0.0
- builder 3.2.4
- concurrent-ruby 1.1.10
- crass 1.0.6
- erubi 1.10.0
- globalid 1.0.0
- i18n 1.10.0
- loofah 2.19.1
- mail 2.7.1
- marcel 1.0.2
- method_source 1.0.0
- mini_mime 1.1.2
- mini_portile2 2.8.0
- minitest 5.15.0
- nio4r 2.5.8
- nokogiri 1.13.10
- racc 1.6.1
- rack 2.2.4
- rack-test 1.1.0
- rails 5.2.8
- rails-dom-testing 2.0.3
- rails-html-sanitizer 1.4.4
- railties 5.2.8
- rake 13.0.6
- sprockets 4.0.3
- sprockets-rails 3.4.2
- thor 1.2.1
- thread_safe 0.3.6
- tzinfo 1.2.9
- websocket-driver 0.7.5
- websocket-extensions 0.1.5
- activerecord = 3.2.10
- activemodel 3.2.10
- activerecord 3.2.10
- activesupport 3.2.10
- arel 3.0.3
- builder 3.0.4
- concurrent-ruby 1.1.7
- i18n 0.9.5
- multi_json 1.15.0
- tzinfo 0.3.58
- activerecord = 3.2.10
- activemodel 3.2.10
- activerecord 3.2.10
- activesupport 3.2.10
- arel 3.0.3
- builder 3.0.4
- concurrent-ruby 1.1.7
- i18n 0.9.5
- multi_json 1.15.0
- tzinfo 0.3.58
Score: 32.969330829716