bundler-audit 0.5.0 → 0.8.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +28 -0
- data/.gitignore +1 -1
- data/.rspec +1 -1
- data/ChangeLog.md +84 -1
- data/Gemfile +3 -3
- data/README.md +78 -15
- data/Rakefile +10 -27
- data/bin/bundler-audit +3 -0
- data/bundler-audit.gemspec +0 -7
- data/gemspec.yml +3 -3
- data/lib/bundler/audit.rb +1 -1
- data/lib/bundler/audit/advisory.rb +58 -7
- data/lib/bundler/audit/cli.rb +96 -77
- data/lib/bundler/audit/cli/formats.rb +144 -0
- data/lib/bundler/audit/cli/formats/json.rb +51 -0
- data/lib/bundler/audit/cli/formats/text.rb +116 -0
- data/lib/bundler/audit/configuration.rb +101 -0
- data/lib/bundler/audit/database.rb +148 -22
- data/lib/bundler/audit/report.rb +149 -0
- data/lib/bundler/audit/results.rb +19 -0
- data/lib/bundler/audit/results/insecure_source.rb +75 -0
- data/lib/bundler/audit/results/result.rb +21 -0
- data/lib/bundler/audit/results/unpatched_gem.rb +94 -0
- data/lib/bundler/audit/scanner.rb +102 -26
- data/lib/bundler/audit/task.rb +2 -4
- data/lib/bundler/audit/version.rb +2 -2
- data/spec/advisory_spec.rb +145 -20
- data/spec/bundle/insecure_sources/Gemfile +2 -37
- data/spec/bundle/secure/Gemfile +2 -36
- data/spec/bundle/unpatched_gems/Gemfile +1 -36
- data/spec/bundle/unpatched_gems_with_dot_configuration/.bundler-audit.yml +3 -0
- data/spec/bundle/unpatched_gems_with_dot_configuration/Gemfile +3 -0
- data/spec/cli/formats/json_spec.rb +113 -0
- data/spec/cli/formats/text_spec.rb +179 -0
- data/spec/cli/formats_spec.rb +86 -0
- data/spec/cli_spec.rb +119 -25
- data/spec/configuration_spec.rb +70 -0
- data/spec/database_spec.rb +261 -38
- data/spec/fixtures/advisory/CVE-2020-1234.yml +19 -0
- data/spec/fixtures/{not_a_hash.yml → advisory/not_a_hash.yml} +0 -0
- data/spec/fixtures/config/bad/ignore_contains_a_non_string.yml +4 -0
- data/spec/fixtures/config/bad/ignore_is_not_an_array.yml +3 -0
- data/spec/fixtures/config/valid.yml +4 -0
- data/spec/fixtures/lib/bundler/audit/cli/formats/bad.rb +19 -0
- data/spec/fixtures/lib/bundler/audit/cli/formats/good.rb +19 -0
- data/spec/integration_spec.rb +26 -12
- data/spec/report_spec.rb +98 -0
- data/spec/results/insecure_source_spec.rb +47 -0
- data/spec/results/result_spec.rb +10 -0
- data/spec/results/unpatched_gem_spec.rb +123 -0
- data/spec/scanner_spec.rb +66 -34
- data/spec/spec_helper.rb +37 -36
- metadata +55 -356
- data/.gitmodules +0 -3
- data/.travis.yml +0 -7
- data/data/ruby-advisory-db.ts +0 -1
- data/data/ruby-advisory-db/.gitignore +0 -2
- data/data/ruby-advisory-db/.rspec +0 -1
- data/data/ruby-advisory-db/.travis.yml +0 -18
- data/data/ruby-advisory-db/CONTRIBUTING.md +0 -56
- data/data/ruby-advisory-db/CONTRIBUTORS.md +0 -38
- data/data/ruby-advisory-db/Gemfile +0 -9
- data/data/ruby-advisory-db/LICENSE.txt +0 -5
- data/data/ruby-advisory-db/README.md +0 -82
- data/data/ruby-advisory-db/Rakefile +0 -26
- data/data/ruby-advisory-db/gems/Arabic-Prawn/OSVDB-104365.yml +0 -12
- data/data/ruby-advisory-db/gems/RedCloth/OSVDB-115941.yml +0 -16
- data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4995.yml +0 -13
- data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4996.yml +0 -13
- data/data/ruby-advisory-db/gems/actionmailer/OSVDB-98629.yml +0 -17
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-0130.yml +0 -23
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7818.yml +0 -24
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7829.yml +0 -26
- data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7576.yml +0 -116
- data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7581.yml +0 -55
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0751.yml +0 -71
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100524.yml +0 -20
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100525.yml +0 -21
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100526.yml +0 -27
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100527.yml +0 -24
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100528.yml +0 -22
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-103439.yml +0 -24
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-103440.yml +0 -22
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-74616.yml +0 -18
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-77199.yml +0 -23
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-79727.yml +0 -26
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-84243.yml +0 -28
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-84513.yml +0 -23
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-84515.yml +0 -26
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-89026.yml +0 -24
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-91452.yml +0 -20
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-91454.yml +0 -23
- data/data/ruby-advisory-db/gems/actionview/CVE-2016-0752.yml +0 -92
- data/data/ruby-advisory-db/gems/activemodel/CVE-2016-0753.yml +0 -92
- data/data/ruby-advisory-db/gems/activerecord-jdbc-adapter/OSVDB-114854.yml +0 -20
- data/data/ruby-advisory-db/gems/activerecord-oracle_enhanced-adapter/OSVDB-95376.yml +0 -15
- data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3514.yml +0 -23
- data/data/ruby-advisory-db/gems/activerecord/CVE-2015-7577.yml +0 -107
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-103438.yml +0 -23
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-108664.yml +0 -23
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-108665.yml +0 -24
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-82403.yml +0 -25
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-82610.yml +0 -24
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-88661.yml +0 -20
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-89025.yml +0 -24
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-90072.yml +0 -21
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-90073.yml +0 -23
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-91453.yml +0 -26
- data/data/ruby-advisory-db/gems/activeresource/OSVDB-95749.yml +0 -15
- data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3226.yml +0 -54
- data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3227.yml +0 -32
- data/data/ruby-advisory-db/gems/activesupport/OSVDB-79726.yml +0 -26
- data/data/ruby-advisory-db/gems/activesupport/OSVDB-84516.yml +0 -23
- data/data/ruby-advisory-db/gems/activesupport/OSVDB-89594.yml +0 -25
- data/data/ruby-advisory-db/gems/activesupport/OSVDB-91451.yml +0 -28
- data/data/ruby-advisory-db/gems/as/OSVDB-112683.yml +0 -10
- data/data/ruby-advisory-db/gems/authlogic/OSVDB-89064.yml +0 -15
- data/data/ruby-advisory-db/gems/auto_awesomplete/OSVDB-132800.yml +0 -11
- data/data/ruby-advisory-db/gems/auto_select2/OSVDB-132800.yml +0 -13
- data/data/ruby-advisory-db/gems/awesome_spawn/CVE-2014-0156.yml +0 -19
- data/data/ruby-advisory-db/gems/backup-agoddard/OSVDB-108578.yml +0 -8
- data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108569.yml +0 -12
- data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108570.yml +0 -10
- data/data/ruby-advisory-db/gems/bcrypt-ruby/OSVDB-62067.yml +0 -19
- data/data/ruby-advisory-db/gems/bcrypt/OSVDB-62067.yml +0 -17
- data/data/ruby-advisory-db/gems/bio-basespace-sdk/OSVDB-101031.yml +0 -8
- data/data/ruby-advisory-db/gems/brbackup/OSVDB-108899.yml +0 -12
- data/data/ruby-advisory-db/gems/brbackup/OSVDB-108900.yml +0 -11
- data/data/ruby-advisory-db/gems/brbackup/OSVDB-108901.yml +0 -11
- data/data/ruby-advisory-db/gems/bson/CVE-2015-4412.yml +0 -16
- data/data/ruby-advisory-db/gems/builder/OSVDB-95668.yml +0 -13
- data/data/ruby-advisory-db/gems/bundler/OSVDB-110004.yml +0 -15
- data/data/ruby-advisory-db/gems/bundler/OSVDB-115090.yml +0 -13
- data/data/ruby-advisory-db/gems/bundler/OSVDB-115091.yml +0 -12
- data/data/ruby-advisory-db/gems/bundler/OSVDB-115917.yml +0 -12
- data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108574.yml +0 -8
- data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108575.yml +0 -7
- data/data/ruby-advisory-db/gems/ciborg/OSVDB-108586.yml +0 -8
- data/data/ruby-advisory-db/gems/cocaine/OSVDB-98835.yml +0 -15
- data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108582.yml +0 -8
- data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108583.yml +0 -8
- data/data/ruby-advisory-db/gems/colorscore/CVE-2015-7541.yml +0 -20
- data/data/ruby-advisory-db/gems/command_wrap/OSVDB-91450.yml +0 -9
- data/data/ruby-advisory-db/gems/crack/OSVDB-90742.yml +0 -17
- data/data/ruby-advisory-db/gems/cremefraiche/OSVDB-93395.yml +0 -11
- data/data/ruby-advisory-db/gems/curb/OSVDB-114600.yml +0 -12
- data/data/ruby-advisory-db/gems/curl/OSVDB-91230.yml +0 -13
- data/data/ruby-advisory-db/gems/devise-two-factor/CVE-2015-7225.yml +0 -22
- data/data/ruby-advisory-db/gems/devise/CVE-2015-8314.yml +0 -14
- data/data/ruby-advisory-db/gems/devise/OSVDB-114435.yml +0 -17
- data/data/ruby-advisory-db/gems/devise/OSVDB-89642.yml +0 -20
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2014-8144.yml +0 -26
- data/data/ruby-advisory-db/gems/doorkeeper/OSVDB-118830.yml +0 -17
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-110439.yml +0 -13
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml +0 -16
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-96798.yml +0 -14
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-97854.yml +0 -12
- data/data/ruby-advisory-db/gems/echor/OSVDB-102129.yml +0 -12
- data/data/ruby-advisory-db/gems/echor/OSVDB-102130.yml +0 -11
- data/data/ruby-advisory-db/gems/ember-source/CVE-2013-4170.yml +0 -25
- data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0013.yml +0 -33
- data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0014.yml +0 -30
- data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0046.yml +0 -26
- data/data/ruby-advisory-db/gems/ember-source/CVE-2015-1866.yml +0 -26
- data/data/ruby-advisory-db/gems/ember-source/CVE-2015-7565.yml +0 -30
- data/data/ruby-advisory-db/gems/enum_column3/OSVDB-94679.yml +0 -9
- data/data/ruby-advisory-db/gems/extlib/OSVDB-90740.yml +0 -18
- data/data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml +0 -13
- data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101445.yml +0 -17
- data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101446.yml +0 -19
- data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101447.yml +0 -17
- data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101448.yml +0 -19
- data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101700.yml +0 -16
- data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-110420.yml +0 -19
- data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-118465.yml +0 -17
- data/data/ruby-advisory-db/gems/features/OSVDB-96975.yml +0 -8
- data/data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml +0 -7
- data/data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml +0 -7
- data/data/ruby-advisory-db/gems/fileutils/OSVDB-90717.yml +0 -8
- data/data/ruby-advisory-db/gems/fileutils/OSVDB-90718.yml +0 -7
- data/data/ruby-advisory-db/gems/flash_tool/OSVDB-90829.yml +0 -8
- data/data/ruby-advisory-db/gems/flavour_saver/OSVDB-110796.yml +0 -14
- data/data/ruby-advisory-db/gems/flukso4r/OSVDB-101577.yml +0 -7
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-110439.yml +0 -15
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-90647.yml +0 -16
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-96798.yml +0 -16
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-97854.yml +0 -12
- data/data/ruby-advisory-db/gems/ftpd/OSVDB-90784.yml +0 -18
- data/data/ruby-advisory-db/gems/gitlab-grit/OSVDB-99370.yml +0 -14
- data/data/ruby-advisory-db/gems/gnms/OSVDB-108594.yml +0 -7
- data/data/ruby-advisory-db/gems/gollum-grit_adapter/CVE-2014-9489.yml +0 -23
- data/data/ruby-advisory-db/gems/gollum/CVE-2015-7314.yml +0 -13
- data/data/ruby-advisory-db/gems/gtk2/OSVDB-40774.yml +0 -20
- data/data/ruby-advisory-db/gems/gyazo/OSVDB-108563.yml +0 -10
- data/data/ruby-advisory-db/gems/handlebars-source/OSVDB-131671.yml +0 -17
- data/data/ruby-advisory-db/gems/http/CVE-2015-1828.yml +0 -14
- data/data/ruby-advisory-db/gems/httparty/OSVDB-90741.yml +0 -14
- data/data/ruby-advisory-db/gems/i18n/OSVDB-100528.yml +0 -17
- data/data/ruby-advisory-db/gems/jquery-rails/CVE-2015-1840.yml +0 -36
- data/data/ruby-advisory-db/gems/jquery-ujs/CVE-2015-1840.yml +0 -35
- data/data/ruby-advisory-db/gems/jruby-openssl/CVE-2009-4123.yml +0 -16
- data/data/ruby-advisory-db/gems/jruby-sandbox/OSVDB-106279.yml +0 -12
- data/data/ruby-advisory-db/gems/json/OSVDB-101137.yml +0 -17
- data/data/ruby-advisory-db/gems/json/OSVDB-101157.yml +0 -14
- data/data/ruby-advisory-db/gems/json/OSVDB-90074.yml +0 -23
- data/data/ruby-advisory-db/gems/kafo/OSVDB-106826.yml +0 -15
- data/data/ruby-advisory-db/gems/kajam/OSVDB-108529.yml +0 -12
- data/data/ruby-advisory-db/gems/kajam/OSVDB-108530.yml +0 -11
- data/data/ruby-advisory-db/gems/karo/OSVDB-108573.yml +0 -10
- data/data/ruby-advisory-db/gems/karteek-docsplit/OSVDB-92117.yml +0 -9
- data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108571.yml +0 -8
- data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108572.yml +0 -7
- data/data/ruby-advisory-db/gems/kelredd-pruview/OSVDB-92228.yml +0 -9
- data/data/ruby-advisory-db/gems/kompanee-recipes/OSVDB-108593.yml +0 -12
- data/data/ruby-advisory-db/gems/lawn-login/OSVDB-108576.yml +0 -8
- data/data/ruby-advisory-db/gems/ldap_fluff/OSVDB-90579.yml +0 -15
- data/data/ruby-advisory-db/gems/ldoce/OSVDB-91870.yml +0 -9
- data/data/ruby-advisory-db/gems/lean-ruport/OSVDB-108581.yml +0 -8
- data/data/ruby-advisory-db/gems/lingq/OSVDB-108585.yml +0 -7
- data/data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml +0 -21
- data/data/ruby-advisory-db/gems/lynx/OSVDB-108579.yml +0 -7
- data/data/ruby-advisory-db/gems/lynx/OSVDB-108580.yml +0 -8
- data/data/ruby-advisory-db/gems/mail/OSVDB-131677.yml +0 -19
- data/data/ruby-advisory-db/gems/mail/OSVDB-70667.yml +0 -21
- data/data/ruby-advisory-db/gems/mail/OSVDB-81631.yml +0 -14
- data/data/ruby-advisory-db/gems/mail/OSVDB-81632.yml +0 -16
- data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-129854.yml +0 -21
- data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-132871.yml +0 -22
- data/data/ruby-advisory-db/gems/md2pdf/OSVDB-92290.yml +0 -9
- data/data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml +0 -15
- data/data/ruby-advisory-db/gems/moped/CVE-2015-4410.yml +0 -17
- data/data/ruby-advisory-db/gems/multi_xml/OSVDB-89148.yml +0 -16
- data/data/ruby-advisory-db/gems/mustache-js-rails/OSVDB-131671.yml +0 -17
- data/data/ruby-advisory-db/gems/net-ldap/OSVDB-106108.yml +0 -14
- data/data/ruby-advisory-db/gems/newrelic_rpm/OSVDB-90189.yml +0 -17
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-1819.yml +0 -52
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-5312.yml +0 -92
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-7499.yml +0 -37
- data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101179.yml +0 -18
- data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101458.yml +0 -15
- data/data/ruby-advisory-db/gems/nokogiri/OSVDB-118481.yml +0 -15
- data/data/ruby-advisory-db/gems/nokogiri/OSVDB-90946.yml +0 -15
- data/data/ruby-advisory-db/gems/nori/OSVDB-90196.yml +0 -19
- data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99693.yml +0 -22
- data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99888.yml +0 -17
- data/data/ruby-advisory-db/gems/omniauth-oauth2/OSVDB-90264.yml +0 -16
- data/data/ruby-advisory-db/gems/open-uri-cached/OSVDB-121701.yml +0 -13
- data/data/ruby-advisory-db/gems/paperclip/CVE-2015-2963.yml +0 -16
- data/data/ruby-advisory-db/gems/paperclip/OSVDB-103151.yml +0 -13
- data/data/ruby-advisory-db/gems/paratrooper-newrelic/OSVDB-101839.yml +0 -13
- data/data/ruby-advisory-db/gems/paratrooper-pingdom/OSVDB-101847.yml +0 -13
- data/data/ruby-advisory-db/gems/passenger/CVE-2014-1831.yml +0 -13
- data/data/ruby-advisory-db/gems/passenger/CVE-2014-1832.yml +0 -13
- data/data/ruby-advisory-db/gems/passenger/CVE-2015-7519.yml +0 -17
- data/data/ruby-advisory-db/gems/passenger/OSVDB-90738.yml +0 -16
- data/data/ruby-advisory-db/gems/passenger/OSVDB-93752.yml +0 -15
- data/data/ruby-advisory-db/gems/passenger/OSVDB-94074.yml +0 -14
- data/data/ruby-advisory-db/gems/pdfkit/OSVDB-90867.yml +0 -11
- data/data/ruby-advisory-db/gems/point-cli/OSVDB-108577.yml +0 -8
- data/data/ruby-advisory-db/gems/quick_magick/OSVDB-106954.yml +0 -7
- data/data/ruby-advisory-db/gems/rack-attack/OSVDB-132234.yml +0 -26
- data/data/ruby-advisory-db/gems/rack-cache/OSVDB-83077.yml +0 -18
- data/data/ruby-advisory-db/gems/rack-ssl/OSVDB-104734.yml +0 -11
- data/data/ruby-advisory-db/gems/rack/CVE-2015-3225.yml +0 -18
- data/data/ruby-advisory-db/gems/rack/OSVDB-78121.yml +0 -21
- data/data/ruby-advisory-db/gems/rack/OSVDB-89317.yml +0 -21
- data/data/ruby-advisory-db/gems/rack/OSVDB-89320.yml +0 -19
- data/data/ruby-advisory-db/gems/rack/OSVDB-89327.yml +0 -20
- data/data/ruby-advisory-db/gems/rack/OSVDB-89938.yml +0 -18
- data/data/ruby-advisory-db/gems/rack/OSVDB-89939.yml +0 -23
- data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7578.yml +0 -47
- data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7579.yml +0 -75
- data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7580.yml +0 -70
- data/data/ruby-advisory-db/gems/rbovirt/OSVDB-104080.yml +0 -20
- data/data/ruby-advisory-db/gems/rdoc/OSVDB-90004.yml +0 -27
- data/data/ruby-advisory-db/gems/redcarpet/CVE-2015-5147.yml +0 -17
- data/data/ruby-advisory-db/gems/redcarpet/OSVDB-120415.yml +0 -16
- data/data/ruby-advisory-db/gems/redis-namespace/OSVDB-96425.yml +0 -15
- data/data/ruby-advisory-db/gems/refile/OSVDB-120857.yml +0 -16
- data/data/ruby-advisory-db/gems/rest-client/CVE-2015-1820.yml +0 -23
- data/data/ruby-advisory-db/gems/rest-client/OSVDB-117461.yml +0 -13
- data/data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml +0 -15
- data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-117903.yml +0 -13
- data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124383.yml +0 -11
- data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124991.yml +0 -13
- data/data/ruby-advisory-db/gems/ruby_parser/OSVDB-90561.yml +0 -11
- data/data/ruby-advisory-db/gems/screen_capture/OSVDB-107783.yml +0 -7
- data/data/ruby-advisory-db/gems/sentry-raven/OSVDB-115654.yml +0 -14
- data/data/ruby-advisory-db/gems/sfpagent/OSVDB-105971.yml +0 -15
- data/data/ruby-advisory-db/gems/show_in_browser/OSVDB-93490.yml +0 -8
- data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126329.yml +0 -12
- data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126330.yml +0 -10
- data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126331.yml +0 -14
- data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125675.yml +0 -9
- data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125676.yml +0 -14
- data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125678.yml +0 -9
- data/data/ruby-advisory-db/gems/sounder/OSVDB-96278.yml +0 -14
- data/data/ruby-advisory-db/gems/spree/OSVDB-119205.yml +0 -18
- data/data/ruby-advisory-db/gems/spree/OSVDB-125699.yml +0 -18
- data/data/ruby-advisory-db/gems/spree/OSVDB-125701.yml +0 -17
- data/data/ruby-advisory-db/gems/spree/OSVDB-125712.yml +0 -16
- data/data/ruby-advisory-db/gems/spree/OSVDB-125713.yml +0 -15
- data/data/ruby-advisory-db/gems/spree/OSVDB-69098.yml +0 -19
- data/data/ruby-advisory-db/gems/spree/OSVDB-73751.yml +0 -11
- data/data/ruby-advisory-db/gems/spree/OSVDB-76011.yml +0 -15
- data/data/ruby-advisory-db/gems/spree/OSVDB-81505.yml +0 -14
- data/data/ruby-advisory-db/gems/spree/OSVDB-81506.yml +0 -16
- data/data/ruby-advisory-db/gems/spree/OSVDB-90865.yml +0 -20
- data/data/ruby-advisory-db/gems/spree/OSVDB-91216.yml +0 -17
- data/data/ruby-advisory-db/gems/spree/OSVDB-91217.yml +0 -17
- data/data/ruby-advisory-db/gems/spree/OSVDB-91218.yml +0 -17
- data/data/ruby-advisory-db/gems/spree/OSVDB-91219.yml +0 -17
- data/data/ruby-advisory-db/gems/spree_auth/OSVDB-90865.yml +0 -16
- data/data/ruby-advisory-db/gems/spree_auth_devise/OSVDB-90865.yml +0 -20
- data/data/ruby-advisory-db/gems/sprockets/CVE-2014-7819.yml +0 -27
- data/data/ruby-advisory-db/gems/sprout/OSVDB-100598.yml +0 -16
- data/data/ruby-advisory-db/gems/sup/CVE-2013-4478.yml +0 -14
- data/data/ruby-advisory-db/gems/sup/CVE-2013-4479.yml +0 -14
- data/data/ruby-advisory-db/gems/thumbshooter/OSVDB-91839.yml +0 -9
- data/data/ruby-advisory-db/gems/twitter-bootstrap-rails/OSVDB-109206.yml +0 -22
- data/data/ruby-advisory-db/gems/uglifier/OSVDB-126747.yml +0 -19
- data/data/ruby-advisory-db/gems/web-console/CVE-2015-3224.yml +0 -22
- data/data/ruby-advisory-db/gems/web-console/OSVDB-112346.yml +0 -12
- data/data/ruby-advisory-db/gems/webbynode/OSVDB-100920.yml +0 -12
- data/data/ruby-advisory-db/gems/wicked/OSVDB-98270.yml +0 -14
- data/data/ruby-advisory-db/gems/will_paginate/OSVDB-101138.yml +0 -15
- data/data/ruby-advisory-db/gems/xaviershay-dm-rails/OSVDB-118579.yml +0 -13
- data/data/ruby-advisory-db/lib/cf_scrape.py +0 -5
- data/data/ruby-advisory-db/lib/osvdb_scrape.rb +0 -92
- data/data/ruby-advisory-db/libraries/rubygems/CVE-2013-4287.yml +0 -19
- data/data/ruby-advisory-db/libraries/rubygems/CVE-2013-4363.yml +0 -20
- data/data/ruby-advisory-db/libraries/rubygems/CVE-2015-3900.yml +0 -19
- data/data/ruby-advisory-db/libraries/rubygems/CVE-2015-4020.yml +0 -19
- data/data/ruby-advisory-db/libraries/rubygems/OSVDB-33561.yml +0 -17
- data/data/ruby-advisory-db/libraries/rubygems/OSVDB-81444.yml +0 -14
- data/data/ruby-advisory-db/libraries/rubygems/OSVDB-85809.yml +0 -16
- data/data/ruby-advisory-db/rubies/jruby/CVE-2010-1330.yml +0 -17
- data/data/ruby-advisory-db/rubies/jruby/CVE-2011-4838.yml +0 -15
- data/data/ruby-advisory-db/rubies/jruby/CVE-2012-5370.yml +0 -17
- data/data/ruby-advisory-db/rubies/jruby/OSVDB-94644.yml +0 -12
- data/data/ruby-advisory-db/rubies/rbx/OSVDB-78119.yml +0 -13
- data/data/ruby-advisory-db/rubies/rbx/OSVDB-87861.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5162.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5770.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1447.yml +0 -15
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1891.yml +0 -21
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2376.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3443.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3655.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3656.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3657.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3905.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-0642.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-5147.yml +0 -13
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-0188.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2686.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2705.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-3009.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4464.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4466.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4481.yml +0 -15
- data/data/ruby-advisory-db/rubies/ruby/CVE-2015-7551.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-100113.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-105027.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-107478.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-108971.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-113747.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-114641.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-120541.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-46550.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-46551.yml +0 -21
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-46552.yml +0 -21
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-46553.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-46554.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-47753.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-55031.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-60880.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-61774.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-65556.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-66040.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-70957.yml +0 -15
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-70958.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-74829.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-78118.yml +0 -14
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-87280.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-87863.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-87917.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-90587.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-93414.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/OSVDB-94628.yml +0 -21
- data/data/ruby-advisory-db/scripts/post-advisories.sh +0 -18
- data/data/ruby-advisory-db/spec/advisory_example.rb +0 -187
- data/data/ruby-advisory-db/spec/gem_example.rb +0 -22
- data/data/ruby-advisory-db/spec/gems_spec.rb +0 -23
- data/data/ruby-advisory-db/spec/library_example.rb +0 -21
- data/data/ruby-advisory-db/spec/ruby_example.rb +0 -23
- data/data/ruby-advisory-db/spec/spec_helper.rb +0 -1
@@ -1,9 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: thumbshooter
|
3
|
-
cve: 2013-1898
|
4
|
-
osvdb: 91839
|
5
|
-
url: http://osvdb.org/show/osvdb/91839
|
6
|
-
title: Thumbshooter Gem for Ruby thumbshooter.rb URL Shell Metacharacter Injection Arbitrary Command Execution
|
7
|
-
date: 2013-03-26
|
8
|
-
description: Thumbshooter Gem for Ruby contains a flaw that is due to the program failing to properly sanitize input passed to thumbshooter.rb. With a specially crafted URL that contains shell metacharacters, a context-dependent attacker can execute arbitrary commands.
|
9
|
-
cvss_v2: 7.5
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: twitter-bootstrap-rails
|
3
|
-
framework: rails
|
4
|
-
cve: 2014-4920
|
5
|
-
osvdb: 109206
|
6
|
-
url: http://blog.nvisium.com/2014/03/reflected-xss-vulnerability-in-twitter.html
|
7
|
-
title: Reflective XSS Vulnerability in twitter-bootstrap-rails
|
8
|
-
date: 2014-03-25
|
9
|
-
|
10
|
-
description: |
|
11
|
-
The twitter-bootstrap-rails Gem for Rails contains a flaw that enables a
|
12
|
-
reflected cross-site scripting (XSS) attack. This flaw exists because the
|
13
|
-
bootstrap_flash helper method does not validate input when handling flash
|
14
|
-
messages before returning it to users. This may allow a context-dependent
|
15
|
-
attacker to create a specially crafted request that would execute arbitrary
|
16
|
-
script code in a user's browser session within the trust relationship between
|
17
|
-
their browser and the server.
|
18
|
-
|
19
|
-
cvss_v2:
|
20
|
-
|
21
|
-
patched_versions:
|
22
|
-
- ">= 3.2.0"
|
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: uglifier
|
3
|
-
osvdb: 126747
|
4
|
-
url: https://github.com/mishoo/UglifyJS2/issues/751
|
5
|
-
title: uglifier incorrectly handles non-boolean comparisons during minification
|
6
|
-
date: 2015-07-21
|
7
|
-
description: |
|
8
|
-
|
9
|
-
The upstream library for the Ruby uglifier gem, UglifyJS, is
|
10
|
-
affected by a vulnerability that allows a specially crafted
|
11
|
-
Javascript file to have altered functionality after minification.
|
12
|
-
|
13
|
-
This bug, found in UglifyJS versions 2.4.23 and earlier, was demonstrated
|
14
|
-
to allow potentially malicious code to be hidden within secure code,
|
15
|
-
and activated by the minification process.
|
16
|
-
|
17
|
-
For more information, consult: https://zyan.scripts.mit.edu/blog/backdooring-js/
|
18
|
-
patched_versions:
|
19
|
-
- ">= 2.7.2"
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: web-console
|
3
|
-
cve: 2015-3224
|
4
|
-
url: https://groups.google.com/forum/#!topic/ruby-security-ann/lzmz9_ijUFw
|
5
|
-
title: |
|
6
|
-
IP whitelist bypass in Web Console
|
7
|
-
date: 2015-06-16
|
8
|
-
|
9
|
-
description: |
|
10
|
-
Specially crafted remote requests can spoof their origin, bypassing the IP whitelist, in any environment where Web Console is enabled (development and test, by default).
|
11
|
-
|
12
|
-
Users whose application is only accessible from localhost (as is the default behaviour in Rails 4.2) are not affected, unless a local proxy is involved.
|
13
|
-
|
14
|
-
All affected users should either upgrade or use one of the work arounds immediately.
|
15
|
-
|
16
|
-
To work around this issue, turn off web-console in all environments, by removing/commenting it from the application's Gemfile.
|
17
|
-
|
18
|
-
patched_versions:
|
19
|
-
- ">= 2.1.3"
|
20
|
-
|
21
|
-
|
22
|
-
|
@@ -1,12 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: web-console
|
3
|
-
osvdb: 112346
|
4
|
-
url: http://www.osvdb.org/show/osvdb/112346
|
5
|
-
title: Web Console Gem for Ruby contains an unspecified flaw
|
6
|
-
date: 2014-09-29
|
7
|
-
description: The Web Console Gem for Ruby on Rails contains an unspecified flaw that
|
8
|
-
may allow an attacker to have an unspecified impact. No further details have been
|
9
|
-
provided by the vendor.
|
10
|
-
cvss_v2:
|
11
|
-
patched_versions:
|
12
|
-
- ">= 2.0.0.beta4"
|
@@ -1,12 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: webbynode
|
3
|
-
cve: 2013-7086
|
4
|
-
osvdb: 100920
|
5
|
-
url: http://osvdb.org/show/osvdb/100920
|
6
|
-
title: Webbynode Gem for Ruby notify.rb growlnotify Message Handling Arbitrary Command Execution
|
7
|
-
date: 2013-12-12
|
8
|
-
description: |
|
9
|
-
Webbynode Gem for Ruby contains a flaw in notify.rb that is triggered
|
10
|
-
when handling a specially crafted growlnotify message. This may allow a
|
11
|
-
context-dependent attacker to execute arbitrary commands.
|
12
|
-
cvss_v2: 7.5
|
@@ -1,14 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: wicked
|
3
|
-
cve: 2013-4413
|
4
|
-
osvdb: 98270
|
5
|
-
url: http://www.osvdb.org/show/osvdb/98270
|
6
|
-
title: Wicked Gem for Ruby contains a flaw
|
7
|
-
date: 2013-10-08
|
8
|
-
description: Wicked Gem for Ruby contains a flaw that is due to the program
|
9
|
-
failing to properly sanitize input passed via the 'the_step' parameter
|
10
|
-
upon submission to the render_redirect.rb script.
|
11
|
-
This may allow a remote attacker to gain access to arbitrary files.
|
12
|
-
cvss_v2: 5.0
|
13
|
-
patched_versions:
|
14
|
-
- '>= 1.0.1'
|
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: will_paginate
|
3
|
-
osvdb: 101138
|
4
|
-
cve: 2013-6459
|
5
|
-
url: http://osvdb.org/show/osvdb/101138
|
6
|
-
title: will_paginate Gem for Ruby Generated Pagination Link Unspecified XSS
|
7
|
-
date: 2013-09-19
|
8
|
-
description: will_paginate Gem for Ruby contains a flaw that allows a cross-site scripting (XSS) attack.
|
9
|
-
This flaw exists because the application does not validate certain unspecified input related to
|
10
|
-
generated pagination links before returning it to the user. This may allow an attacker to create
|
11
|
-
a specially crafted request that would execute arbitrary script code in a users browser within the
|
12
|
-
trust relationship between their browser and the server.
|
13
|
-
cvss_v2: 4.3
|
14
|
-
patched_versions:
|
15
|
-
- ">= 3.0.5"
|
@@ -1,13 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: xaviershay-dm-rails
|
3
|
-
cve: 2015-2179
|
4
|
-
osvdb: 118579
|
5
|
-
url: http://osvdb.org/show/osvdb/118579
|
6
|
-
title: |
|
7
|
-
xaviershay-dm-rails Gem for Ruby exposes sensitive information via the process table
|
8
|
-
date: 2015-02-17
|
9
|
-
description: |
|
10
|
-
xaviershay-dm-rails Gem for Ruby contains a flaw in the execute() function
|
11
|
-
in /datamapper/dm-rails/blob/master/lib/dm-rails/storage.rb. The issue is
|
12
|
-
due to the function exposing sensitive information via the process table.
|
13
|
-
This may allow a local attack to gain access to MySQL credential information.
|
@@ -1,92 +0,0 @@
|
|
1
|
-
require 'pry'
|
2
|
-
require 'nokogiri'
|
3
|
-
require 'yaml'
|
4
|
-
require 'date'
|
5
|
-
|
6
|
-
class OSVDB
|
7
|
-
attr_accessor :osvdb, :cve, :title, :description, :date, :cvss_v2, :gem, :url, :patched_versions, :page
|
8
|
-
def initialize(osvdb)
|
9
|
-
self.osvdb = osvdb
|
10
|
-
self.url = "http://osvdb.org/show/osvdb/#{self.osvdb}"
|
11
|
-
scrape!
|
12
|
-
parse!
|
13
|
-
end
|
14
|
-
|
15
|
-
def scrape!
|
16
|
-
html = `bash --login -c "python cf_scrape.py #{self.url}"`
|
17
|
-
doc = Nokogiri::XML(html) do |config|
|
18
|
-
config.nonet.noent
|
19
|
-
end
|
20
|
-
|
21
|
-
self.page = doc
|
22
|
-
end
|
23
|
-
|
24
|
-
def parse!
|
25
|
-
page.search(".show_vuln_table").search("td ul li").each do |li|
|
26
|
-
case li.children[0].text.strip
|
27
|
-
when "CVE ID:"
|
28
|
-
self.cve = li.children[1].text
|
29
|
-
when "Vendor URL:"
|
30
|
-
self.set_gem(li.children[1].text)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
self.description = page.search(".show_vuln_table").search("tr td tr .white_content p")[0].text
|
35
|
-
self.date = page.search(".show_vuln_table").search("tr td tr .white_content tr td")[0].text
|
36
|
-
self.title = page.search("title").text.gsub(/\d+: /, "")
|
37
|
-
if cvss_p = page.search(".show_vuln_table").search("tr td tr .white_content div p")[0]
|
38
|
-
self.set_cvss(cvss_p.children[0].text)
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
def set_gem(vendortext)
|
43
|
-
["https://rubygems.org/gems/", "http://rubygems.org/gems/"].each do |str|
|
44
|
-
if vendortext.match(str)
|
45
|
-
self.gem = vendortext.gsub(str,"")
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
def set_cvss(text)
|
51
|
-
self.cvss_v2 = text.strip.gsub("CVSSv2 Base Score = ", "")
|
52
|
-
end
|
53
|
-
|
54
|
-
def date
|
55
|
-
Date.parse(@date)
|
56
|
-
end
|
57
|
-
|
58
|
-
def cvss_v2
|
59
|
-
@cvss_v2.nil? ? nil : @cvss_v2.to_f
|
60
|
-
end
|
61
|
-
|
62
|
-
def gem
|
63
|
-
@gem.nil? ? "unknown" : @gem
|
64
|
-
end
|
65
|
-
|
66
|
-
def to_yaml
|
67
|
-
{ 'gem' => gem,
|
68
|
-
'cve' => cve,
|
69
|
-
'osvdb' => osvdb.to_i,
|
70
|
-
'url' => url,
|
71
|
-
'title' => title,
|
72
|
-
'date' => date,
|
73
|
-
'description' => description,
|
74
|
-
'cvss_v2' => cvss_v2,
|
75
|
-
'patched_versions' => patched_versions
|
76
|
-
}.to_yaml(options = { line_width: 80 })
|
77
|
-
end
|
78
|
-
|
79
|
-
def filename
|
80
|
-
"OSVDB-#{osvdb}.yml"
|
81
|
-
end
|
82
|
-
|
83
|
-
def to_advisory!
|
84
|
-
gems_path = File.join(File.dirname(__FILE__), "..", "gems")
|
85
|
-
adv_path = File.absolute_path(File.join(gems_path, self.gem))
|
86
|
-
|
87
|
-
FileUtils.mkdir(adv_path) unless File.exists?(adv_path)
|
88
|
-
File.open(File.join(adv_path, filename), "w") do |io|
|
89
|
-
io.puts self.to_yaml
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
library: rubygems
|
3
|
-
cve: 2013-4287
|
4
|
-
osvdb: 97163
|
5
|
-
url: http://blog.rubygems.org/2013/09/09/CVE-2013-4287.html
|
6
|
-
title: RubyGems Multiple API Call Version Validation CPU Consumption DoS
|
7
|
-
date: 2013-09-09
|
8
|
-
description: |
|
9
|
-
RubyGems contains a flaw that may allow a denial of service. The issue is
|
10
|
-
triggered when handling the gem build, Gem::Package, or Gem::PackageTask API
|
11
|
-
calls, which attempt to validate the version of the program. This may allow a
|
12
|
-
context-dependent attacker to cause a consumption of CPU resources and crash
|
13
|
-
the program.
|
14
|
-
cvss_v2: 4.3
|
15
|
-
patched_versions:
|
16
|
-
- ~> 1.8.23.1
|
17
|
-
- ~> 1.8.26
|
18
|
-
- ~> 2.0.8
|
19
|
-
- ">= 2.1.0"
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
library: rubygems
|
3
|
-
cve: 2013-4363
|
4
|
-
osvdb: 97163
|
5
|
-
url: http://blog.rubygems.org/2013/09/24/CVE-2013-4363.html
|
6
|
-
title: RubyGems Multiple API Call Version Validation CPU Consumption DoS
|
7
|
-
date: 2013-09-24
|
8
|
-
description: |
|
9
|
-
RubyGems contains a flaw that may allow a denial of service. The issue is
|
10
|
-
triggered when handling the gem build, Gem::Package, or Gem::PackageTask API
|
11
|
-
calls, which attempt to validate the version of the program. This may allow a
|
12
|
-
context-dependent attacker to cause a consumption of CPU resources and crash
|
13
|
-
the program. This vulnerability is due to an incomplete fix for
|
14
|
-
CVE-2013-4287, which allowed a denial of service via improper validation.
|
15
|
-
cvss_v2: 4.3
|
16
|
-
patched_versions:
|
17
|
-
- ~> 1.8.23.2
|
18
|
-
- ~> 1.8.27
|
19
|
-
- ~> 2.0.10
|
20
|
-
- ">= 2.1.5"
|
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
library: rubygems
|
3
|
-
cve: 2015-3900
|
4
|
-
osvdb: 122162
|
5
|
-
url: https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007/?fid=6356
|
6
|
-
title: |
|
7
|
-
RubyGems remote_fetcher.rb api_endpoint() Function Missing SRV Record
|
8
|
-
Hostname Validation Request Hijacking
|
9
|
-
date: 2015-05-14
|
10
|
-
description: |
|
11
|
-
RubyGems contains a flaw in the api_endpoint() function in remote_fetcher.rb
|
12
|
-
that is triggered when handling hostnames in SRV records. With a specially
|
13
|
-
crafted response, a context-dependent attacker may conduct DNS hijacking
|
14
|
-
attacks.
|
15
|
-
cvss_v2: 5.0
|
16
|
-
patched_versions:
|
17
|
-
- ~> 2.0.16
|
18
|
-
- ~> 2.2.4
|
19
|
-
- ">= 2.4.7"
|
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
library: rubygems
|
3
|
-
cve: 2015-4020
|
4
|
-
url: https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-009/?fid=6478
|
5
|
-
title: |
|
6
|
-
RubyGems remote_fetcher.rb api_endpoint() Function Missing SRV Record
|
7
|
-
Hostname Validation Request Hijacking
|
8
|
-
date: 2015-06-08
|
9
|
-
description: |
|
10
|
-
RubyGems contains a flaw in the api_endpoint() function in remote_fetcher.rb
|
11
|
-
that is triggered when handling hostnames in SRV records. With a specially
|
12
|
-
crafted response, a context-dependent attacker may conduct DNS hijacking
|
13
|
-
attacks. This vulnerability is due to an incomplete fix for CVE-2015-3900,
|
14
|
-
which allowed redirection to an arbitrary gem server in any security domain.
|
15
|
-
cvss_v2: 5.0
|
16
|
-
patched_versions:
|
17
|
-
- ~> 2.0.17
|
18
|
-
- ~> 2.2.5
|
19
|
-
- ">= 2.4.8"
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
library: rubygems
|
3
|
-
cve: 2007-0469
|
4
|
-
osvdb: 33561
|
5
|
-
url: http://www.osvdb.org/show/osvdb/33561
|
6
|
-
title: |
|
7
|
-
RubyGems installer.rb extract_files Function Crafted GEM Package Arbitrary
|
8
|
-
File Overwrite
|
9
|
-
date: 2007-01-22
|
10
|
-
description: |
|
11
|
-
The extract_files function in installer.rb in RubyGems before 0.9.1 does not
|
12
|
-
check whether files exist before overwriting them, which allows user-assisted
|
13
|
-
remote attackers to overwrite arbitrary files, cause a denial of service, or
|
14
|
-
execute arbitrary code via crafted GEM packages.
|
15
|
-
cvss_v2: 9.3
|
16
|
-
patched_versions:
|
17
|
-
- ">= 0.9.1"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
---
|
2
|
-
library: rubygems
|
3
|
-
cve: 2012-2126
|
4
|
-
osvdb: 81444
|
5
|
-
url: http://www.osvdb.org/show/osvdb/81444
|
6
|
-
title: RubyGems SSL Certificate Validation MitM Spoofing Weakness
|
7
|
-
date: 2012-04-20
|
8
|
-
description: |
|
9
|
-
RubyGems contains a flaw related to the validation of SSL certificates when
|
10
|
-
accessing certain services and APIs. This may allow a man-in-the-middle
|
11
|
-
attacker to spoof a valid server.
|
12
|
-
cvss_v2: 4.3
|
13
|
-
patched_versions:
|
14
|
-
- ">= 1.8.23"
|
@@ -1,16 +0,0 @@
|
|
1
|
-
---
|
2
|
-
library: rubygems
|
3
|
-
cve: 2012-2125
|
4
|
-
osvdb: 85809
|
5
|
-
url: http://www.osvdb.org/show/osvdb/85809
|
6
|
-
title: |
|
7
|
-
RubyGems HTTPS to HTTP Redirection MitM Downloaded Installation File
|
8
|
-
Manipulation
|
9
|
-
date: 2012-09-25
|
10
|
-
description: |
|
11
|
-
RubyGems contains a flaw that is triggered by the gem fetcher allowing for
|
12
|
-
redirection of HTTPS to HTTP. This may allow a remote attacker to conduct a
|
13
|
-
man-in-the-middle attack to alter downloaded gem installation files.
|
14
|
-
cvss_v2: 5.8
|
15
|
-
patched_versions:
|
16
|
-
- ">= 1.8.23"
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: jruby
|
3
|
-
cve: 2010-1330
|
4
|
-
osvdb: 77297
|
5
|
-
url: http://jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability
|
6
|
-
title: |
|
7
|
-
JRuby XSS in the regular expression engine when processing invalid UTF-8 byte
|
8
|
-
sequences
|
9
|
-
date: 2010-04-26
|
10
|
-
description: |
|
11
|
-
The regular expression engine in JRuby before 1.4.1, when $KCODE is set to
|
12
|
-
'u', does not properly handle characters immediately after a UTF-8
|
13
|
-
character, which allows remote attackers to conduct cross-site scripting
|
14
|
-
(XSS) attacks via a crafted string.
|
15
|
-
cvss_v2: 4.3
|
16
|
-
patched_versions:
|
17
|
-
- ">= 1.4.1"
|
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: jruby
|
3
|
-
cve: 2011-4838
|
4
|
-
osvdb: 78116
|
5
|
-
url: http://jruby.org/2011/12/27/jruby-1-6-5-1
|
6
|
-
title: JRuby Hash Collision Form Parameter Parsing Remote DoS
|
7
|
-
date: 2011-12-27
|
8
|
-
description: |
|
9
|
-
JRuby contains a flaw that may allow a remote denial of service. The issue is
|
10
|
-
triggered when an attacker sends multiple crafted parameters which trigger
|
11
|
-
hash collisions, and will result in loss of availability for the program via
|
12
|
-
CPU consumption.
|
13
|
-
cvss_v2: 7.8
|
14
|
-
patched_versions:
|
15
|
-
- ">= 1.6.5.1"
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: jruby
|
3
|
-
cve: 2012-5370
|
4
|
-
osvdb: 87864
|
5
|
-
url: http://jruby.org/2012/12/03/jruby-1-7-1
|
6
|
-
title: JRuby MurmurHash Implementation Hash Collision Remote DoS
|
7
|
-
date: 2012-11-23
|
8
|
-
description: |
|
9
|
-
JRuby contains a flaw related to the MurmurHash implementation that may allow
|
10
|
-
a remote denial of service. The issue is triggered when hash values are
|
11
|
-
computed without having the ability to cause hash collisions restricted. When
|
12
|
-
sending specially crafted input to an application maintaining a hash table, a
|
13
|
-
context-dependent attacker can cause a consumption of CPU resources. This
|
14
|
-
will result in a loss of availability for the program.
|
15
|
-
cvss_v2: 5.0
|
16
|
-
patched_versions:
|
17
|
-
- ">= 1.7.1"
|
@@ -1,12 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: jruby
|
3
|
-
osvdb: 94644
|
4
|
-
url: http://www.osvdb.org/show/osvdb/94644
|
5
|
-
title: JRuby Null Byte Request Arbitrary File Access
|
6
|
-
date: 2010-05-26
|
7
|
-
description: |
|
8
|
-
JRuby contains a flaw that is due to the program failing to properly check
|
9
|
-
for null byte requests in certain file operations. This may allow a remote
|
10
|
-
attacker to gain access to arbitrary files. No further details are available.
|
11
|
-
patched_versions:
|
12
|
-
- ">= 1.6.2"
|