bundler-audit 0.7.0.1 → 0.9.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +3 -0
- data/.github/ISSUE_TEMPLATE/bug-report.md +44 -0
- data/.github/workflows/ruby.yml +42 -0
- data/.gitignore +1 -0
- data/.rspec +1 -1
- data/.rubocop.yml +83 -0
- data/COPYING.txt +4 -4
- data/ChangeLog.md +95 -4
- data/Gemfile +7 -3
- data/README.md +79 -17
- data/Rakefile +7 -26
- data/bundler-audit.gemspec +3 -11
- data/gemspec.yml +2 -2
- data/lib/bundler/audit/advisory.rb +36 -4
- data/lib/bundler/audit/cli/formats/json.rb +65 -0
- data/lib/bundler/audit/cli/formats/junit.rb +127 -0
- data/lib/bundler/audit/cli/formats/text.rb +122 -0
- data/lib/bundler/audit/cli/formats.rb +148 -0
- data/lib/bundler/audit/cli/thor_ext/shell/basic/say_error.rb +33 -0
- data/lib/bundler/audit/cli.rb +111 -93
- data/lib/bundler/audit/configuration.rb +108 -0
- data/lib/bundler/audit/database.rb +153 -30
- data/lib/bundler/audit/report.rb +149 -0
- data/lib/bundler/audit/results/insecure_source.rb +78 -0
- data/lib/bundler/audit/results/result.rb +21 -0
- data/lib/bundler/audit/results/unpatched_gem.rb +98 -0
- data/lib/bundler/audit/results.rb +19 -0
- data/lib/bundler/audit/scanner.rb +101 -22
- data/lib/bundler/audit/task.rb +19 -6
- data/lib/bundler/audit/version.rb +3 -3
- data/lib/bundler/audit.rb +2 -2
- data/spec/advisory_spec.rb +42 -15
- data/spec/bundle/insecure_sources/Gemfile.lock +133 -85
- data/spec/bundle/secure/Gemfile.lock +60 -57
- data/spec/bundle/unpatched_gems/Gemfile.lock +6 -72
- 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/bundle/unpatched_gems_with_dot_configuration/Gemfile.lock +31 -0
- data/spec/cli/formats/json_spec.rb +114 -0
- data/spec/cli/formats/junit_spec.rb +284 -0
- data/spec/cli/formats/text_spec.rb +273 -0
- data/spec/cli/formats_spec.rb +86 -0
- data/spec/cli_spec.rb +78 -26
- data/spec/configuration_spec.rb +78 -0
- data/spec/database_spec.rb +273 -52
- data/spec/fixtures/advisory/CVE-2020-1234.yml +21 -0
- data/spec/fixtures/{not_a_hash.yml → advisory/not_a_hash.yml} +0 -0
- data/spec/fixtures/config/bad/empty.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 +17 -0
- data/spec/fixtures/lib/bundler/audit/cli/formats/good.rb +17 -0
- data/spec/integration_spec.rb +17 -89
- 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 +90 -35
- data/spec/spec_helper.rb +42 -25
- metadata +46 -568
- data/.gitmodules +0 -3
- data/.travis.yml +0 -14
- data/data/ruby-advisory-db/.gitignore +0 -1
- data/data/ruby-advisory-db/.rspec +0 -1
- data/data/ruby-advisory-db/.travis.yml +0 -12
- data/data/ruby-advisory-db/CONTRIBUTING.md +0 -71
- data/data/ruby-advisory-db/CONTRIBUTORS.md +0 -41
- data/data/ruby-advisory-db/Gemfile +0 -11
- data/data/ruby-advisory-db/Gemfile.lock +0 -44
- data/data/ruby-advisory-db/LICENSE.txt +0 -5
- data/data/ruby-advisory-db/README.md +0 -133
- data/data/ruby-advisory-db/Rakefile +0 -22
- data/data/ruby-advisory-db/gems/Arabic-Prawn/CVE-2014-2322.yml +0 -12
- data/data/ruby-advisory-db/gems/RedCloth/CVE-2012-6684.yml +0 -21
- 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/CVE-2013-4389.yml +0 -17
- data/data/ruby-advisory-db/gems/actionpack/CVE-2012-1099.yml +0 -26
- data/data/ruby-advisory-db/gems/actionpack/CVE-2012-3424.yml +0 -28
- data/data/ruby-advisory-db/gems/actionpack/CVE-2012-3463.yml +0 -26
- data/data/ruby-advisory-db/gems/actionpack/CVE-2012-3465.yml +0 -23
- data/data/ruby-advisory-db/gems/actionpack/CVE-2013-0156.yml +0 -24
- data/data/ruby-advisory-db/gems/actionpack/CVE-2013-1855.yml +0 -20
- data/data/ruby-advisory-db/gems/actionpack/CVE-2013-1857.yml +0 -23
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-0081.yml +0 -24
- data/data/ruby-advisory-db/gems/actionpack/CVE-2014-0082.yml +0 -22
- 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 -119
- 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 -74
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0752.yml +0 -96
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2097.yml +0 -91
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2098.yml +0 -89
- data/data/ruby-advisory-db/gems/actionpack/CVE-2016-6316.yml +0 -57
- data/data/ruby-advisory-db/gems/actionpack/CVE-2020-8164.yml +0 -49
- data/data/ruby-advisory-db/gems/actionpack/CVE-2020-8166.yml +0 -31
- 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-74616.yml +0 -18
- data/data/ruby-advisory-db/gems/actionpack/OSVDB-77199.yml +0 -23
- data/data/ruby-advisory-db/gems/actionpack-page_caching/CVE-2020-8159.yml +0 -40
- data/data/ruby-advisory-db/gems/actionview/CVE-2016-0752.yml +0 -95
- data/data/ruby-advisory-db/gems/actionview/CVE-2016-2097.yml +0 -89
- data/data/ruby-advisory-db/gems/actionview/CVE-2016-6316.yml +0 -56
- data/data/ruby-advisory-db/gems/actionview/CVE-2019-5418.yml +0 -98
- data/data/ruby-advisory-db/gems/actionview/CVE-2019-5419.yml +0 -95
- data/data/ruby-advisory-db/gems/actionview/CVE-2020-5267.yml +0 -69
- data/data/ruby-advisory-db/gems/actionview/CVE-2020-8163.yml +0 -29
- data/data/ruby-advisory-db/gems/actionview/CVE-2020-8167.yml +0 -45
- data/data/ruby-advisory-db/gems/active-support/CVE-2018-3779.yml +0 -17
- data/data/ruby-advisory-db/gems/activejob/CVE-2018-16476.yml +0 -36
- data/data/ruby-advisory-db/gems/activemodel/CVE-2016-0753.yml +0 -95
- data/data/ruby-advisory-db/gems/activerecord/CVE-2012-2660.yml +0 -24
- data/data/ruby-advisory-db/gems/activerecord/CVE-2012-2661.yml +0 -25
- data/data/ruby-advisory-db/gems/activerecord/CVE-2013-0155.yml +0 -24
- data/data/ruby-advisory-db/gems/activerecord/CVE-2013-0276.yml +0 -21
- data/data/ruby-advisory-db/gems/activerecord/CVE-2013-0277.yml +0 -23
- data/data/ruby-advisory-db/gems/activerecord/CVE-2013-1854.yml +0 -26
- data/data/ruby-advisory-db/gems/activerecord/CVE-2014-0080.yml +0 -23
- data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3482.yml +0 -23
- data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3483.yml +0 -24
- 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 -110
- data/data/ruby-advisory-db/gems/activerecord/CVE-2016-6317.yml +0 -73
- data/data/ruby-advisory-db/gems/activerecord/OSVDB-88661.yml +0 -20
- 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/activeresource/CVE-2020-8151.yml +0 -48
- data/data/ruby-advisory-db/gems/activeresource/OSVDB-95749.yml +0 -15
- data/data/ruby-advisory-db/gems/activestorage/CVE-2018-16477.yml +0 -43
- data/data/ruby-advisory-db/gems/activestorage/CVE-2020-8162.yml +0 -31
- data/data/ruby-advisory-db/gems/activesupport/CVE-2012-1098.yml +0 -26
- data/data/ruby-advisory-db/gems/activesupport/CVE-2012-3464.yml +0 -23
- data/data/ruby-advisory-db/gems/activesupport/CVE-2013-0333.yml +0 -25
- data/data/ruby-advisory-db/gems/activesupport/CVE-2013-1856.yml +0 -28
- data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3226.yml +0 -55
- data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3227.yml +0 -33
- data/data/ruby-advisory-db/gems/activesupport/CVE-2020-8165.yml +0 -41
- data/data/ruby-advisory-db/gems/administrate/CVE-2016-3098.yml +0 -14
- data/data/ruby-advisory-db/gems/administrate/CVE-2020-5257.yml +0 -24
- data/data/ruby-advisory-db/gems/aescrypt/CVE-2013-7463.yml +0 -10
- data/data/ruby-advisory-db/gems/airbrake-ruby/CVE-2019-16060.yml +0 -18
- data/data/ruby-advisory-db/gems/archive-tar-minitar/CVE-2016-10173.yml +0 -16
- data/data/ruby-advisory-db/gems/as/OSVDB-112683.yml +0 -10
- data/data/ruby-advisory-db/gems/authlogic/CVE-2012-6497.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-bot/CVE-2019-15224.yml +0 -19
- data/data/ruby-advisory-db/gems/awesome_spawn/CVE-2014-0156.yml +0 -19
- data/data/ruby-advisory-db/gems/backup-agoddard/CVE-2014-4993.yml +0 -8
- data/data/ruby-advisory-db/gems/backup_checksum/CVE-2014-4993.yml +0 -12
- data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108570.yml +0 -10
- data/data/ruby-advisory-db/gems/bcrypt/OSVDB-62067.yml +0 -17
- data/data/ruby-advisory-db/gems/bcrypt-ruby/OSVDB-62067.yml +0 -19
- data/data/ruby-advisory-db/gems/bibtex-ruby/CVE-2019-10780.yml +0 -16
- data/data/ruby-advisory-db/gems/bio-basespace-sdk/CVE-2013-7111.yml +0 -8
- data/data/ruby-advisory-db/gems/bitcoin_vanity/CVE-2019-15224.yml +0 -18
- data/data/ruby-advisory-db/gems/blockchain_wallet/CVE-2019-15224.yml +0 -19
- data/data/ruby-advisory-db/gems/bootstrap/CVE-2016-10735.yml +0 -20
- data/data/ruby-advisory-db/gems/bootstrap/CVE-2018-14040.yml +0 -24
- data/data/ruby-advisory-db/gems/bootstrap/CVE-2019-8331.yml +0 -20
- data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2016-10735.yml +0 -20
- data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2019-10842.yml +0 -25
- data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2019-8331.yml +0 -20
- data/data/ruby-advisory-db/gems/brakeman/CVE-2019-18409.yml +0 -26
- data/data/ruby-advisory-db/gems/brbackup/CVE-2014-5004.yml +0 -11
- 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/bson/CVE-2015-4411.yml +0 -21
- data/data/ruby-advisory-db/gems/bson/CVE-2015-4412.yml +0 -18
- data/data/ruby-advisory-db/gems/builder/OSVDB-95668.yml +0 -13
- data/data/ruby-advisory-db/gems/bundler/CVE-2013-0334.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/cairo/CVE-2017-7475.yml +0 -15
- data/data/ruby-advisory-db/gems/cap-strap/CVE-2014-4992.yml +0 -8
- data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108575.yml +0 -7
- data/data/ruby-advisory-db/gems/capistrano-colors/CVE-2019-15224.yml +0 -19
- data/data/ruby-advisory-db/gems/chartkick/CVE-2019-12732.yml +0 -21
- data/data/ruby-advisory-db/gems/chartkick/CVE-2019-18841.yml +0 -13
- data/data/ruby-advisory-db/gems/chloride/CVE-2018-6517.yml +0 -17
- data/data/ruby-advisory-db/gems/ciborg/CVE-2014-5003.yml +0 -8
- data/data/ruby-advisory-db/gems/cocaine/CVE-2013-4457.yml +0 -15
- data/data/ruby-advisory-db/gems/codders-dataset/CVE-2014-4991.yml +0 -8
- data/data/ruby-advisory-db/gems/coin_base/CVE-2019-15224.yml +0 -18
- data/data/ruby-advisory-db/gems/colorscore/CVE-2015-7541.yml +0 -21
- data/data/ruby-advisory-db/gems/coming-soon/CVE-2019-15224.yml +0 -18
- data/data/ruby-advisory-db/gems/command_wrap/CVE-2013-1875.yml +0 -9
- data/data/ruby-advisory-db/gems/consul/CVE-2019-16377.yml +0 -15
- data/data/ruby-advisory-db/gems/crack/CVE-2013-1800.yml +0 -17
- data/data/ruby-advisory-db/gems/cremefraiche/CVE-2013-2090.yml +0 -11
- data/data/ruby-advisory-db/gems/cron_parser/CVE-2019-15224.yml +0 -20
- data/data/ruby-advisory-db/gems/curb/OSVDB-114600.yml +0 -12
- data/data/ruby-advisory-db/gems/curl/CVE-2013-2617.yml +0 -13
- data/data/ruby-advisory-db/gems/datagrid/CVE-2019-14281.yml +0 -14
- data/data/ruby-advisory-db/gems/delayed_job_web/CVE-2017-12097.yml +0 -17
- data/data/ruby-advisory-db/gems/devise/CVE-2013-0233.yml +0 -20
- data/data/ruby-advisory-db/gems/devise/CVE-2015-8314.yml +0 -14
- data/data/ruby-advisory-db/gems/devise/CVE-2019-16109.yml +0 -13
- data/data/ruby-advisory-db/gems/devise/CVE-2019-5421.yml +0 -16
- data/data/ruby-advisory-db/gems/devise/OSVDB-114435.yml +0 -17
- data/data/ruby-advisory-db/gems/devise-two-factor/CVE-2015-7225.yml +0 -22
- data/data/ruby-advisory-db/gems/doge-coin/CVE-2019-15224.yml +0 -19
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2014-8144.yml +0 -26
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2016-6582.yml +0 -43
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2018-1000088.yml +0 -39
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2018-1000211.yml +0 -39
- data/data/ruby-advisory-db/gems/doorkeeper/CVE-2020-10187.yml +0 -34
- data/data/ruby-advisory-db/gems/doorkeeper/OSVDB-118830.yml +0 -17
- data/data/ruby-advisory-db/gems/doorkeeper-openid_connect/CVE-2019-9837.yml +0 -16
- data/data/ruby-advisory-db/gems/dragonfly/CVE-2013-1756.yml +0 -16
- data/data/ruby-advisory-db/gems/dragonfly/CVE-2013-5671.yml +0 -14
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-110439.yml +0 -13
- data/data/ruby-advisory-db/gems/dragonfly/OSVDB-97854.yml +0 -12
- data/data/ruby-advisory-db/gems/easymon/CVE-2018-1000855.yml +0 -16
- data/data/ruby-advisory-db/gems/echor/CVE-2014-1834.yml +0 -12
- data/data/ruby-advisory-db/gems/echor/CVE-2014-1835.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/espeak-ruby/CVE-2016-10193.yml +0 -15
- data/data/ruby-advisory-db/gems/excon/CVE-2019-16779.yml +0 -23
- data/data/ruby-advisory-db/gems/extlib/CVE-2013-1802.yml +0 -18
- data/data/ruby-advisory-db/gems/fastreader/CVE-2013-2615.yml +0 -13
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7222.yml +0 -17
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7223.yml +0 -19
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7224.yml +0 -17
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7225.yml +0 -19
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2013-7249.yml +0 -16
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2014-5441.yml +0 -19
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2015-1585.yml +0 -17
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2018-1000842.yml +0 -23
- data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2018-20975.yml +0 -12
- data/data/ruby-advisory-db/gems/faye/CVE-2020-11020.yml +0 -91
- data/data/ruby-advisory-db/gems/features/CVE-2013-4318.yml +0 -8
- data/data/ruby-advisory-db/gems/festivaltts4r/CVE-2016-10194.yml +0 -12
- data/data/ruby-advisory-db/gems/ffi/CVE-2018-1000201.yml +0 -22
- data/data/ruby-advisory-db/gems/field_test/CVE-2019-13146.yml +0 -20
- data/data/ruby-advisory-db/gems/fileutils/CVE-2013-2516.yml +0 -11
- 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-90718.yml +0 -7
- data/data/ruby-advisory-db/gems/flash_tool/CVE-2013-2513.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/CVE-2013-1756.yml +0 -18
- data/data/ruby-advisory-db/gems/fog-dragonfly/CVE-2013-5671.yml +0 -16
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-110439.yml +0 -15
- data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-97854.yml +0 -12
- data/data/ruby-advisory-db/gems/ftpd/CVE-2013-2512.yml +0 -18
- data/data/ruby-advisory-db/gems/geminabox/CVE-2017-16792.yml +0 -21
- data/data/ruby-advisory-db/gems/gemirro/CVE-2017-16833.yml +0 -22
- data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8968.yml +0 -21
- data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8969.yml +0 -13
- data/data/ruby-advisory-db/gems/gitlab-grit/CVE-2013-4489.yml +0 -14
- data/data/ruby-advisory-db/gems/gnms/OSVDB-108594.yml +0 -7
- data/data/ruby-advisory-db/gems/gollum/CVE-2015-7314.yml +0 -13
- data/data/ruby-advisory-db/gems/gollum-grit_adapter/CVE-2014-9489.yml +0 -23
- data/data/ruby-advisory-db/gems/grape/CVE-2018-3769.yml +0 -20
- data/data/ruby-advisory-db/gems/gtk2/CVE-2007-6183.yml +0 -20
- data/data/ruby-advisory-db/gems/gyazo/CVE-2014-4994.yml +0 -10
- data/data/ruby-advisory-db/gems/haml/CVE-2017-1002201.yml +0 -19
- 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/CVE-2013-1801.yml +0 -14
- data/data/ruby-advisory-db/gems/i18n/CVE-2014-10077.yml +0 -18
- data/data/ruby-advisory-db/gems/i18n/OSVDB-100528.yml +0 -17
- data/data/ruby-advisory-db/gems/iodine/GHSA-85rf-xh54-whp3.yml +0 -21
- data/data/ruby-advisory-db/gems/jekyll/CVE-2018-17567.yml +0 -14
- data/data/ruby-advisory-db/gems/jquery-rails/CVE-2015-1840.yml +0 -36
- data/data/ruby-advisory-db/gems/jquery-rails/CVE-2019-11358.yml +0 -24
- data/data/ruby-advisory-db/gems/jquery-ui-rails/CVE-2016-7103.yml +0 -23
- 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/CVE-2013-0269.yml +0 -20
- data/data/ruby-advisory-db/gems/json/CVE-2020-10663.yml +0 -35
- data/data/ruby-advisory-db/gems/json/OSVDB-101157.yml +0 -14
- data/data/ruby-advisory-db/gems/json-jwt/CVE-2018-1000539.yml +0 -21
- data/data/ruby-advisory-db/gems/json-jwt/CVE-2019-18848.yml +0 -15
- data/data/ruby-advisory-db/gems/kafo/CVE-2014-0135.yml +0 -15
- data/data/ruby-advisory-db/gems/kajam/CVE-2014-4999.yml +0 -12
- data/data/ruby-advisory-db/gems/kajam/OSVDB-108530.yml +0 -11
- data/data/ruby-advisory-db/gems/kaminari/CVE-2020-11082.yml +0 -34
- data/data/ruby-advisory-db/gems/karo/OSVDB-108573.yml +0 -10
- data/data/ruby-advisory-db/gems/karteek-docsplit/CVE-2013-1933.yml +0 -9
- data/data/ruby-advisory-db/gems/kcapifony/CVE-2014-5001.yml +0 -8
- data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108572.yml +0 -7
- data/data/ruby-advisory-db/gems/kelredd-pruview/CVE-2013-1947.yml +0 -9
- data/data/ruby-advisory-db/gems/kompanee-recipes/OSVDB-108593.yml +0 -12
- data/data/ruby-advisory-db/gems/lawn-login/CVE-2014-5000.yml +0 -8
- data/data/ruby-advisory-db/gems/ldap_fluff/CVE-2012-5604.yml +0 -15
- data/data/ruby-advisory-db/gems/ldoce/CVE-2013-1911.yml +0 -9
- data/data/ruby-advisory-db/gems/lean-ruport/CVE-2014-4998.yml +0 -8
- data/data/ruby-advisory-db/gems/lingq/OSVDB-108585.yml +0 -7
- data/data/ruby-advisory-db/gems/lita_coin/CVE-2019-15224.yml +0 -18
- data/data/ruby-advisory-db/gems/loofah/CVE-2018-16468.yml +0 -16
- data/data/ruby-advisory-db/gems/loofah/CVE-2018-8048.yml +0 -11
- data/data/ruby-advisory-db/gems/loofah/CVE-2019-15587.yml +0 -13
- data/data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml +0 -21
- data/data/ruby-advisory-db/gems/lynx/CVE-2014-5002.yml +0 -11
- data/data/ruby-advisory-db/gems/lynx/OSVDB-108579.yml +0 -7
- data/data/ruby-advisory-db/gems/mail/CVE-2011-0739.yml +0 -21
- data/data/ruby-advisory-db/gems/mail/CVE-2012-2139.yml +0 -14
- data/data/ruby-advisory-db/gems/mail/CVE-2012-2140.yml +0 -16
- data/data/ruby-advisory-db/gems/mail/CVE-2015-9097.yml +0 -26
- data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-129854.yml +0 -25
- data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-132871.yml +0 -26
- data/data/ruby-advisory-db/gems/marginalia/CVE-2019-1010191.yml +0 -17
- data/data/ruby-advisory-db/gems/matestack-ui-core/CVE-2020-5241.yml +0 -18
- data/data/ruby-advisory-db/gems/md2pdf/CVE-2013-1948.yml +0 -9
- data/data/ruby-advisory-db/gems/mini_magick/CVE-2013-2616.yml +0 -15
- data/data/ruby-advisory-db/gems/mini_magick/CVE-2019-13574.yml +0 -14
- data/data/ruby-advisory-db/gems/minitar/CVE-2016-10173.yml +0 -20
- data/data/ruby-advisory-db/gems/moped/CVE-2015-4410.yml +0 -17
- data/data/ruby-advisory-db/gems/multi_xml/CVE-2013-0175.yml +0 -16
- data/data/ruby-advisory-db/gems/mustache-js-rails/OSVDB-131671.yml +0 -17
- data/data/ruby-advisory-db/gems/mysql-binuuid-rails/CVE-2018-18476.yml +0 -21
- data/data/ruby-advisory-db/gems/net-ldap/CVE-2014-0083.yml +0 -14
- data/data/ruby-advisory-db/gems/net-ldap/CVE-2017-17718.yml +0 -17
- data/data/ruby-advisory-db/gems/netaddr/CVE-2019-17383.yml +0 -13
- data/data/ruby-advisory-db/gems/newrelic_rpm/CVE-2013-0284.yml +0 -17
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2012-6685.yml +0 -15
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2013-6460.yml +0 -18
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2013-6461.yml +0 -15
- 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/CVE-2015-8806.yml +0 -42
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2016-4658.yml +0 -33
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-15412.yml +0 -23
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-16932.yml +0 -21
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-5029.yml +0 -44
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-9050.yml +0 -60
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2018-14404.yml +0 -69
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2018-8048.yml +0 -36
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-11068.yml +0 -49
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-13117.yml +0 -80
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-5477.yml +0 -31
- data/data/ruby-advisory-db/gems/nokogiri/CVE-2020-7595.yml +0 -20
- data/data/ruby-advisory-db/gems/nokogiri/OSVDB-118481.yml +0 -15
- data/data/ruby-advisory-db/gems/nori/CVE-2013-0285.yml +0 -19
- data/data/ruby-advisory-db/gems/omniauth/CVE-2015-9284.yml +0 -25
- data/data/ruby-advisory-db/gems/omniauth/CVE-2017-18076.yml +0 -18
- data/data/ruby-advisory-db/gems/omniauth-facebook/CVE-2013-4562.yml +0 -22
- data/data/ruby-advisory-db/gems/omniauth-facebook/CVE-2013-4593.yml +0 -17
- data/data/ruby-advisory-db/gems/omniauth-oauth2/CVE-2012-6134.yml +0 -16
- data/data/ruby-advisory-db/gems/omniauth-saml/CVE-2017-11430.yml +0 -17
- data/data/ruby-advisory-db/gems/omniauth_amazon/CVE-2019-15224.yml +0 -19
- data/data/ruby-advisory-db/gems/open-uri-cached/OSVDB-121701.yml +0 -13
- data/data/ruby-advisory-db/gems/openssl/CVE-2016-7798.yml +0 -16
- data/data/ruby-advisory-db/gems/ox/CVE-2017-15928.yml +0 -16
- data/data/ruby-advisory-db/gems/ox/CVE-2017-16229.yml +0 -16
- data/data/ruby-advisory-db/gems/padrino-contrib/CVE-2019-16145.yml +0 -11
- data/data/ruby-advisory-db/gems/paperclip/CVE-2015-2963.yml +0 -16
- data/data/ruby-advisory-db/gems/paperclip/CVE-2017-0889.yml +0 -23
- data/data/ruby-advisory-db/gems/paperclip/OSVDB-103151.yml +0 -13
- data/data/ruby-advisory-db/gems/paranoid2/CVE-2019-13589.yml +0 -16
- data/data/ruby-advisory-db/gems/paratrooper-newrelic/CVE-2014-1234.yml +0 -13
- data/data/ruby-advisory-db/gems/paratrooper-pingdom/CVE-2014-1233.yml +0 -13
- data/data/ruby-advisory-db/gems/passenger/CVE-2013-2119.yml +0 -15
- data/data/ruby-advisory-db/gems/passenger/CVE-2013-4136.yml +0 -14
- 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/CVE-2016-10345.yml +0 -17
- data/data/ruby-advisory-db/gems/passenger/OSVDB-90738.yml +0 -16
- data/data/ruby-advisory-db/gems/pdfkit/CVE-2013-1607.yml +0 -11
- data/data/ruby-advisory-db/gems/point-cli/CVE-2014-4997.yml +0 -8
- data/data/ruby-advisory-db/gems/private_address_check/CVE-2017-0904.yml +0 -17
- data/data/ruby-advisory-db/gems/private_address_check/CVE-2017-0909.yml +0 -15
- data/data/ruby-advisory-db/gems/private_address_check/CVE-2018-3759.yml +0 -14
- data/data/ruby-advisory-db/gems/puma/CVE-2019-16770.yml +0 -21
- data/data/ruby-advisory-db/gems/puma/CVE-2020-11076.yml +0 -22
- data/data/ruby-advisory-db/gems/puma/CVE-2020-11077.yml +0 -31
- data/data/ruby-advisory-db/gems/puma/CVE-2020-5247.yml +0 -25
- data/data/ruby-advisory-db/gems/puma/CVE-2020-5249.yml +0 -36
- data/data/ruby-advisory-db/gems/quick_magick/OSVDB-106954.yml +0 -7
- data/data/ruby-advisory-db/gems/rack/CVE-2011-5036.yml +0 -21
- data/data/ruby-advisory-db/gems/rack/CVE-2012-6109.yml +0 -21
- data/data/ruby-advisory-db/gems/rack/CVE-2013-0183.yml +0 -19
- data/data/ruby-advisory-db/gems/rack/CVE-2013-0184.yml +0 -20
- data/data/ruby-advisory-db/gems/rack/CVE-2013-0262.yml +0 -18
- data/data/ruby-advisory-db/gems/rack/CVE-2013-0263.yml +0 -23
- data/data/ruby-advisory-db/gems/rack/CVE-2015-3225.yml +0 -18
- data/data/ruby-advisory-db/gems/rack/CVE-2018-16470.yml +0 -56
- data/data/ruby-advisory-db/gems/rack/CVE-2018-16471.yml +0 -80
- data/data/ruby-advisory-db/gems/rack/CVE-2019-16782.yml +0 -32
- data/data/ruby-advisory-db/gems/rack/CVE-2020-8161.yml +0 -32
- data/data/ruby-advisory-db/gems/rack-attack/OSVDB-132234.yml +0 -26
- data/data/ruby-advisory-db/gems/rack-cache/CVE-2012-2671.yml +0 -18
- data/data/ruby-advisory-db/gems/rack-cors/CVE-2017-11173.yml +0 -21
- data/data/ruby-advisory-db/gems/rack-cors/CVE-2019-18978.yml +0 -13
- data/data/ruby-advisory-db/gems/rack-mini-profiler/CVE-2016-4442.yml +0 -17
- data/data/ruby-advisory-db/gems/rack-protection/CVE-2018-1000119.yml +0 -18
- data/data/ruby-advisory-db/gems/rack-protection/CVE-2018-7212.yml +0 -12
- data/data/ruby-advisory-db/gems/rack-ssl/CVE-2014-2538.yml +0 -11
- data/data/ruby-advisory-db/gems/radiant/CVE-2018-5216.yml +0 -12
- data/data/ruby-advisory-db/gems/radiant/CVE-2018-7261.yml +0 -13
- 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/rails-html-sanitizer/CVE-2018-3741.yml +0 -20
- data/data/ruby-advisory-db/gems/rails_admin/CVE-2016-10522.yml +0 -21
- data/data/ruby-advisory-db/gems/rails_admin/CVE-2017-12098.yml +0 -22
- data/data/ruby-advisory-db/gems/railties/CVE-2019-5420.yml +0 -49
- data/data/ruby-advisory-db/gems/rake/CVE-2020-8130.yml +0 -18
- data/data/ruby-advisory-db/gems/rbovirt/CVE-2014-0036.yml +0 -20
- data/data/ruby-advisory-db/gems/rdoc/CVE-2013-0256.yml +0 -27
- data/data/ruby-advisory-db/gems/recurly/CVE-2017-0905.yml +0 -35
- 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/redis-store/CVE-2017-1000248.yml +0 -17
- 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/CVE-2015-3448.yml +0 -15
- data/data/ruby-advisory-db/gems/rest-client/CVE-2019-15224.yml +0 -13
- data/data/ruby-advisory-db/gems/restforce/CVE-2018-3777.yml +0 -36
- data/data/ruby-advisory-db/gems/rexical/CVE-2019-5477.yml +0 -21
- data/data/ruby-advisory-db/gems/rgpg/CVE-2013-4203.yml +0 -15
- data/data/ruby-advisory-db/gems/rubocop/CVE-2017-8418.yml +0 -20
- data/data/ruby-advisory-db/gems/ruby-openid/CVE-2019-11027.yml +0 -16
- data/data/ruby-advisory-db/gems/ruby-saml/CVE-2016-5697.yml +0 -20
- data/data/ruby-advisory-db/gems/ruby-saml/CVE-2017-11428.yml +0 -27
- 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/CVE-2013-0162.yml +0 -11
- data/data/ruby-advisory-db/gems/ruby_parser-legacy/CVE-2019-18409.yml +0 -16
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2007-0469.yml +0 -18
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2012-2125.yml +0 -17
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2012-2126.yml +0 -15
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2013-4287.yml +0 -20
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2013-4363.yml +0 -21
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2015-3900.yml +0 -20
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2015-4020.yml +0 -20
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0899.yml +0 -16
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0900.yml +0 -16
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0901.yml +0 -16
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0902.yml +0 -16
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0903.yml +0 -17
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8320.yml +0 -21
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8321.yml +0 -16
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8322.yml +0 -16
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8323.yml +0 -17
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8324.yml +0 -18
- data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8325.yml +0 -16
- data/data/ruby-advisory-db/gems/rubyzip/CVE-2017-5946.yml +0 -17
- data/data/ruby-advisory-db/gems/rubyzip/CVE-2018-1000544.yml +0 -19
- data/data/ruby-advisory-db/gems/rubyzip/CVE-2019-16892.yml +0 -13
- data/data/ruby-advisory-db/gems/safemode/CVE-2016-3693.yml +0 -13
- data/data/ruby-advisory-db/gems/safemode/CVE-2017-7540.yml +0 -16
- data/data/ruby-advisory-db/gems/samlr/CVE-2018-20857.yml +0 -16
- data/data/ruby-advisory-db/gems/sanitize/CVE-2018-3740.yml +0 -22
- data/data/ruby-advisory-db/gems/screen_capture/OSVDB-107783.yml +0 -7
- data/data/ruby-advisory-db/gems/secure_headers/CVE-2020-5216.yml +0 -52
- data/data/ruby-advisory-db/gems/secure_headers/CVE-2020-5217.yml +0 -42
- data/data/ruby-advisory-db/gems/sentry-raven/CVE-2014-9490.yml +0 -14
- data/data/ruby-advisory-db/gems/sfpagent/CVE-2014-2888.yml +0 -15
- data/data/ruby-advisory-db/gems/show_in_browser/CVE-2013-2105.yml +0 -8
- 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/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/simple_captcha2/CVE-2019-14282.yml +0 -13
- data/data/ruby-advisory-db/gems/simple_form/CVE-2019-16676.yml +0 -15
- data/data/ruby-advisory-db/gems/sinatra/CVE-2018-11627.yml +0 -16
- data/data/ruby-advisory-db/gems/sinatra/CVE-2018-7212.yml +0 -19
- data/data/ruby-advisory-db/gems/slanger/CVE-2019-1010306.yml +0 -16
- data/data/ruby-advisory-db/gems/smart_proxy_dynflow/CVE-2018-14643.yml +0 -18
- data/data/ruby-advisory-db/gems/sorcery/CVE-2020-11052.yml +0 -27
- data/data/ruby-advisory-db/gems/sounder/CVE-2013-5647.yml +0 -14
- data/data/ruby-advisory-db/gems/spina/CVE-2015-4619.yml +0 -16
- 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/sprockets/CVE-2018-3760.yml +0 -23
- data/data/ruby-advisory-db/gems/sprout/CVE-2013-6421.yml +0 -16
- data/data/ruby-advisory-db/gems/strong_password/CVE-2019-13354.yml +0 -19
- 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/CVE-2013-1898.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/user_agent_parser/CVE-2020-5243.yml +0 -28
- 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/CVE-2013-7086.yml +0 -12
- data/data/ruby-advisory-db/gems/websocket-extensions/CVE-2020-7663.yml +0 -35
- data/data/ruby-advisory-db/gems/wicked/CVE-2013-4413.yml +0 -14
- data/data/ruby-advisory-db/gems/will_paginate/CVE-2013-6459.yml +0 -15
- data/data/ruby-advisory-db/gems/xaviershay-dm-rails/CVE-2015-2179.yml +0 -13
- data/data/ruby-advisory-db/gems/yajl-ruby/CVE-2017-16516.yml +0 -19
- data/data/ruby-advisory-db/gems/yard/CVE-2017-17042.yml +0 -16
- data/data/ruby-advisory-db/gems/yard/CVE-2019-1020001.yml +0 -17
- data/data/ruby-advisory-db/gems/yard/GHSA-xfhh-rx56-rxcr.yml +0 -12
- data/data/ruby-advisory-db/lib/cf_scrape.py +0 -5
- data/data/ruby-advisory-db/lib/github_advisory_sync.rb +0 -296
- data/data/ruby-advisory-db/libraries/rubygems +0 -1
- 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/CVE-2012-5372.yml +0 -17
- data/data/ruby-advisory-db/rubies/rbx/OSVDB-78119.yml +0 -13
- 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-2662.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2663.yml +0 -21
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2664.yml +0 -21
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2725.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2726.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-3790.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-1904.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-4124.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-4492.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/CVE-2009-5147.yml +0 -13
- data/data/ruby-advisory-db/rubies/ruby/CVE-2010-0541.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2010-2489.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-0188.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-1004.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-1005.yml +0 -15
- 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-2011-3389.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/CVE-2011-4815.yml +0 -14
- 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-2012-4522.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/CVE-2012-5371.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-1821.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-2065.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-4073.yml +0 -21
- data/data/ruby-advisory-db/rubies/ruby/CVE-2013-4164.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-2525.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-3916.yml +0 -16
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-4975.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-8080.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/CVE-2014-8090.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/CVE-2015-1855.yml +0 -17
- data/data/ruby-advisory-db/rubies/ruby/CVE-2015-7551.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/CVE-2015-9096.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-0898.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-10784.yml +0 -25
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-14033.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-14064.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-17405.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/CVE-2017-17742.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-16395.yml +0 -36
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-16396.yml +0 -26
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-6914.yml +0 -27
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8777.yml +0 -21
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8778.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8779.yml +0 -28
- data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8780.yml +0 -22
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-15845.yml +0 -18
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16201.yml +0 -15
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16254.yml +0 -19
- data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16255.yml +0 -20
- data/data/ruby-advisory-db/rubies/ruby/CVE-2020-10663.yml +0 -29
- data/data/ruby-advisory-db/rubies/ruby/CVE-2020-10933.yml +0 -25
- data/data/ruby-advisory-db/scripts/post-advisories.sh +0 -18
- data/data/ruby-advisory-db/spec/advisories_spec.rb +0 -23
- data/data/ruby-advisory-db/spec/advisory_example.rb +0 -228
- data/data/ruby-advisory-db/spec/gem_example.rb +0 -44
- data/data/ruby-advisory-db/spec/library_example.rb +0 -21
- data/data/ruby-advisory-db/spec/ruby_example.rb +0 -29
- data/data/ruby-advisory-db/spec/schemas/gem.yml +0 -71
- data/data/ruby-advisory-db/spec/schemas/ruby.yml +0 -36
- data/data/ruby-advisory-db/spec/spec_helper.rb +0 -2
- data/data/ruby-advisory-db.ts +0 -1
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: yajl-ruby
|
3
|
-
cve: 2017-16516
|
4
|
-
url: https://nvd.nist.gov/vuln/detail/CVE-2017-16516
|
5
|
-
title: Flaw in yajl-ruby gem may cause a DoS
|
6
|
-
date: 2017-11-03
|
7
|
-
|
8
|
-
description: |
|
9
|
-
In the yajl-ruby gem 1.3.0 for Ruby, when a crafted JSON file is supplied to
|
10
|
-
Yajl::Parser.new.parse, the whole ruby process crashes with a SIGABRT in the
|
11
|
-
yajl_string_decode function in yajl_encode.c. This results in the whole ruby
|
12
|
-
process terminating and potentially a denial of service.
|
13
|
-
|
14
|
-
patched_versions:
|
15
|
-
- ">= 1.3.1"
|
16
|
-
|
17
|
-
related:
|
18
|
-
url:
|
19
|
-
- https://github.com/brianmario/yajl-ruby/issues/176
|
@@ -1,16 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: yard
|
3
|
-
cve: 2017-17042
|
4
|
-
url: https://nvd.nist.gov/vuln/detail/CVE-2017-17042
|
5
|
-
date: 2017-11-28
|
6
|
-
title: Potential arbitrary file read vulnerability in yard server
|
7
|
-
description: |
|
8
|
-
lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block
|
9
|
-
relative paths with an initial ../ sequence, which allows attackers to conduct
|
10
|
-
directory traversal attacks and read arbitrary files.
|
11
|
-
|
12
|
-
cvss_v2: 5.0
|
13
|
-
cvss_v3: 7.5
|
14
|
-
|
15
|
-
patched_versions:
|
16
|
-
- ">= 0.9.11"
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: yard
|
3
|
-
cve: 2019-1020001
|
4
|
-
ghsa: xfhh-rx56-rxcr
|
5
|
-
url: https://github.com/lsegal/yard/security/advisories/GHSA-xfhh-rx56-rxcr
|
6
|
-
date: 2019-07-02
|
7
|
-
title: Arbitrary path traversal and file access via `yard server`
|
8
|
-
description: |
|
9
|
-
A path traversal vulnerability was discovered in YARD <= 0.9.19 when using
|
10
|
-
`yard server` to serve documentation. This bug would allow unsanitized HTTP
|
11
|
-
requests to access arbitrary files on the machine of a yard server host under
|
12
|
-
certain conditions.
|
13
|
-
|
14
|
-
The issue is resolved in v0.9.20 and later.
|
15
|
-
patched_versions:
|
16
|
-
- ">= 0.9.20"
|
17
|
-
cvss_v3: 7.3
|
@@ -1,12 +0,0 @@
|
|
1
|
-
---
|
2
|
-
gem: yard
|
3
|
-
ghsa: xfhh-rx56-rxcr
|
4
|
-
date: 2019-07-02
|
5
|
-
url: https://github.com/lsegal/yard/security/advisories/GHSA-xfhh-rx56-rxcr
|
6
|
-
title: Possible arbitrary path traversal and file access via `yard server`
|
7
|
-
description: A path traversal vulnerability was discovered in YARD <= 0.9.19 when
|
8
|
-
using `yard server` to serve documentation. This bug would allow unsanitized HTTP
|
9
|
-
requests to access arbitrary files on the machine of a yard server host under certain
|
10
|
-
conditions.
|
11
|
-
patched_versions:
|
12
|
-
- ">= 0.9.20"
|
@@ -1,296 +0,0 @@
|
|
1
|
-
require "faraday"
|
2
|
-
require "json"
|
3
|
-
require "yaml"
|
4
|
-
require "open-uri"
|
5
|
-
|
6
|
-
module GitHub
|
7
|
-
class GitHubAdvisorySync
|
8
|
-
|
9
|
-
# Sync makes sure there are rubysec advisories for all GitHub advisories
|
10
|
-
# It writes a set of yaml files, one for each GitHub Advisory that
|
11
|
-
# is not already present in this repo
|
12
|
-
#
|
13
|
-
# The min_year argument specifies the earliest year CVE to sync.
|
14
|
-
# It is more important to sync the newer ones, so this allows the user to
|
15
|
-
# control how old of CVEs the sync should pull over
|
16
|
-
def self.sync(min_year: 2015)
|
17
|
-
gh_advisories = GraphQLAPIClient.new.retrieve_all_rubygem_publishable_advisories
|
18
|
-
|
19
|
-
# Filter out advisories with a CVE year that is before the min_year
|
20
|
-
gh_advisories.select! do |advisory|
|
21
|
-
if advisory.cve_id
|
22
|
-
_, cve_year = advisory.cve_id.match(/^CVE-(\d+)-\d+$/).to_a
|
23
|
-
cve_year.to_i >= min_year
|
24
|
-
else
|
25
|
-
true # all advisories without a CVE are included too
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
files_written = []
|
30
|
-
gh_advisories.each do |advisory|
|
31
|
-
files_written += advisory.write_files
|
32
|
-
end
|
33
|
-
|
34
|
-
puts "\nSync completed"
|
35
|
-
if files_written.empty?
|
36
|
-
puts "Nothing to sync today! All CVEs starting from #{min_year} are already present"
|
37
|
-
else
|
38
|
-
puts "Wrote these files:\n#{files_written.to_yaml}"
|
39
|
-
end
|
40
|
-
|
41
|
-
files_written
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
class GraphQLAPIClient
|
46
|
-
GITHUB_API_URL = "https://api.github.com/graphql"
|
47
|
-
|
48
|
-
GitHubApiTokenMissingError = Class.new(StandardError)
|
49
|
-
|
50
|
-
# return a lazy initialized connection to github api
|
51
|
-
def github_api(adapter = :net_http)
|
52
|
-
@faraday_connection ||= begin
|
53
|
-
puts "Initializing GitHub API connection to URL: #{GITHUB_API_URL}"
|
54
|
-
Faraday.new do |conn_builder|
|
55
|
-
conn_builder.adapter adapter
|
56
|
-
conn_builder.headers = {
|
57
|
-
"User-Agent" => "rubysec/ruby-advisory-db rubysec sync script",
|
58
|
-
"Content-Type" => "application/json",
|
59
|
-
"Authorization" => "token #{github_api_token}"
|
60
|
-
}
|
61
|
-
end
|
62
|
-
end
|
63
|
-
@faraday_connection
|
64
|
-
end
|
65
|
-
|
66
|
-
# An error class which gets raised when a GraphQL request fails
|
67
|
-
GitHubGraphQLAPIError = Class.new(StandardError)
|
68
|
-
|
69
|
-
# all interactions with the API go through this method to standardize
|
70
|
-
# error checking and how queries and requests are formed
|
71
|
-
def github_graphql_query(graphql_query_name, graphql_variables = {})
|
72
|
-
graphql_query_str = GraphQLQueries.const_get graphql_query_name
|
73
|
-
graphql_body = JSON.generate query: graphql_query_str,
|
74
|
-
variables: graphql_variables
|
75
|
-
puts "Executing GraphQL request: #{graphql_query_name}. Request variables:\n#{graphql_variables.to_yaml}\n"
|
76
|
-
faraday_response = github_api.post do |req|
|
77
|
-
req.url GITHUB_API_URL
|
78
|
-
req.body = graphql_body
|
79
|
-
end
|
80
|
-
puts "Got response code: #{faraday_response.status}"
|
81
|
-
if faraday_response.status != 200
|
82
|
-
raise(GitHubGraphQLAPIError, "GitHub GraphQL request to #{faraday_response.env.url} failed: #{faraday_response.body}")
|
83
|
-
end
|
84
|
-
body_obj = JSON.parse faraday_response.body
|
85
|
-
if body_obj["errors"]
|
86
|
-
raise(GitHubGraphQLAPIError, body_obj["errors"].map { |e| e["message"] }.join(", "))
|
87
|
-
end
|
88
|
-
body_obj
|
89
|
-
end
|
90
|
-
|
91
|
-
def retrieve_all_github_advisories(max_pages = 1000, page_size = 100)
|
92
|
-
all_advisories = []
|
93
|
-
variables = { "first" => page_size }
|
94
|
-
max_pages.times do |page_num|
|
95
|
-
puts "Getting page #{page_num + 1} of GitHub Advisories"
|
96
|
-
page = github_graphql_query(:GITHUB_ADVISORIES_WITH_RUBYGEM_VULNERABILITY, variables)
|
97
|
-
advisories_this_page = page["data"]["securityAdvisories"]["nodes"]
|
98
|
-
all_advisories += advisories_this_page
|
99
|
-
break unless page["data"]["securityAdvisories"]["pageInfo"]["hasNextPage"] == true
|
100
|
-
variables["after"] = page["data"]["securityAdvisories"]["pageInfo"]["endCursor"]
|
101
|
-
end
|
102
|
-
puts "Retrieved #{all_advisories.length} Advisories from GitHub API"
|
103
|
-
|
104
|
-
all_advisories.map do |advisory_graphql_obj|
|
105
|
-
GitHubAdvisory.new github_advisory_graphql_object: advisory_graphql_obj
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
|
-
def retrieve_all_rubygem_publishable_advisories
|
110
|
-
all_advisories = retrieve_all_github_advisories
|
111
|
-
# remove withdrawn advisories,
|
112
|
-
# and remove those where there are no vulnerabilities for ruby
|
113
|
-
all_advisories.reject { |advisory| advisory.withdrawn? }
|
114
|
-
.select { |advisory| advisory.has_ruby_vulnerabilities? }
|
115
|
-
end
|
116
|
-
|
117
|
-
module GraphQLQueries
|
118
|
-
GITHUB_ADVISORIES_WITH_RUBYGEM_VULNERABILITY = <<-GRAPHQL.freeze
|
119
|
-
query($first: Int, $after: String) {
|
120
|
-
securityAdvisories(first: $first, after: $after) {
|
121
|
-
pageInfo {
|
122
|
-
endCursor
|
123
|
-
hasNextPage
|
124
|
-
hasPreviousPage
|
125
|
-
startCursor
|
126
|
-
}
|
127
|
-
nodes {
|
128
|
-
identifiers {
|
129
|
-
type
|
130
|
-
value
|
131
|
-
}
|
132
|
-
summary
|
133
|
-
description
|
134
|
-
severity
|
135
|
-
references {
|
136
|
-
url
|
137
|
-
}
|
138
|
-
publishedAt
|
139
|
-
withdrawnAt
|
140
|
-
vulnerabilities(ecosystem:RUBYGEMS, first: 10) {
|
141
|
-
nodes {
|
142
|
-
package {
|
143
|
-
name
|
144
|
-
ecosystem
|
145
|
-
}
|
146
|
-
vulnerableVersionRange
|
147
|
-
firstPatchedVersion {
|
148
|
-
identifier
|
149
|
-
}
|
150
|
-
}
|
151
|
-
}
|
152
|
-
}
|
153
|
-
}
|
154
|
-
}
|
155
|
-
GRAPHQL
|
156
|
-
end
|
157
|
-
|
158
|
-
private
|
159
|
-
|
160
|
-
def github_api_token
|
161
|
-
unless ENV["GH_API_TOKEN"]
|
162
|
-
raise GitHubApiTokenMissingError, "Unable to make API requests. Must define 'GH_API_TOKEN' environment variable."
|
163
|
-
end
|
164
|
-
ENV["GH_API_TOKEN"]
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
|
-
class GitHubAdvisory
|
169
|
-
|
170
|
-
attr_reader :github_advisory_graphql_object
|
171
|
-
|
172
|
-
def initialize(github_advisory_graphql_object:)
|
173
|
-
@github_advisory_graphql_object = github_advisory_graphql_object
|
174
|
-
end
|
175
|
-
|
176
|
-
def identifier_list
|
177
|
-
github_advisory_graphql_object["identifiers"]
|
178
|
-
end
|
179
|
-
|
180
|
-
# extract the CVE identifier from the GitHub Advisory identifier list
|
181
|
-
def cve_id
|
182
|
-
cve_id_obj = identifier_list.find { |id| id["type"] == "CVE" }
|
183
|
-
return nil unless cve_id_obj
|
184
|
-
|
185
|
-
cve_id_obj["value"]
|
186
|
-
end
|
187
|
-
|
188
|
-
def ghsa_id
|
189
|
-
id_obj = identifier_list.find { |id| id["type"] == "GHSA" }
|
190
|
-
id_obj["value"]
|
191
|
-
end
|
192
|
-
|
193
|
-
# advisories should be identified by CVE ID if there is one
|
194
|
-
# but for maintainer submitted advisories there may not be one,
|
195
|
-
# so a GitHub Security Advisory ID (ghsa_id) is used instead
|
196
|
-
def primary_id
|
197
|
-
return cve_id if cve_id
|
198
|
-
ghsa_id
|
199
|
-
end
|
200
|
-
|
201
|
-
# return a date as a string like 2019-03-21.
|
202
|
-
def published_day
|
203
|
-
return nil unless github_advisory_graphql_object["publishedAt"]
|
204
|
-
|
205
|
-
pub_date = Date.parse(github_advisory_graphql_object["publishedAt"])
|
206
|
-
# pub_date.strftime("%Y-%m-%d")
|
207
|
-
pub_date
|
208
|
-
end
|
209
|
-
|
210
|
-
def package_names
|
211
|
-
github_advisory_graphql_object["vulnerabilities"]["nodes"].map{|v| v["package"]["name"]}.uniq
|
212
|
-
end
|
213
|
-
|
214
|
-
def rubysec_filenames
|
215
|
-
package_names.map do |package_name|
|
216
|
-
File.join("gems", package_name, "#{cve_id}.yml")
|
217
|
-
end
|
218
|
-
end
|
219
|
-
|
220
|
-
def withdrawn?
|
221
|
-
!github_advisory_graphql_object["withdrawnAt"].nil?
|
222
|
-
end
|
223
|
-
|
224
|
-
def external_reference
|
225
|
-
github_advisory_graphql_object["references"].first["url"]
|
226
|
-
end
|
227
|
-
|
228
|
-
def vulnerabilities
|
229
|
-
github_advisory_graphql_object["vulnerabilities"]["nodes"]
|
230
|
-
end
|
231
|
-
|
232
|
-
def has_ruby_vulnerabilities?
|
233
|
-
vulnerabilities.any? do |vuln|
|
234
|
-
vuln["package"]["ecosystem"] == "RUBYGEMS"
|
235
|
-
end
|
236
|
-
end
|
237
|
-
|
238
|
-
def some_rubysec_files_do_not_exist?
|
239
|
-
rubysec_filenames.any?{|filename| !File.exist?(filename) }
|
240
|
-
end
|
241
|
-
|
242
|
-
def write_files
|
243
|
-
return [] unless some_rubysec_files_do_not_exist?
|
244
|
-
|
245
|
-
files_written = []
|
246
|
-
vulnerabilities.each do |vulnerability|
|
247
|
-
filename_to_write = File.join("gems", vulnerability["package"]["name"], "#{primary_id}.yml")
|
248
|
-
next if File.exist?(filename_to_write)
|
249
|
-
|
250
|
-
data = {
|
251
|
-
"gem" => vulnerability["package"]["name"],
|
252
|
-
"ghsa" => ghsa_id[5..],
|
253
|
-
"url" => external_reference,
|
254
|
-
"date" => published_day,
|
255
|
-
"title" => github_advisory_graphql_object["summary"],
|
256
|
-
"description" => github_advisory_graphql_object["description"],
|
257
|
-
"cvss_v3" => "<FILL IN IF AVAILABLE>",
|
258
|
-
"patched_versions" => [ "<FILL IN SEE BELOW>" ],
|
259
|
-
"unaffected_versions" => [ "<OPTIONAL: FILL IN SEE BELOW>" ]
|
260
|
-
}
|
261
|
-
data["cve"] = cve_id[4..20] if cve_id
|
262
|
-
|
263
|
-
dir_to_write = File.dirname(filename_to_write)
|
264
|
-
Dir.mkdir dir_to_write unless Dir.exist?(dir_to_write)
|
265
|
-
File.open(filename_to_write, "w") do |file|
|
266
|
-
# create an automatically generated advisory yaml file
|
267
|
-
file.write data.to_yaml
|
268
|
-
|
269
|
-
# The data we just wrote is incomplete,
|
270
|
-
# and therefore should not be committed as is
|
271
|
-
# We can not directly translate from GitHub to rubysec advisory format
|
272
|
-
#
|
273
|
-
# The patched_versions field is not exactly available.
|
274
|
-
# - GitHub has a first_patched_version field,
|
275
|
-
# but rubysec advisory needs a ruby version spec
|
276
|
-
#
|
277
|
-
# The unnaffected_versions field is similarly not directly available
|
278
|
-
# This optional field must be inferred from the vulnerableVersionRange
|
279
|
-
#
|
280
|
-
# To help write those fields, we put all the github data below.
|
281
|
-
#
|
282
|
-
# The second block of yaml in a .yaml file is ignored (after the second "---" line)
|
283
|
-
# This effectively makes this data a large comment
|
284
|
-
# Still it should be removed before the data goes into rubysec
|
285
|
-
file.write "\n\n# GitHub advisory data below - **Remove this data before committing**\n"
|
286
|
-
file.write "# Use this data to write patched_versions (and potentially unaffected_versions) above\n"
|
287
|
-
file.write github_advisory_graphql_object.to_yaml
|
288
|
-
end
|
289
|
-
puts "Wrote: #{filename_to_write}"
|
290
|
-
files_written << filename_to_write
|
291
|
-
end
|
292
|
-
|
293
|
-
files_written
|
294
|
-
end
|
295
|
-
end
|
296
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
../gems/rubygems-update
|
@@ -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"
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: rbx
|
3
|
-
cve: 2012-5372
|
4
|
-
osvdb: 87861
|
5
|
-
url: http://www.osvdb.org/show/osvdb/87861
|
6
|
-
title: Rubinius MurmurHash3 Implementation Hash Collision Remote DoS
|
7
|
-
date: 2012-11-23
|
8
|
-
description: |
|
9
|
-
Rubinius contains a flaw related to the MurmurHash3 implementation that may
|
10
|
-
allow a remote denial of service. The issue is triggered when hash values
|
11
|
-
are computed without having the ability to cause hash collisions restricted.
|
12
|
-
When sending specially crafted input to an application maintaining a hash
|
13
|
-
table, a context-dependent attacker can cause a consumption of CPU resources.
|
14
|
-
This will result in a loss of availability for the program.
|
15
|
-
cvss_v2: 5.0
|
16
|
-
patched_versions:
|
17
|
-
- ">= 1.3.1"
|
@@ -1,13 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: rbx
|
3
|
-
osvdb: 78119
|
4
|
-
url: http://www.osvdb.org/show/osvdb/78119
|
5
|
-
title: Rubinius Hash Collision Form Parameter Parsing Remote DoS
|
6
|
-
date: 2011-12-28
|
7
|
-
description: |
|
8
|
-
Rubinius contains a flaw that may allow a remote denial of service. The issue
|
9
|
-
is triggered when an attacker sends multiple crafted parameters which trigger
|
10
|
-
hash collisions, and will result in loss of availability for the program via
|
11
|
-
CPU consumption.
|
12
|
-
patched_versions:
|
13
|
-
- ">= 1.3.1"
|
@@ -1,16 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2007-5162
|
4
|
-
url: https://www.ruby-lang.org/en/news/2007/10/04/net-https-vulnerability/
|
5
|
-
title: Ruby Net::HTTPS library does not validate server certificate CN
|
6
|
-
date: 2007-09-27
|
7
|
-
description: |
|
8
|
-
The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS
|
9
|
-
libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN)
|
10
|
-
field in a server certificate matches the domain name in an HTTPS request,
|
11
|
-
which makes it easier for remote attackers to intercept SSL transmissions via
|
12
|
-
a man-in-the-middle attack or spoofed web site.
|
13
|
-
cvss_v2: 4.3
|
14
|
-
patched_versions:
|
15
|
-
- ~> 1.8.5.114
|
16
|
-
- ">= 1.8.6.111"
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2007-5770
|
4
|
-
url: http://www.cvedetails.com/cve/CVE-2007-5770/
|
5
|
-
title: Ruby Net::HTTPS library does not validate server certificate CN
|
6
|
-
date: 2007-10-08
|
7
|
-
description: |
|
8
|
-
The (1) Net::ftptls, (2) Net::telnets, (3) Net::imap, (4) Net::pop, and (5)
|
9
|
-
Net::smtp libraries in Ruby 1.8.5 and 1.8.6 do not verify that the
|
10
|
-
commonName (CN) field in a server certificate matches the domain name in a
|
11
|
-
request sent over SSL, which makes it easier for remote attackers to
|
12
|
-
intercept SSL transmissions via a man-in-the-middle attack or spoofed web
|
13
|
-
site, different components than CVE-2007-5162.
|
14
|
-
cvss_v2: 4.3
|
15
|
-
patched_versions:
|
16
|
-
- ~> 1.8.6.230
|
17
|
-
- ">= 1.8.7"
|
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2008-1447
|
4
|
-
url: https://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
|
5
|
-
title: ruby -- DNS spoofing vulnerability in resolv.rb
|
6
|
-
date: 2008-05-05
|
7
|
-
description: |
|
8
|
-
resolv.rb allow remote attackers to spoof DNS answers. This risk can be
|
9
|
-
reduced by randomness of DNS transaction IDs and source ports, so
|
10
|
-
resolv.rb is fixed to randomize them.
|
11
|
-
cvss_v2: 5.0
|
12
|
-
patched_versions:
|
13
|
-
- ~> 1.8.6.287
|
14
|
-
- ~> 1.8.7.72
|
15
|
-
- ">= 1.9.0"
|
@@ -1,21 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2008-1891
|
4
|
-
url: http://aluigi.altervista.org/adv/webrickcgi-adv.txt
|
5
|
-
title: Directory traversal vulnerability in WEBrick
|
6
|
-
date: 2008-04-15
|
7
|
-
description: |
|
8
|
-
Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5
|
9
|
-
before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0
|
10
|
-
before 1.9.0-2, when using NTFS or FAT filesystems, allows remote attackers
|
11
|
-
to read arbitrary CGI files via a trailing (1) + (plus), (2) %2b (encoded
|
12
|
-
plus), (3) . (dot), (4) %2e (encoded dot), or (5) %20 (encoded space)
|
13
|
-
character in the URI, possibly related to the
|
14
|
-
WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new functionality
|
15
|
-
and the :DocumentRoot option.
|
16
|
-
cvss_v2: 5.0
|
17
|
-
patched_versions:
|
18
|
-
- ~> 1.8.5.231
|
19
|
-
- ~> 1.8.6.230
|
20
|
-
- ~> 1.8.7.22
|
21
|
-
- ">= 1.9.0.2"
|
@@ -1,18 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2008-2376
|
4
|
-
url: http://www.openwall.com/lists/oss-security/2008/07/02/3
|
5
|
-
title: More ruby integer overflows (rb_ary_fill / Array#fill)
|
6
|
-
date: 2008-06-30
|
7
|
-
description: |
|
8
|
-
Integer overflow in the rb_ary_fill function in array.c in Ruby before
|
9
|
-
revision 17756 allows context-dependent attackers to cause a denial of
|
10
|
-
service (crash) or possibly have unspecified other impact via a call to the
|
11
|
-
Array#fill method with a start (aka beg) argument greater than ARY_MAX_SIZE.
|
12
|
-
NOTE: this issue exists because of an incomplete fix for other closely
|
13
|
-
related integer overflows.
|
14
|
-
cvss_v2: 7.5
|
15
|
-
patched_versions:
|
16
|
-
- ~> 1.8.6.286
|
17
|
-
- ~> 1.8.7.71
|
18
|
-
- ">= 1.9.0"
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2008-2662
|
4
|
-
osvdb: 46550
|
5
|
-
url: http://www.osvdb.org/show/osvdb/46550
|
6
|
-
title: Ruby rb_str_buf_append Function Multiple Overflows
|
7
|
-
date: 2008-06-20
|
8
|
-
description: |
|
9
|
-
Multiple integer overflows in the rb_str_buf_append
|
10
|
-
function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230,
|
11
|
-
1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allow context-dependent attackers
|
12
|
-
to execute arbitrary code or cause a denial of service via unknown vectors that
|
13
|
-
trigger memory corruption, a different issue than CVE-2008-2663, CVE-2008-2664,
|
14
|
-
and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple
|
15
|
-
CVE identifiers related to Ruby. This CVE description should be regarded as authoritative,
|
16
|
-
although it is likely to change.
|
17
|
-
cvss_v2: 10.0
|
18
|
-
patched_versions:
|
19
|
-
- ~> 1.8.5.231
|
20
|
-
- ~> 1.8.6.230
|
21
|
-
- ~> 1.8.7.22
|
22
|
-
- ">= 1.9.0.2"
|
@@ -1,21 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2008-2663
|
4
|
-
osvdb: 46551
|
5
|
-
url: http://www.osvdb.org/show/osvdb/46551
|
6
|
-
title: Ruby rb_ary_store Function Multiple Overflows
|
7
|
-
date: 2008-06-20
|
8
|
-
description: |
|
9
|
-
Multiple integer overflows in the rb_ary_store function
|
10
|
-
in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and
|
11
|
-
1.8.7 before 1.8.7-p22 allow context-dependent attackers to execute arbitrary code
|
12
|
-
or cause a denial of service via unknown vectors, a different issue than CVE-2008-2662,
|
13
|
-
CVE-2008-2664, and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent
|
14
|
-
usage of multiple CVE identifiers related to Ruby. The CVE description should be
|
15
|
-
regarded as authoritative, although it is likely to change.
|
16
|
-
cvss_v2: 10.0
|
17
|
-
patched_versions:
|
18
|
-
- ~> 1.8.5.231
|
19
|
-
- ~> 1.8.6.230
|
20
|
-
- ~> 1.8.7.22
|
21
|
-
- ">= 1.9.0.2"
|
@@ -1,21 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2008-2664
|
4
|
-
osvdb: 46552
|
5
|
-
url: http://www.osvdb.org/show/osvdb/46552
|
6
|
-
title: Ruby rb_str_format Function Unspecified Memory Corruption
|
7
|
-
date: 2008-06-20
|
8
|
-
description: |
|
9
|
-
The rb_str_format function in Ruby 1.8.4 and earlier,
|
10
|
-
1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0
|
11
|
-
before 1.9.0-2 allows context-dependent attackers to trigger memory corruption via
|
12
|
-
unspecified vectors related to alloca, a different issue than CVE-2008-2662, CVE-2008-2663,
|
13
|
-
and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple
|
14
|
-
CVE identifiers related to Ruby. The CVE description should be regarded as authoritative,
|
15
|
-
although it is likely to change.
|
16
|
-
cvss_v2: 7.8
|
17
|
-
patched_versions:
|
18
|
-
- ~> 1.8.5.231
|
19
|
-
- ~> 1.8.6.230
|
20
|
-
- ~> 1.8.7.22
|
21
|
-
- ">= 1.9.0.2"
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engine: ruby
|
3
|
-
cve: 2008-2725
|
4
|
-
osvdb: 46553
|
5
|
-
url: http://www.osvdb.org/show/osvdb/46553
|
6
|
-
title: Ruby rb_ary_splice Function REALLOC_N Overflow
|
7
|
-
date: 2008-06-20
|
8
|
-
description: |
|
9
|
-
Integer overflow in the (1) rb_ary_splice function
|
10
|
-
in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and
|
11
|
-
1.8.7 before 1.8.7-p22; and (2) the rb_ary_replace function in 1.6.x allows context-dependent
|
12
|
-
attackers to trigger memory corruption via unspecified vectors, aka the "REALLOC_N"
|
13
|
-
variant, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2664.
|
14
|
-
NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers
|
15
|
-
related to Ruby. The CVE description should be regarded as authoritative, although
|
16
|
-
it is likely to change.
|
17
|
-
cvss_v2: 7.8
|
18
|
-
patched_versions:
|
19
|
-
- ~> 1.8.5.231
|
20
|
-
- ~> 1.8.6.230
|
21
|
-
- ~> 1.8.7.22
|
22
|
-
- ">= 1.9.0.2"
|