bundler-audit 0.4.0 → 0.7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -1
- data/.travis.yml +13 -6
- data/ChangeLog.md +42 -0
- data/Gemfile +2 -2
- data/README.md +39 -20
- data/Rakefile +16 -10
- data/bin/bundler-audit +3 -0
- data/data/ruby-advisory-db.ts +1 -1
- data/data/ruby-advisory-db/.gitignore +1 -1
- data/data/ruby-advisory-db/.travis.yml +12 -0
- data/data/ruby-advisory-db/CONTRIBUTING.md +68 -3
- data/data/ruby-advisory-db/CONTRIBUTORS.md +20 -2
- data/data/ruby-advisory-db/Gemfile +10 -2
- data/data/ruby-advisory-db/README.md +84 -33
- data/data/ruby-advisory-db/Rakefile +6 -11
- data/data/ruby-advisory-db/gems/{arabic-prawn/OSVDB-104365.yml → Arabic-Prawn/CVE-2014-2322.yml} +4 -7
- data/data/ruby-advisory-db/gems/RedCloth/CVE-2012-6684.yml +21 -0
- data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4995.yml +13 -0
- data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4996.yml +13 -0
- data/data/ruby-advisory-db/gems/actionmailer/{OSVDB-98629.yml → CVE-2013-4389.yml} +1 -1
- data/data/ruby-advisory-db/gems/actionpack-page_caching/CVE-2020-8159.yml +40 -0
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-79727.yml → CVE-2012-1099.yml} +1 -1
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-84243.yml → CVE-2012-3424.yml} +5 -5
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-84515.yml → CVE-2012-3463.yml} +1 -1
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-84513.yml → CVE-2012-3465.yml} +1 -1
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-89026.yml → CVE-2013-0156.yml} +1 -1
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-91452.yml → CVE-2013-1855.yml} +5 -5
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-91454.yml → CVE-2013-1857.yml} +5 -5
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-103439.yml → CVE-2014-0081.yml} +2 -2
- data/data/ruby-advisory-db/gems/actionpack/{OSVDB-103440.yml → CVE-2014-0082.yml} +3 -3
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-0130.yml +23 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7818.yml +24 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7829.yml +26 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7576.yml +119 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7581.yml +55 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0751.yml +74 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0752.yml +96 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2097.yml +91 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2098.yml +89 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-6316.yml +57 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2020-8164.yml +49 -0
- data/data/ruby-advisory-db/gems/actionpack/CVE-2020-8166.yml +31 -0
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100524.yml +1 -1
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100525.yml +2 -2
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100526.yml +6 -6
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100527.yml +2 -2
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-100528.yml +2 -2
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-74616.yml +18 -0
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-77199.yml +23 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2016-0752.yml +95 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2016-2097.yml +89 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2016-6316.yml +56 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2019-5418.yml +98 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2019-5419.yml +95 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2020-5267.yml +69 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2020-8163.yml +29 -0
- data/data/ruby-advisory-db/gems/actionview/CVE-2020-8167.yml +45 -0
- data/data/ruby-advisory-db/gems/active-support/CVE-2018-3779.yml +17 -0
- data/data/ruby-advisory-db/gems/activejob/CVE-2018-16476.yml +36 -0
- data/data/ruby-advisory-db/gems/activemodel/CVE-2016-0753.yml +95 -0
- data/data/ruby-advisory-db/gems/activerecord-jdbc-adapter/OSVDB-114854.yml +20 -0
- data/data/ruby-advisory-db/gems/activerecord-oracle_enhanced-adapter/OSVDB-95376.yml +15 -0
- data/data/ruby-advisory-db/gems/activerecord/{OSVDB-82610.yml → CVE-2012-2660.yml} +1 -1
- data/data/ruby-advisory-db/gems/activerecord/{OSVDB-82403.yml → CVE-2012-2661.yml} +1 -1
- data/data/ruby-advisory-db/gems/activerecord/{OSVDB-89025.yml → CVE-2013-0155.yml} +1 -1
- data/data/ruby-advisory-db/gems/activerecord/{OSVDB-90072.yml → CVE-2013-0276.yml} +3 -3
- data/data/ruby-advisory-db/gems/activerecord/{OSVDB-90073.yml → CVE-2013-0277.yml} +3 -3
- data/data/ruby-advisory-db/gems/activerecord/{OSVDB-91453.yml → CVE-2013-1854.yml} +1 -1
- data/data/ruby-advisory-db/gems/activerecord/{OSVDB-103438.yml → CVE-2014-0080.yml} +1 -1
- data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3482.yml +23 -0
- data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3483.yml +24 -0
- data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3514.yml +23 -0
- data/data/ruby-advisory-db/gems/activerecord/CVE-2015-7577.yml +110 -0
- data/data/ruby-advisory-db/gems/activerecord/CVE-2016-6317.yml +73 -0
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-88661.yml +20 -0
- data/data/ruby-advisory-db/gems/activeresource/CVE-2020-8151.yml +48 -0
- data/data/ruby-advisory-db/gems/activeresource/OSVDB-95749.yml +15 -0
- data/data/ruby-advisory-db/gems/activestorage/CVE-2018-16477.yml +43 -0
- data/data/ruby-advisory-db/gems/activestorage/CVE-2020-8162.yml +31 -0
- data/data/ruby-advisory-db/gems/activesupport/{OSVDB-79726.yml → CVE-2012-1098.yml} +1 -1
- data/data/ruby-advisory-db/gems/activesupport/{OSVDB-84516.yml → CVE-2012-3464.yml} +1 -1
- data/data/ruby-advisory-db/gems/activesupport/{OSVDB-89594.yml → CVE-2013-0333.yml} +1 -1
- data/data/ruby-advisory-db/gems/activesupport/{OSVDB-91451.yml → CVE-2013-1856.yml} +1 -1
- data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3226.yml +55 -0
- data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3227.yml +33 -0
- data/data/ruby-advisory-db/gems/activesupport/CVE-2020-8165.yml +41 -0
- data/data/ruby-advisory-db/gems/administrate/CVE-2016-3098.yml +14 -0
- data/data/ruby-advisory-db/gems/administrate/CVE-2020-5257.yml +24 -0
- data/data/ruby-advisory-db/gems/aescrypt/CVE-2013-7463.yml +10 -0
- data/data/ruby-advisory-db/gems/airbrake-ruby/CVE-2019-16060.yml +18 -0
- data/data/ruby-advisory-db/gems/archive-tar-minitar/CVE-2016-10173.yml +16 -0
- data/data/ruby-advisory-db/gems/as/OSVDB-112683.yml +10 -0
- data/data/ruby-advisory-db/gems/authlogic/CVE-2012-6497.yml +15 -0
- data/data/ruby-advisory-db/gems/auto_awesomplete/OSVDB-132800.yml +11 -0
- data/data/ruby-advisory-db/gems/auto_select2/OSVDB-132800.yml +13 -0
- data/data/ruby-advisory-db/gems/awesome-bot/CVE-2019-15224.yml +19 -0
- data/data/ruby-advisory-db/gems/awesome_spawn/CVE-2014-0156.yml +19 -0
- data/data/ruby-advisory-db/gems/backup-agoddard/CVE-2014-4993.yml +8 -0
- data/data/ruby-advisory-db/gems/backup_checksum/CVE-2014-4993.yml +12 -0
- data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108570.yml +10 -0
- data/data/ruby-advisory-db/gems/bcrypt-ruby/OSVDB-62067.yml +19 -0
- data/data/ruby-advisory-db/gems/bcrypt/OSVDB-62067.yml +17 -0
- data/data/ruby-advisory-db/gems/bibtex-ruby/CVE-2019-10780.yml +16 -0
- data/data/ruby-advisory-db/gems/bio-basespace-sdk/CVE-2013-7111.yml +8 -0
- data/data/ruby-advisory-db/gems/bitcoin_vanity/CVE-2019-15224.yml +18 -0
- data/data/ruby-advisory-db/gems/blockchain_wallet/CVE-2019-15224.yml +19 -0
- data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2016-10735.yml +20 -0
- data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2019-10842.yml +25 -0
- data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2019-8331.yml +20 -0
- data/data/ruby-advisory-db/gems/bootstrap/CVE-2016-10735.yml +20 -0
- data/data/ruby-advisory-db/gems/bootstrap/CVE-2018-14040.yml +24 -0
- data/data/ruby-advisory-db/gems/bootstrap/CVE-2019-8331.yml +20 -0
- data/data/ruby-advisory-db/gems/brakeman/CVE-2019-18409.yml +26 -0
- data/data/ruby-advisory-db/gems/brbackup/CVE-2014-5004.yml +11 -0
- data/data/ruby-advisory-db/gems/brbackup/OSVDB-108899.yml +12 -0
- data/data/ruby-advisory-db/gems/brbackup/OSVDB-108900.yml +11 -0
- data/data/ruby-advisory-db/gems/bson/CVE-2015-4411.yml +21 -0
- data/data/ruby-advisory-db/gems/bson/CVE-2015-4412.yml +18 -0
- data/data/ruby-advisory-db/gems/builder/OSVDB-95668.yml +13 -0
- data/data/ruby-advisory-db/gems/bundler/CVE-2013-0334.yml +15 -0
- data/data/ruby-advisory-db/gems/bundler/OSVDB-115090.yml +13 -0
- data/data/ruby-advisory-db/gems/bundler/OSVDB-115091.yml +12 -0
- data/data/ruby-advisory-db/gems/bundler/OSVDB-115917.yml +12 -0
- data/data/ruby-advisory-db/gems/cairo/CVE-2017-7475.yml +15 -0
- data/data/ruby-advisory-db/gems/cap-strap/CVE-2014-4992.yml +8 -0
- data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108575.yml +7 -0
- data/data/ruby-advisory-db/gems/capistrano-colors/CVE-2019-15224.yml +19 -0
- data/data/ruby-advisory-db/gems/chartkick/CVE-2019-12732.yml +21 -0
- data/data/ruby-advisory-db/gems/chartkick/CVE-2019-18841.yml +13 -0
- data/data/ruby-advisory-db/gems/chloride/CVE-2018-6517.yml +17 -0
- data/data/ruby-advisory-db/gems/ciborg/CVE-2014-5003.yml +8 -0
- data/data/ruby-advisory-db/gems/cocaine/{OSVDB-98835.yml → CVE-2013-4457.yml} +1 -1
- data/data/ruby-advisory-db/gems/codders-dataset/CVE-2014-4991.yml +8 -0
- data/data/ruby-advisory-db/gems/coin_base/CVE-2019-15224.yml +18 -0
- data/data/ruby-advisory-db/gems/colorscore/CVE-2015-7541.yml +21 -0
- data/data/ruby-advisory-db/gems/coming-soon/CVE-2019-15224.yml +18 -0
- data/data/ruby-advisory-db/gems/command_wrap/{OSVDB-91450.yml → CVE-2013-1875.yml} +1 -2
- data/data/ruby-advisory-db/gems/consul/CVE-2019-16377.yml +15 -0
- data/data/ruby-advisory-db/gems/crack/{OSVDB-90742.yml → CVE-2013-1800.yml} +1 -1
- data/data/ruby-advisory-db/gems/cremefraiche/{OSVDB-93395.yml → CVE-2013-2090.yml} +5 -5
- data/data/ruby-advisory-db/gems/cron_parser/CVE-2019-15224.yml +20 -0
- data/data/ruby-advisory-db/gems/curb/OSVDB-114600.yml +12 -0
- data/data/ruby-advisory-db/gems/curl/CVE-2013-2617.yml +13 -0
- data/data/ruby-advisory-db/gems/datagrid/CVE-2019-14281.yml +14 -0
- data/data/ruby-advisory-db/gems/delayed_job_web/CVE-2017-12097.yml +17 -0
- data/data/ruby-advisory-db/gems/devise-two-factor/CVE-2015-7225.yml +22 -0
- data/data/ruby-advisory-db/gems/devise/{OSVDB-89642.yml → CVE-2013-0233.yml} +2 -2
- data/data/ruby-advisory-db/gems/devise/CVE-2015-8314.yml +14 -0
- data/data/ruby-advisory-db/gems/devise/CVE-2019-16109.yml +13 -0
- data/data/ruby-advisory-db/gems/devise/CVE-2019-5421.yml +16 -0
- data/data/ruby-advisory-db/gems/devise/OSVDB-114435.yml +17 -0
- data/data/ruby-advisory-db/gems/doge-coin/CVE-2019-15224.yml +19 -0
- data/data/ruby-advisory-db/gems/doorkeeper-openid_connect/CVE-2019-9837.yml +16 -0
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2014-8144.yml +26 -0
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2016-6582.yml +43 -0
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2018-1000088.yml +39 -0
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2018-1000211.yml +39 -0
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2020-10187.yml +34 -0
- data/data/ruby-advisory-db/gems/doorkeeper/OSVDB-118830.yml +17 -0
- data/data/ruby-advisory-db/gems/dragonfly/CVE-2013-1756.yml +16 -0
- data/data/ruby-advisory-db/gems/dragonfly/CVE-2013-5671.yml +14 -0
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-110439.yml +13 -0
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-97854.yml +12 -0
- data/data/ruby-advisory-db/gems/easymon/CVE-2018-1000855.yml +16 -0
- data/data/ruby-advisory-db/gems/echor/CVE-2014-1834.yml +12 -0
- data/data/ruby-advisory-db/gems/echor/CVE-2014-1835.yml +11 -0
- data/data/ruby-advisory-db/gems/ember-source/CVE-2013-4170.yml +25 -0
- data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0013.yml +33 -0
- data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0014.yml +30 -0
- data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0046.yml +26 -0
- data/data/ruby-advisory-db/gems/ember-source/CVE-2015-1866.yml +26 -0
- data/data/ruby-advisory-db/gems/ember-source/CVE-2015-7565.yml +30 -0
- data/data/ruby-advisory-db/gems/espeak-ruby/CVE-2016-10193.yml +15 -0
- data/data/ruby-advisory-db/gems/excon/CVE-2019-16779.yml +23 -0
- data/data/ruby-advisory-db/gems/extlib/{OSVDB-90740.yml → CVE-2013-1802.yml} +1 -1
- data/data/ruby-advisory-db/gems/fastreader/CVE-2013-2615.yml +13 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7222.yml +17 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7223.yml +19 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7224.yml +17 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7225.yml +19 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7249.yml +16 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2014-5441.yml +19 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2015-1585.yml +17 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2018-1000842.yml +23 -0
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2018-20975.yml +12 -0
- data/data/ruby-advisory-db/gems/faye/CVE-2020-11020.yml +91 -0
- data/data/ruby-advisory-db/gems/features/CVE-2013-4318.yml +8 -0
- data/data/ruby-advisory-db/gems/festivaltts4r/CVE-2016-10194.yml +12 -0
- data/data/ruby-advisory-db/gems/ffi/CVE-2018-1000201.yml +22 -0
- data/data/ruby-advisory-db/gems/field_test/CVE-2019-13146.yml +20 -0
- data/data/ruby-advisory-db/gems/fileutils/{OSVDB-90717.yml → CVE-2013-2516.yml} +5 -4
- data/data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml +0 -3
- data/data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml +0 -3
- data/data/ruby-advisory-db/gems/fileutils/OSVDB-90718.yml +7 -0
- data/data/ruby-advisory-db/gems/flash_tool/{OSVDB-90829.yml → CVE-2013-2513.yml} +1 -2
- data/data/ruby-advisory-db/gems/flavour_saver/OSVDB-110796.yml +14 -0
- data/data/ruby-advisory-db/gems/flukso4r/OSVDB-101577.yml +7 -0
- data/data/ruby-advisory-db/gems/fog-dragonfly/CVE-2013-1756.yml +18 -0
- data/data/ruby-advisory-db/gems/fog-dragonfly/CVE-2013-5671.yml +16 -0
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-110439.yml +15 -0
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-97854.yml +12 -0
- data/data/ruby-advisory-db/gems/ftpd/{OSVDB-90784.yml → CVE-2013-2512.yml} +1 -1
- data/data/ruby-advisory-db/gems/geminabox/CVE-2017-16792.yml +21 -0
- data/data/ruby-advisory-db/gems/gemirro/CVE-2017-16833.yml +22 -0
- data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8968.yml +21 -0
- data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8969.yml +13 -0
- data/data/ruby-advisory-db/gems/gitlab-grit/{OSVDB-99370.yml → CVE-2013-4489.yml} +1 -1
- data/data/ruby-advisory-db/gems/gnms/OSVDB-108594.yml +7 -0
- data/data/ruby-advisory-db/gems/gollum-grit_adapter/CVE-2014-9489.yml +23 -0
- data/data/ruby-advisory-db/gems/gollum/CVE-2015-7314.yml +13 -0
- data/data/ruby-advisory-db/gems/grape/CVE-2018-3769.yml +20 -0
- data/data/ruby-advisory-db/gems/gtk2/{OSVDB-40774.yml → CVE-2007-6183.yml} +1 -1
- data/data/ruby-advisory-db/gems/gyazo/CVE-2014-4994.yml +10 -0
- data/data/ruby-advisory-db/gems/haml/CVE-2017-1002201.yml +19 -0
- data/data/ruby-advisory-db/gems/handlebars-source/OSVDB-131671.yml +17 -0
- data/data/ruby-advisory-db/gems/http/CVE-2015-1828.yml +14 -0
- data/data/ruby-advisory-db/gems/httparty/{OSVDB-90741.yml → CVE-2013-1801.yml} +1 -1
- data/data/ruby-advisory-db/gems/i18n/CVE-2014-10077.yml +18 -0
- data/data/ruby-advisory-db/gems/iodine/GHSA-85rf-xh54-whp3.yml +21 -0
- data/data/ruby-advisory-db/gems/jekyll/CVE-2018-17567.yml +14 -0
- data/data/ruby-advisory-db/gems/jquery-rails/CVE-2015-1840.yml +36 -0
- data/data/ruby-advisory-db/gems/jquery-rails/CVE-2019-11358.yml +24 -0
- data/data/ruby-advisory-db/gems/jquery-ui-rails/CVE-2016-7103.yml +23 -0
- data/data/ruby-advisory-db/gems/jquery-ujs/CVE-2015-1840.yml +35 -0
- data/data/ruby-advisory-db/gems/jruby-openssl/CVE-2009-4123.yml +16 -0
- data/data/ruby-advisory-db/gems/jruby-sandbox/OSVDB-106279.yml +12 -0
- data/data/ruby-advisory-db/gems/json-jwt/CVE-2018-1000539.yml +21 -0
- data/data/ruby-advisory-db/gems/json-jwt/CVE-2019-18848.yml +15 -0
- data/data/ruby-advisory-db/gems/json/CVE-2013-0269.yml +20 -0
- data/data/ruby-advisory-db/gems/json/CVE-2020-10663.yml +35 -0
- data/data/ruby-advisory-db/gems/json/OSVDB-101157.yml +14 -0
- data/data/ruby-advisory-db/gems/kafo/CVE-2014-0135.yml +15 -0
- data/data/ruby-advisory-db/gems/kajam/CVE-2014-4999.yml +12 -0
- data/data/ruby-advisory-db/gems/kajam/OSVDB-108530.yml +11 -0
- data/data/ruby-advisory-db/gems/kaminari/CVE-2020-11082.yml +34 -0
- data/data/ruby-advisory-db/gems/karo/OSVDB-108573.yml +10 -0
- data/data/ruby-advisory-db/gems/karteek-docsplit/{OSVDB-92117.yml → CVE-2013-1933.yml} +1 -2
- data/data/ruby-advisory-db/gems/kcapifony/CVE-2014-5001.yml +8 -0
- data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108572.yml +7 -0
- data/data/ruby-advisory-db/gems/kelredd-pruview/{OSVDB-92228.yml → CVE-2013-1947.yml} +1 -2
- data/data/ruby-advisory-db/gems/kompanee-recipes/OSVDB-108593.yml +12 -0
- data/data/ruby-advisory-db/gems/lawn-login/CVE-2014-5000.yml +8 -0
- data/data/ruby-advisory-db/gems/ldap_fluff/CVE-2012-5604.yml +15 -0
- data/data/ruby-advisory-db/gems/ldoce/{OSVDB-91870.yml → CVE-2013-1911.yml} +1 -2
- data/data/ruby-advisory-db/gems/lean-ruport/CVE-2014-4998.yml +8 -0
- data/data/ruby-advisory-db/gems/lingq/OSVDB-108585.yml +7 -0
- data/data/ruby-advisory-db/gems/lita_coin/CVE-2019-15224.yml +18 -0
- data/data/ruby-advisory-db/gems/loofah/CVE-2018-16468.yml +16 -0
- data/data/ruby-advisory-db/gems/loofah/CVE-2018-8048.yml +11 -0
- data/data/ruby-advisory-db/gems/loofah/CVE-2019-15587.yml +13 -0
- data/data/ruby-advisory-db/gems/lynx/CVE-2014-5002.yml +11 -0
- data/data/ruby-advisory-db/gems/lynx/OSVDB-108579.yml +7 -0
- data/data/ruby-advisory-db/gems/mail/{OSVDB-70667.yml → CVE-2011-0739.yml} +1 -1
- data/data/ruby-advisory-db/gems/mail/{OSVDB-81631.yml → CVE-2012-2139.yml} +1 -1
- data/data/ruby-advisory-db/gems/mail/{OSVDB-81632.yml → CVE-2012-2140.yml} +1 -1
- data/data/ruby-advisory-db/gems/mail/CVE-2015-9097.yml +26 -0
- data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-129854.yml +25 -0
- data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-132871.yml +26 -0
- data/data/ruby-advisory-db/gems/marginalia/CVE-2019-1010191.yml +17 -0
- data/data/ruby-advisory-db/gems/matestack-ui-core/CVE-2020-5241.yml +18 -0
- data/data/ruby-advisory-db/gems/md2pdf/{OSVDB-92290.yml → CVE-2013-1948.yml} +1 -2
- data/data/ruby-advisory-db/gems/mini_magick/CVE-2013-2616.yml +15 -0
- data/data/ruby-advisory-db/gems/mini_magick/CVE-2019-13574.yml +14 -0
- data/data/ruby-advisory-db/gems/minitar/CVE-2016-10173.yml +20 -0
- data/data/ruby-advisory-db/gems/moped/CVE-2015-4410.yml +17 -0
- data/data/ruby-advisory-db/gems/multi_xml/{OSVDB-89148.yml → CVE-2013-0175.yml} +1 -1
- data/data/ruby-advisory-db/gems/mustache-js-rails/OSVDB-131671.yml +17 -0
- data/data/ruby-advisory-db/gems/mysql-binuuid-rails/CVE-2018-18476.yml +21 -0
- data/data/ruby-advisory-db/gems/net-ldap/CVE-2014-0083.yml +14 -0
- data/data/ruby-advisory-db/gems/net-ldap/CVE-2017-17718.yml +17 -0
- data/data/ruby-advisory-db/gems/netaddr/CVE-2019-17383.yml +13 -0
- data/data/ruby-advisory-db/gems/newrelic_rpm/{OSVDB-90189.yml → CVE-2013-0284.yml} +1 -1
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2012-6685.yml +15 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2013-6460.yml +18 -0
- data/data/ruby-advisory-db/gems/nokogiri/{OSVDB-101458.yml → CVE-2013-6461.yml} +1 -1
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-1819.yml +52 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-5312.yml +92 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-7499.yml +37 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-8806.yml +42 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2016-4658.yml +33 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-15412.yml +23 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-16932.yml +21 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-5029.yml +44 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-9050.yml +60 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2018-14404.yml +69 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2018-8048.yml +36 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-11068.yml +49 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-13117.yml +80 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-5477.yml +31 -0
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2020-7595.yml +20 -0
- data/data/ruby-advisory-db/gems/nokogiri/OSVDB-118481.yml +15 -0
- data/data/ruby-advisory-db/gems/nori/{OSVDB-90196.yml → CVE-2013-0285.yml} +1 -1
- data/data/ruby-advisory-db/gems/omniauth-facebook/{OSVDB-99693.yml → CVE-2013-4562.yml} +1 -1
- data/data/ruby-advisory-db/gems/omniauth-facebook/{OSVDB-99888.yml → CVE-2013-4593.yml} +1 -1
- data/data/ruby-advisory-db/gems/omniauth-oauth2/{OSVDB-90264.yml → CVE-2012-6134.yml} +1 -1
- data/data/ruby-advisory-db/gems/omniauth-saml/CVE-2017-11430.yml +17 -0
- data/data/ruby-advisory-db/gems/omniauth/CVE-2015-9284.yml +25 -0
- data/data/ruby-advisory-db/gems/omniauth/CVE-2017-18076.yml +18 -0
- data/data/ruby-advisory-db/gems/omniauth_amazon/CVE-2019-15224.yml +19 -0
- data/data/ruby-advisory-db/gems/open-uri-cached/OSVDB-121701.yml +13 -0
- data/data/ruby-advisory-db/gems/openssl/CVE-2016-7798.yml +16 -0
- data/data/ruby-advisory-db/gems/ox/CVE-2017-15928.yml +16 -0
- data/data/ruby-advisory-db/gems/ox/CVE-2017-16229.yml +16 -0
- data/data/ruby-advisory-db/gems/padrino-contrib/CVE-2019-16145.yml +11 -0
- data/data/ruby-advisory-db/gems/paperclip/CVE-2015-2963.yml +16 -0
- data/data/ruby-advisory-db/gems/paperclip/CVE-2017-0889.yml +23 -0
- data/data/ruby-advisory-db/gems/paranoid2/CVE-2019-13589.yml +16 -0
- data/data/ruby-advisory-db/gems/paratrooper-newrelic/CVE-2014-1234.yml +13 -0
- data/data/ruby-advisory-db/gems/paratrooper-pingdom/CVE-2014-1233.yml +13 -0
- data/data/ruby-advisory-db/gems/passenger/CVE-2013-2119.yml +15 -0
- data/data/ruby-advisory-db/gems/passenger/CVE-2013-4136.yml +14 -0
- data/data/ruby-advisory-db/gems/passenger/CVE-2014-1831.yml +13 -0
- data/data/ruby-advisory-db/gems/passenger/CVE-2014-1832.yml +13 -0
- data/data/ruby-advisory-db/gems/passenger/CVE-2015-7519.yml +17 -0
- data/data/ruby-advisory-db/gems/passenger/CVE-2016-10345.yml +17 -0
- data/data/ruby-advisory-db/gems/passenger/OSVDB-90738.yml +16 -0
- data/data/ruby-advisory-db/gems/pdfkit/{OSVDB-90867.yml → CVE-2013-1607.yml} +1 -1
- data/data/ruby-advisory-db/gems/point-cli/CVE-2014-4997.yml +8 -0
- data/data/ruby-advisory-db/gems/private_address_check/CVE-2017-0904.yml +17 -0
- data/data/ruby-advisory-db/gems/private_address_check/CVE-2017-0909.yml +15 -0
- data/data/ruby-advisory-db/gems/private_address_check/CVE-2018-3759.yml +14 -0
- data/data/ruby-advisory-db/gems/puma/CVE-2019-16770.yml +21 -0
- data/data/ruby-advisory-db/gems/puma/CVE-2020-11076.yml +22 -0
- data/data/ruby-advisory-db/gems/puma/CVE-2020-11077.yml +31 -0
- data/data/ruby-advisory-db/gems/puma/CVE-2020-5247.yml +25 -0
- data/data/ruby-advisory-db/gems/puma/CVE-2020-5249.yml +36 -0
- data/data/ruby-advisory-db/gems/quick_magick/OSVDB-106954.yml +7 -0
- data/data/ruby-advisory-db/gems/rack-attack/OSVDB-132234.yml +26 -0
- data/data/ruby-advisory-db/gems/rack-cache/{OSVDB-83077.yml → CVE-2012-2671.yml} +1 -1
- data/data/ruby-advisory-db/gems/rack-cors/CVE-2017-11173.yml +21 -0
- data/data/ruby-advisory-db/gems/rack-cors/CVE-2019-18978.yml +13 -0
- data/data/ruby-advisory-db/gems/rack-mini-profiler/CVE-2016-4442.yml +17 -0
- data/data/ruby-advisory-db/gems/rack-protection/CVE-2018-1000119.yml +18 -0
- data/data/ruby-advisory-db/gems/rack-protection/CVE-2018-7212.yml +12 -0
- data/data/ruby-advisory-db/gems/rack-ssl/CVE-2014-2538.yml +11 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2011-5036.yml +21 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2012-6109.yml +21 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2013-0183.yml +19 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2013-0184.yml +20 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2013-0262.yml +18 -0
- data/data/ruby-advisory-db/gems/rack/{OSVDB-89939.yml → CVE-2013-0263.yml} +10 -10
- data/data/ruby-advisory-db/gems/rack/CVE-2015-3225.yml +18 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2018-16470.yml +56 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2018-16471.yml +80 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2019-16782.yml +32 -0
- data/data/ruby-advisory-db/gems/rack/CVE-2020-8161.yml +32 -0
- data/data/ruby-advisory-db/gems/radiant/CVE-2018-5216.yml +12 -0
- data/data/ruby-advisory-db/gems/radiant/CVE-2018-7261.yml +13 -0
- data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7578.yml +47 -0
- data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7579.yml +75 -0
- data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7580.yml +70 -0
- data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2018-3741.yml +20 -0
- data/data/ruby-advisory-db/gems/rails_admin/CVE-2016-10522.yml +21 -0
- data/data/ruby-advisory-db/gems/rails_admin/CVE-2017-12098.yml +22 -0
- data/data/ruby-advisory-db/gems/railties/CVE-2019-5420.yml +49 -0
- data/data/ruby-advisory-db/gems/rake/CVE-2020-8130.yml +18 -0
- data/data/ruby-advisory-db/gems/rbovirt/{OSVDB-104080.yml → CVE-2014-0036.yml} +2 -2
- data/data/ruby-advisory-db/gems/rdoc/{OSVDB-90004.yml → CVE-2013-0256.yml} +1 -1
- data/data/ruby-advisory-db/gems/recurly/CVE-2017-0905.yml +35 -0
- data/data/ruby-advisory-db/gems/redcarpet/CVE-2015-5147.yml +17 -0
- data/data/ruby-advisory-db/gems/redcarpet/OSVDB-120415.yml +16 -0
- data/data/ruby-advisory-db/gems/redis-namespace/OSVDB-96425.yml +4 -5
- data/data/ruby-advisory-db/gems/redis-store/CVE-2017-1000248.yml +17 -0
- data/data/ruby-advisory-db/gems/refile/OSVDB-120857.yml +16 -0
- data/data/ruby-advisory-db/gems/rest-client/CVE-2015-1820.yml +23 -0
- data/data/ruby-advisory-db/gems/rest-client/CVE-2015-3448.yml +15 -0
- data/data/ruby-advisory-db/gems/rest-client/CVE-2019-15224.yml +13 -0
- data/data/ruby-advisory-db/gems/restforce/CVE-2018-3777.yml +36 -0
- data/data/ruby-advisory-db/gems/rexical/CVE-2019-5477.yml +21 -0
- data/data/ruby-advisory-db/gems/rgpg/CVE-2013-4203.yml +15 -0
- data/data/ruby-advisory-db/gems/rubocop/CVE-2017-8418.yml +20 -0
- data/data/ruby-advisory-db/gems/ruby-openid/CVE-2019-11027.yml +16 -0
- data/data/ruby-advisory-db/gems/ruby-saml/CVE-2016-5697.yml +20 -0
- data/data/ruby-advisory-db/gems/ruby-saml/CVE-2017-11428.yml +27 -0
- data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-117903.yml +13 -0
- data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124383.yml +11 -0
- data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124991.yml +13 -0
- data/data/ruby-advisory-db/gems/ruby_parser-legacy/CVE-2019-18409.yml +16 -0
- data/data/ruby-advisory-db/gems/ruby_parser/{OSVDB-90561.yml → CVE-2013-0162.yml} +1 -1
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2007-0469.yml +18 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2012-2125.yml +17 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2012-2126.yml +15 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2013-4287.yml +20 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2013-4363.yml +21 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2015-3900.yml +20 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2015-4020.yml +20 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0899.yml +16 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0900.yml +16 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0901.yml +16 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0902.yml +16 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0903.yml +17 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8320.yml +21 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8321.yml +16 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8322.yml +16 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8323.yml +17 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8324.yml +18 -0
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8325.yml +16 -0
- data/data/ruby-advisory-db/gems/rubyzip/CVE-2017-5946.yml +17 -0
- data/data/ruby-advisory-db/gems/rubyzip/CVE-2018-1000544.yml +19 -0
- data/data/ruby-advisory-db/gems/rubyzip/CVE-2019-16892.yml +13 -0
- data/data/ruby-advisory-db/gems/safemode/CVE-2016-3693.yml +13 -0
- data/data/ruby-advisory-db/gems/safemode/CVE-2017-7540.yml +16 -0
- data/data/ruby-advisory-db/gems/samlr/CVE-2018-20857.yml +16 -0
- data/data/ruby-advisory-db/gems/sanitize/CVE-2018-3740.yml +22 -0
- data/data/ruby-advisory-db/gems/screen_capture/OSVDB-107783.yml +7 -0
- data/data/ruby-advisory-db/gems/secure_headers/CVE-2020-5216.yml +52 -0
- data/data/ruby-advisory-db/gems/secure_headers/CVE-2020-5217.yml +42 -0
- data/data/ruby-advisory-db/gems/sentry-raven/CVE-2014-9490.yml +14 -0
- data/data/ruby-advisory-db/gems/sfpagent/CVE-2014-2888.yml +15 -0
- data/data/ruby-advisory-db/gems/show_in_browser/CVE-2013-2105.yml +8 -0
- data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126329.yml +12 -0
- data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126330.yml +10 -0
- data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126331.yml +14 -0
- data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125675.yml +9 -0
- data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125676.yml +14 -0
- data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125678.yml +9 -0
- data/data/ruby-advisory-db/gems/simple_captcha2/CVE-2019-14282.yml +13 -0
- data/data/ruby-advisory-db/gems/simple_form/CVE-2019-16676.yml +15 -0
- data/data/ruby-advisory-db/gems/sinatra/CVE-2018-11627.yml +16 -0
- data/data/ruby-advisory-db/gems/sinatra/CVE-2018-7212.yml +19 -0
- data/data/ruby-advisory-db/gems/slanger/CVE-2019-1010306.yml +16 -0
- data/data/ruby-advisory-db/gems/smart_proxy_dynflow/CVE-2018-14643.yml +18 -0
- data/data/ruby-advisory-db/gems/sorcery/CVE-2020-11052.yml +27 -0
- data/data/ruby-advisory-db/gems/sounder/{OSVDB-96278.yml → CVE-2013-5647.yml} +6 -5
- data/data/ruby-advisory-db/gems/spina/CVE-2015-4619.yml +16 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-119205.yml +18 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-125699.yml +18 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-125701.yml +17 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-125712.yml +16 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-125713.yml +15 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-69098.yml +19 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-73751.yml +11 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-76011.yml +15 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-81505.yml +14 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-81506.yml +16 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-90865.yml +20 -0
- data/data/ruby-advisory-db/gems/spree/OSVDB-91216.yml +9 -3
- data/data/ruby-advisory-db/gems/spree/OSVDB-91217.yml +9 -3
- data/data/ruby-advisory-db/gems/spree/OSVDB-91218.yml +9 -3
- data/data/ruby-advisory-db/gems/spree/OSVDB-91219.yml +9 -3
- data/data/ruby-advisory-db/gems/spree_auth/OSVDB-90865.yml +16 -0
- data/data/ruby-advisory-db/gems/spree_auth_devise/OSVDB-90865.yml +20 -0
- data/data/ruby-advisory-db/gems/sprockets/CVE-2014-7819.yml +27 -0
- data/data/ruby-advisory-db/gems/sprockets/CVE-2018-3760.yml +23 -0
- data/data/ruby-advisory-db/gems/sprout/CVE-2013-6421.yml +16 -0
- data/data/ruby-advisory-db/gems/strong_password/CVE-2019-13354.yml +19 -0
- data/data/ruby-advisory-db/gems/sup/CVE-2013-4478.yml +14 -0
- data/data/ruby-advisory-db/gems/sup/CVE-2013-4479.yml +14 -0
- data/data/ruby-advisory-db/gems/thumbshooter/{OSVDB-91839.yml → CVE-2013-1898.yml} +1 -2
- data/data/ruby-advisory-db/gems/twitter-bootstrap-rails/OSVDB-109206.yml +22 -0
- data/data/ruby-advisory-db/gems/uglifier/OSVDB-126747.yml +19 -0
- data/data/ruby-advisory-db/gems/user_agent_parser/CVE-2020-5243.yml +28 -0
- data/data/ruby-advisory-db/gems/web-console/CVE-2015-3224.yml +22 -0
- data/data/ruby-advisory-db/gems/web-console/OSVDB-112346.yml +12 -0
- data/data/ruby-advisory-db/gems/webbynode/CVE-2013-7086.yml +12 -0
- data/data/ruby-advisory-db/gems/websocket-extensions/CVE-2020-7663.yml +35 -0
- data/data/ruby-advisory-db/gems/wicked/{OSVDB-98270.yml → CVE-2013-4413.yml} +3 -3
- data/data/ruby-advisory-db/gems/will_paginate/{OSVDB-101138.yml → CVE-2013-6459.yml} +1 -1
- data/data/ruby-advisory-db/gems/xaviershay-dm-rails/CVE-2015-2179.yml +13 -0
- data/data/ruby-advisory-db/gems/yajl-ruby/CVE-2017-16516.yml +19 -0
- data/data/ruby-advisory-db/gems/yard/CVE-2017-17042.yml +16 -0
- data/data/ruby-advisory-db/gems/yard/CVE-2019-1020001.yml +17 -0
- data/data/ruby-advisory-db/gems/yard/GHSA-xfhh-rx56-rxcr.yml +12 -0
- data/data/ruby-advisory-db/lib/cf_scrape.py +5 -0
- data/data/ruby-advisory-db/lib/github_advisory_sync.rb +296 -0
- data/data/ruby-advisory-db/libraries/rubygems +1 -0
- data/data/ruby-advisory-db/rubies/jruby/CVE-2010-1330.yml +17 -0
- data/data/ruby-advisory-db/rubies/jruby/CVE-2011-4838.yml +15 -0
- data/data/ruby-advisory-db/rubies/jruby/CVE-2012-5370.yml +17 -0
- data/data/ruby-advisory-db/rubies/jruby/OSVDB-94644.yml +12 -0
- data/data/ruby-advisory-db/rubies/rbx/CVE-2012-5372.yml +17 -0
- data/data/ruby-advisory-db/rubies/rbx/OSVDB-78119.yml +13 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5162.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5770.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1447.yml +15 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1891.yml +21 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2376.yml +18 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2662.yml +22 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2663.yml +21 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2664.yml +21 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2725.yml +22 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2726.yml +18 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3443.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3655.yml +18 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3656.yml +19 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3657.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3790.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3905.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-0642.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-1904.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-4124.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-4492.yml +20 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-5147.yml +13 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2010-0541.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2010-2489.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-0188.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-1004.yml +20 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-1005.yml +15 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2686.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2705.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-3009.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-3389.yml +18 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-4815.yml +14 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4464.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4466.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4481.yml +15 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4522.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-5371.yml +18 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-1821.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-2065.yml +19 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-4073.yml +21 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-4164.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-2525.yml +20 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-3916.yml +16 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-4975.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-8080.yml +19 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-8090.yml +22 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2015-1855.yml +17 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2015-7551.yml +19 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2015-9096.yml +20 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-0898.yml +19 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-10784.yml +25 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-14033.yml +22 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-14064.yml +20 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-17405.yml +22 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-17742.yml +22 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-16395.yml +36 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-16396.yml +26 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-6914.yml +27 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8777.yml +21 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8778.yml +20 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8779.yml +28 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8780.yml +22 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-15845.yml +18 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16201.yml +15 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16254.yml +19 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16255.yml +20 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2020-10663.yml +29 -0
- data/data/ruby-advisory-db/rubies/ruby/CVE-2020-10933.yml +25 -0
- data/data/ruby-advisory-db/scripts/post-advisories.sh +18 -0
- data/data/ruby-advisory-db/spec/advisories_spec.rb +23 -0
- data/data/ruby-advisory-db/spec/advisory_example.rb +103 -40
- data/data/ruby-advisory-db/spec/gem_example.rb +44 -0
- data/data/ruby-advisory-db/spec/library_example.rb +21 -0
- data/data/ruby-advisory-db/spec/ruby_example.rb +29 -0
- data/data/ruby-advisory-db/spec/schemas/gem.yml +71 -0
- data/data/ruby-advisory-db/spec/schemas/ruby.yml +36 -0
- data/data/ruby-advisory-db/spec/spec_helper.rb +1 -0
- data/gemspec.yml +3 -3
- data/lib/bundler/audit.rb +1 -1
- data/lib/bundler/audit/advisory.rb +67 -7
- data/lib/bundler/audit/cli.rb +36 -11
- data/lib/bundler/audit/database.rb +29 -7
- data/lib/bundler/audit/scanner.rb +31 -13
- data/lib/bundler/audit/task.rb +31 -0
- data/lib/bundler/audit/version.rb +2 -2
- data/spec/advisory_spec.rb +178 -28
- 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/cli_spec.rb +126 -0
- data/spec/database_spec.rb +41 -15
- data/spec/integration_spec.rb +30 -8
- data/spec/scanner_spec.rb +4 -3
- data/spec/spec_helper.rb +2 -13
- metadata +550 -86
- data/data/ruby-advisory-db/gems/curl/OSVDB-91230.yml +0 -12
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml +0 -19
- data/data/ruby-advisory-db/gems/echor/OSVDB-102129.yml +0 -11
- data/data/ruby-advisory-db/gems/echor/OSVDB-102130.yml +0 -10
- data/data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml +0 -12
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-96798.yml +0 -13
- data/data/ruby-advisory-db/gems/json/OSVDB-90074.yml +0 -23
- data/data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml +0 -15
- data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101179.yml +0 -12
- data/data/ruby-advisory-db/gems/paratrooper-newrelic/OSVDB-101839.yml +0 -12
- data/data/ruby-advisory-db/gems/paratrooper-pingdom/OSVDB-101847.yml +0 -13
- data/data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml +0 -14
- data/data/ruby-advisory-db/gems/sfpagent/OSVDB-105971.yml +0 -13
- data/data/ruby-advisory-db/gems/sprout/OSVDB-100598.yml +0 -14
- data/data/ruby-advisory-db/gems/webbynode/OSVDB-100920.yml +0 -11
- data/data/ruby-advisory-db/lib/scrape.rb +0 -87
- data/data/ruby-advisory-db/spec/gems_spec.rb +0 -7
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
engine: ruby
|
3
|
+
cve: 2019-15845
|
4
|
+
url: https://www.ruby-lang.org/en/news/2019/10/01/nul-injection-file-fnmatch-cve-2019-15845/
|
5
|
+
title: A NUL injection vulnerability of File.fnmatch and File.fnmatch?
|
6
|
+
date: 2019-10-01
|
7
|
+
description: |
|
8
|
+
Built-in methods File.fnmatch and its alias File.fnmatch? accept the path
|
9
|
+
pattern as their first parameter. When the pattern contains NUL character
|
10
|
+
(\0), the methods recognize that the path pattern ends immediately before the
|
11
|
+
NUL byte. Therefore, a script that uses an external input as the pattern
|
12
|
+
argument, an attacker can make it wrongly match a pathname that is the second
|
13
|
+
parameter.
|
14
|
+
patched_versions:
|
15
|
+
- "~> 2.4.8"
|
16
|
+
- "~> 2.5.7"
|
17
|
+
- "~> 2.6.5"
|
18
|
+
- "> 2.7.0-preview1"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
engine: ruby
|
3
|
+
cve: 2019-16201
|
4
|
+
url: https://www.ruby-lang.org/en/news/2019/10/01/webrick-regexp-digestauth-dos-cve-2019-16201/
|
5
|
+
title: Regular Expression Denial of Service vulnerability of WEBrick's Digest access authentication
|
6
|
+
date: 2019-10-01
|
7
|
+
description: |
|
8
|
+
Regular expression denial of service vulnerability of WEBrick’s Digest
|
9
|
+
authentication module was found. An attacker can exploit this vulnerability
|
10
|
+
to cause an effective denial of service against a WEBrick service.
|
11
|
+
patched_versions:
|
12
|
+
- "~> 2.4.8"
|
13
|
+
- "~> 2.5.7"
|
14
|
+
- "~> 2.6.5"
|
15
|
+
- "> 2.7.0-preview1"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
engine: ruby
|
3
|
+
cve: 2019-16254
|
4
|
+
url: https://www.ruby-lang.org/en/news/2019/10/01/http-response-splitting-in-webrick-cve-2019-16254/
|
5
|
+
title: HTTP response splitting in WEBrick (Additional fix)
|
6
|
+
date: 2019-10-01
|
7
|
+
description: |
|
8
|
+
If a program using WEBrick inserts untrusted input into the response header,
|
9
|
+
an attacker can exploit it to insert a newline character to split a header,
|
10
|
+
and inject malicious content to deceive clients.
|
11
|
+
|
12
|
+
This is the same issue as CVE-2017-17742. The previous fix was incomplete,
|
13
|
+
which addressed the CRLF vector, but did not address an isolated CR or an
|
14
|
+
isolated LF.
|
15
|
+
patched_versions:
|
16
|
+
- "~> 2.4.8"
|
17
|
+
- "~> 2.5.7"
|
18
|
+
- "~> 2.6.5"
|
19
|
+
- "> 2.7.0-preview1"
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
engine: ruby
|
3
|
+
cve: 2019-16255
|
4
|
+
url: https://www.ruby-lang.org/en/news/2019/10/01/code-injection-shell-test-cve-2019-16255/
|
5
|
+
title: A code injection vulnerability of Shell#[] and Shell#test
|
6
|
+
date: 2019-10-01
|
7
|
+
description: |
|
8
|
+
Shell#[] and its alias Shell#test defined in lib/shell.rb allow code
|
9
|
+
injection if the first argument (aka the “command” argument) is untrusted
|
10
|
+
data. An attacker can exploit this to call an arbitrary Ruby method.
|
11
|
+
|
12
|
+
Note that passing untrusted data to methods of Shell is dangerous in general.
|
13
|
+
Users must never do it. However, we treat this particular case as a
|
14
|
+
vulnerability because the purpose of Shell#[] and Shell#[] is considered file
|
15
|
+
testing.
|
16
|
+
patched_versions:
|
17
|
+
- "~> 2.4.8"
|
18
|
+
- "~> 2.5.7"
|
19
|
+
- "~> 2.6.5"
|
20
|
+
- "> 2.7.0-preview1"
|
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
engine: ruby
|
3
|
+
cve: 2020-10663
|
4
|
+
url: https://www.ruby-lang.org/en/news/2020/03/19/json-dos-cve-2020-10663/
|
5
|
+
title: Unsafe Object Creation Vulnerability in JSON (Additional fix)
|
6
|
+
date: 2020-03-19
|
7
|
+
description: |
|
8
|
+
When parsing certain JSON documents, the json gem (including the one bundled
|
9
|
+
with Ruby) can be coerced into creating arbitrary objects in the target
|
10
|
+
system.
|
11
|
+
|
12
|
+
This is the same issue as CVE-2013-0269. The previous fix was incomplete, which
|
13
|
+
addressed `JSON.parse(user_input)`, but didn’t address some other styles of JSON
|
14
|
+
parsing including `JSON(user_input)` and `JSON.parse(user_input, nil)`.
|
15
|
+
|
16
|
+
See CVE-2013-0269 in detail. Note that the issue was exploitable to cause a
|
17
|
+
Denial of Service by creating many garbage-uncollectable Symbol objects, but
|
18
|
+
this kind of attack is no longer valid because Symbol objects are now
|
19
|
+
garbage-collectable. However, creating arbitrary objects may cause severe
|
20
|
+
security consequences depending upon the application code.
|
21
|
+
|
22
|
+
Please update the json gem to version 2.3.0 or later. You can use `gem update
|
23
|
+
json` to update it. If you are using bundler, please add `gem "json", ">= 2.3.0"`
|
24
|
+
to your Gemfile
|
25
|
+
patched_versions:
|
26
|
+
- "~> 2.4.10"
|
27
|
+
- "~> 2.5.8"
|
28
|
+
- "~> 2.6.6"
|
29
|
+
- ">= 2.7.1"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
engine: ruby
|
3
|
+
cve: 2020-10933
|
4
|
+
url: https://www.ruby-lang.org/en/news/2020/03/31/heap-exposure-in-socket-cve-2020-10933/
|
5
|
+
title: Heap exposure vulnerability in the socket library
|
6
|
+
date: 2020-03-31
|
7
|
+
description: |
|
8
|
+
A heap exposure vulnerability was discovered in the socket library. This
|
9
|
+
vulnerability has been assigned the CVE identifier CVE-2020-10933. We
|
10
|
+
strongly recommend upgrading Ruby.
|
11
|
+
|
12
|
+
When `BasicSocket#recv_nonblock` and `BasicSocket#read_nonblock` are invoked with
|
13
|
+
size and buffer arguments, they initially resize the buffer to the specified
|
14
|
+
size. In cases where the operation would block, they return without copying
|
15
|
+
any data. Thus, the buffer string will now include arbitrary data from the
|
16
|
+
heap. This may expose possibly sensitive data from the interpreter.
|
17
|
+
|
18
|
+
This issue is exploitable only on Linux. This issue had been since Ruby
|
19
|
+
2.5.0; 2.4 series is not vulnerable.
|
20
|
+
patched_versions:
|
21
|
+
- "~> 2.5.8"
|
22
|
+
- "~> 2.6.6"
|
23
|
+
- ">= 2.7.1"
|
24
|
+
unaffected_versions:
|
25
|
+
- "~> 2.4.0"
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
set -o errexit -o nounset
|
4
|
+
|
5
|
+
REPO="https://${GH_TOKEN}@github.com/rubysec/rubysec.github.io.git"
|
6
|
+
DIR="_site"
|
7
|
+
|
8
|
+
git clone $REPO $DIR
|
9
|
+
|
10
|
+
cd $DIR
|
11
|
+
|
12
|
+
git config user.name "RubySec CI"
|
13
|
+
git config user.email "ci@rubysec.com"
|
14
|
+
|
15
|
+
bundle install --jobs=3 --retry=3
|
16
|
+
bundle exec rake advisories
|
17
|
+
|
18
|
+
git push -q
|
@@ -0,0 +1,23 @@
|
|
1
|
+
load File.join(File.dirname(__FILE__), 'spec_helper.rb')
|
2
|
+
require 'gem_example'
|
3
|
+
require 'library_example'
|
4
|
+
require 'ruby_example'
|
5
|
+
|
6
|
+
describe "gems" do
|
7
|
+
Dir.glob(File.join(File.dirname(__FILE__), '../gems/*/*')) do |path|
|
8
|
+
include_examples 'Gem Advisory', path
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "libraries" do
|
13
|
+
Dir.glob(File.join(File.dirname(__FILE__), '../libraries/*/*')) do |path|
|
14
|
+
include_examples 'Libraries Advisory', path
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "rubies" do
|
19
|
+
Dir.glob(File.join(File.dirname(__FILE__), '../rubies/*/*')) do |path|
|
20
|
+
include_examples 'Rubies Advisory', path
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
@@ -5,38 +5,40 @@ shared_examples_for 'Advisory' do |path|
|
|
5
5
|
advisory = YAML.load_file(path)
|
6
6
|
|
7
7
|
describe path do
|
8
|
-
let(:
|
8
|
+
let(:filename) { File.basename(path) }
|
9
|
+
|
9
10
|
let(:filename_cve) do
|
10
|
-
if
|
11
|
-
|
12
|
-
else
|
13
|
-
nil
|
11
|
+
if filename.start_with?('CVE-')
|
12
|
+
filename.gsub('CVE-','')
|
14
13
|
end
|
15
14
|
end
|
15
|
+
|
16
16
|
let(:filename_osvdb) do
|
17
|
-
if
|
18
|
-
|
19
|
-
else
|
20
|
-
nil
|
17
|
+
if filename.start_with?('OSVDB-')
|
18
|
+
filename.gsub('OSVDB-','')
|
21
19
|
end
|
22
20
|
end
|
23
|
-
|
24
|
-
|
25
|
-
(
|
21
|
+
|
22
|
+
let(:filename_ghsa) do
|
23
|
+
if filename.start_with?('GHSA-')
|
24
|
+
filename.gsub('GHSA-','')
|
25
|
+
end
|
26
26
|
end
|
27
27
|
|
28
|
-
|
29
|
-
|
28
|
+
it "should be correctly named CVE-XXX or OSVDB-XXX or GHSA-XXX" do
|
29
|
+
expect(filename).
|
30
|
+
to match(/^(CVE-\d{4}-(0\d{3}|[1-9]\d{3,})|OSVDB-\d+|GHSA(-[a-z0-9]{4}){3})\.yml$/)
|
31
|
+
end
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
+
it "should have CVE or OSVDB or GHSA" do
|
34
|
+
expect(advisory['cve'] || advisory['osvdb'] || advisory['ghsa']).not_to be_nil
|
33
35
|
end
|
34
36
|
|
35
37
|
describe "framework" do
|
36
38
|
subject { advisory['framework'] }
|
37
39
|
|
38
40
|
it "may be nil or a String" do
|
39
|
-
|
41
|
+
expect(subject).to be_kind_of(String).or(be_nil)
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -44,7 +46,7 @@ shared_examples_for 'Advisory' do |path|
|
|
44
46
|
subject { advisory['platform'] }
|
45
47
|
|
46
48
|
it "may be nil or a String" do
|
47
|
-
|
49
|
+
expect(subject).to be_kind_of(String).or(be_nil)
|
48
50
|
end
|
49
51
|
end
|
50
52
|
|
@@ -52,23 +54,38 @@ shared_examples_for 'Advisory' do |path|
|
|
52
54
|
subject { advisory['cve'] }
|
53
55
|
|
54
56
|
it "may be nil or a String" do
|
55
|
-
|
57
|
+
expect(subject).to be_kind_of(String).or(be_nil)
|
56
58
|
end
|
57
59
|
it "should be id in filename if filename is CVE-XXX" do
|
58
60
|
if filename_cve
|
59
|
-
|
61
|
+
is_expected.to eq(filename_cve.chomp('.yml'))
|
60
62
|
end
|
61
63
|
end
|
62
64
|
end
|
63
65
|
|
64
66
|
describe "osvdb" do
|
65
67
|
subject { advisory['osvdb'] }
|
66
|
-
|
67
|
-
|
68
|
+
|
69
|
+
it "may be nil or a Integer" do
|
70
|
+
expect(subject).to be_kind_of(Integer).or(be_nil)
|
68
71
|
end
|
72
|
+
|
69
73
|
it "should be id in filename if filename is OSVDB-XXX" do
|
70
74
|
if filename_osvdb
|
71
|
-
|
75
|
+
is_expected.to eq(filename_osvdb.to_i)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe "ghsa" do
|
81
|
+
subject { advisory['ghsa'] }
|
82
|
+
|
83
|
+
it "may be nil or a String" do
|
84
|
+
expect(subject).to be_kind_of(String).or(be_nil)
|
85
|
+
end
|
86
|
+
it "should be id in filename if filename is GHSA-XXX" do
|
87
|
+
if filename_ghsa
|
88
|
+
is_expected.to eq(filename_ghsa.chomp('.yml'))
|
72
89
|
end
|
73
90
|
end
|
74
91
|
end
|
@@ -76,41 +93,62 @@ shared_examples_for 'Advisory' do |path|
|
|
76
93
|
describe "url" do
|
77
94
|
subject { advisory['url'] }
|
78
95
|
|
79
|
-
it {
|
80
|
-
it {
|
96
|
+
it { is_expected.to be_kind_of(String) }
|
97
|
+
it { is_expected.not_to be_empty }
|
81
98
|
end
|
82
99
|
|
83
100
|
describe "title" do
|
84
101
|
subject { advisory['title'] }
|
85
102
|
|
86
|
-
it {
|
87
|
-
it {
|
103
|
+
it { is_expected.to be_kind_of(String) }
|
104
|
+
it { is_expected.not_to be_empty }
|
88
105
|
end
|
89
106
|
|
90
107
|
describe "date" do
|
91
108
|
subject { advisory['date'] }
|
92
109
|
|
93
|
-
it {
|
110
|
+
it { is_expected.to be_kind_of(Date) }
|
94
111
|
end
|
95
112
|
|
96
113
|
describe "description" do
|
97
114
|
subject { advisory['description'] }
|
98
115
|
|
99
|
-
it {
|
100
|
-
it {
|
116
|
+
it { is_expected.to be_kind_of(String) }
|
117
|
+
it { is_expected.not_to be_empty }
|
101
118
|
end
|
102
119
|
|
103
120
|
describe "cvss_v2" do
|
104
121
|
subject { advisory['cvss_v2'] }
|
105
122
|
|
106
123
|
it "may be nil or a Float" do
|
107
|
-
|
124
|
+
expect(subject).to be_kind_of(Float).or(be_nil)
|
108
125
|
end
|
109
126
|
|
110
127
|
case advisory['cvss_v2']
|
111
128
|
when Float
|
112
129
|
context "when a Float" do
|
113
|
-
it { ((0.0)..(10.0)).
|
130
|
+
it { expect((0.0)..(10.0)).to include(subject) }
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
describe "cvss_v3" do
|
136
|
+
subject { advisory['cvss_v3'] }
|
137
|
+
|
138
|
+
it "may be nil or a Float" do
|
139
|
+
expect(subject).to be_kind_of(Float).or(be_nil)
|
140
|
+
end
|
141
|
+
|
142
|
+
case advisory['cvss_v3']
|
143
|
+
when Float
|
144
|
+
context "when a Float" do
|
145
|
+
it { expect((0.0)..(10.0)).to include(subject) }
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
if advisory['cvss_v2']
|
150
|
+
it "should also provide a cvss_v2 score" do
|
151
|
+
expect(advisory['cvss_v2']).to_not be_nil
|
114
152
|
end
|
115
153
|
end
|
116
154
|
end
|
@@ -119,7 +157,7 @@ shared_examples_for 'Advisory' do |path|
|
|
119
157
|
subject { advisory['patched_versions'] }
|
120
158
|
|
121
159
|
it "may be nil or an Array" do
|
122
|
-
|
160
|
+
expect(subject).to be_kind_of(Array).or(be_nil)
|
123
161
|
end
|
124
162
|
|
125
163
|
describe "each patched version" do
|
@@ -127,11 +165,11 @@ shared_examples_for 'Advisory' do |path|
|
|
127
165
|
advisory['patched_versions'].each do |version|
|
128
166
|
describe version do
|
129
167
|
subject { version.split(', ') }
|
130
|
-
|
168
|
+
|
131
169
|
it "should contain valid RubyGem version requirements" do
|
132
|
-
|
170
|
+
expect {
|
133
171
|
Gem::Requirement.new(*subject)
|
134
|
-
}.
|
172
|
+
}.not_to raise_error
|
135
173
|
end
|
136
174
|
end
|
137
175
|
end
|
@@ -143,7 +181,7 @@ shared_examples_for 'Advisory' do |path|
|
|
143
181
|
subject { advisory['unaffected_versions'] }
|
144
182
|
|
145
183
|
it "may be nil or an Array" do
|
146
|
-
|
184
|
+
expect(subject).to be_kind_of(Array).or(be_nil)
|
147
185
|
end
|
148
186
|
|
149
187
|
case advisory['unaffected_versions']
|
@@ -151,15 +189,40 @@ shared_examples_for 'Advisory' do |path|
|
|
151
189
|
advisory['unaffected_versions'].each do |version|
|
152
190
|
describe version do
|
153
191
|
subject { version.split(', ') }
|
154
|
-
|
192
|
+
|
155
193
|
it "should contain valid RubyGem version requirements" do
|
156
|
-
|
194
|
+
expect {
|
157
195
|
Gem::Requirement.new(*subject)
|
158
|
-
}.
|
196
|
+
}.not_to raise_error
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
describe "related" do
|
204
|
+
subject { advisory['related'] }
|
205
|
+
|
206
|
+
it "may be nil or a Hash" do
|
207
|
+
expect(subject).to be_kind_of(Hash).or(be_nil)
|
208
|
+
end
|
209
|
+
|
210
|
+
case advisory["related"]
|
211
|
+
when Hash
|
212
|
+
advisory["related"].each_pair do |name, values|
|
213
|
+
describe name do
|
214
|
+
it "should be either a cve, an osvdb, a ghsa, or a url" do
|
215
|
+
expect(["cve", "osvdb", "ghsa", "url"]).to include(name)
|
216
|
+
end
|
217
|
+
|
218
|
+
it "should always contain an array" do
|
219
|
+
expect(values).to be_kind_of(Array)
|
159
220
|
end
|
160
221
|
end
|
161
222
|
end
|
162
223
|
end
|
163
224
|
end
|
225
|
+
|
226
|
+
|
164
227
|
end
|
165
228
|
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
load File.join(File.dirname(__FILE__), 'spec_helper.rb')
|
2
|
+
require 'advisory_example'
|
3
|
+
|
4
|
+
shared_examples_for "Gem Advisory" do |path|
|
5
|
+
include_examples 'Advisory', path
|
6
|
+
|
7
|
+
advisory = YAML.load_file(path)
|
8
|
+
|
9
|
+
describe path do
|
10
|
+
let(:gem) { File.basename(File.dirname(path)) }
|
11
|
+
|
12
|
+
describe "gem" do
|
13
|
+
subject { advisory['gem'] }
|
14
|
+
|
15
|
+
it { is_expected.to be_kind_of(String) }
|
16
|
+
it "should be equal to filename (case-insensitive)" do
|
17
|
+
expect(subject.downcase).to eq(gem.downcase)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe "versions" do
|
22
|
+
it "assumes that future versions will be patched" do
|
23
|
+
unaffected_versions = advisory['unaffected_versions'] || []
|
24
|
+
patched_versions = advisory['patched_versions'] || []
|
25
|
+
|
26
|
+
versions = (unaffected_versions + patched_versions).sort_by do |v|
|
27
|
+
Gem::Version.new(v.match(/[0-9.]+\.\d+/)[0])
|
28
|
+
end
|
29
|
+
|
30
|
+
# If a gem is unpatched this test makes no sense
|
31
|
+
unless patched_versions.none?
|
32
|
+
expect(versions.last.match(/^>=|^>/)).to be_truthy
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should have valid schema" do
|
38
|
+
schema = YAML.load_file(File.join(File.dirname(__FILE__), 'schemas/gem.yml'))
|
39
|
+
validator = Kwalify::Validator.new(schema)
|
40
|
+
errors = validator.validate(advisory)
|
41
|
+
expect(errors).to be_empty
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|