From 1a20460705c449d32706495f3f6ca103e0a92faf Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 4 Apr 2023 18:05:10 +0000 Subject: [PATCH] fix: Gemfile & Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-2803847 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-3237230 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-3237231 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-3237232 - https://snyk.io/vuln/SNYK-RUBY-ACTIONVIEW-2803851 - https://snyk.io/vuln/SNYK-RUBY-ACTIVERECORD-2960802 - https://snyk.io/vuln/SNYK-RUBY-ACTIVERECORD-3237236 - https://snyk.io/vuln/SNYK-RUBY-ACTIVERECORD-3237239 - https://snyk.io/vuln/SNYK-RUBY-ACTIVESUPPORT-3237242 - https://snyk.io/vuln/SNYK-RUBY-ACTIVESUPPORT-3360028 - https://snyk.io/vuln/SNYK-RUBY-GLOBALID-3237234 - https://snyk.io/vuln/SNYK-RUBY-RACK-1061917 - https://snyk.io/vuln/SNYK-RUBY-RACK-2848599 - https://snyk.io/vuln/SNYK-RUBY-RACK-2848600 - https://snyk.io/vuln/SNYK-RUBY-RACK-3237233 - https://snyk.io/vuln/SNYK-RUBY-RACK-3237237 - https://snyk.io/vuln/SNYK-RUBY-RACK-3237240 - https://snyk.io/vuln/SNYK-RUBY-RACK-3356639 - https://snyk.io/vuln/SNYK-RUBY-RACK-3360233 - https://snyk.io/vuln/SNYK-RUBY-RAILS-5291540 --- Gemfile | 4 +- Gemfile.lock | 256 +++++++++++++++++++++++++-------------------------- 2 files changed, 129 insertions(+), 131 deletions(-) diff --git a/Gemfile b/Gemfile index 525929f9..afaaffad 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ ruby '3.1.0' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -gem 'rails', '~> 7.0.2', '>= 7.0.2.3' +gem 'rails', '~> 7.0.4', '>= 7.0.4.3' # Use postgresql as the database for Active Record gem 'pg', '>= 0.18', '< 2.0' @@ -88,4 +88,4 @@ group :test, :development do gem 'rubocop-rspec', '>= 2.1.0' gem 'json-schema-rspec' end -gem "kredis", "~> 1.3" +gem "kredis", "~> 1.3", ">= 1.3.0.1" diff --git a/Gemfile.lock b/Gemfile.lock index b1cdbee0..284fa22e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,67 +1,67 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.0.2.3) - actionpack (= 7.0.2.3) - activesupport (= 7.0.2.3) + actioncable (7.0.4.3) + actionpack (= 7.0.4.3) + activesupport (= 7.0.4.3) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.2.3) - actionpack (= 7.0.2.3) - activejob (= 7.0.2.3) - activerecord (= 7.0.2.3) - activestorage (= 7.0.2.3) - activesupport (= 7.0.2.3) + actionmailbox (7.0.4.3) + actionpack (= 7.0.4.3) + activejob (= 7.0.4.3) + activerecord (= 7.0.4.3) + activestorage (= 7.0.4.3) + activesupport (= 7.0.4.3) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.2.3) - actionpack (= 7.0.2.3) - actionview (= 7.0.2.3) - activejob (= 7.0.2.3) - activesupport (= 7.0.2.3) + actionmailer (7.0.4.3) + actionpack (= 7.0.4.3) + actionview (= 7.0.4.3) + activejob (= 7.0.4.3) + activesupport (= 7.0.4.3) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.2.3) - actionview (= 7.0.2.3) - activesupport (= 7.0.2.3) + actionpack (7.0.4.3) + actionview (= 7.0.4.3) + activesupport (= 7.0.4.3) rack (~> 2.0, >= 2.2.0) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.2.3) - actionpack (= 7.0.2.3) - activerecord (= 7.0.2.3) - activestorage (= 7.0.2.3) - activesupport (= 7.0.2.3) + actiontext (7.0.4.3) + actionpack (= 7.0.4.3) + activerecord (= 7.0.4.3) + activestorage (= 7.0.4.3) + activesupport (= 7.0.4.3) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.2.3) - activesupport (= 7.0.2.3) + actionview (7.0.4.3) + activesupport (= 7.0.4.3) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.2.3) - activesupport (= 7.0.2.3) + activejob (7.0.4.3) + activesupport (= 7.0.4.3) globalid (>= 0.3.6) - activemodel (7.0.2.3) - activesupport (= 7.0.2.3) - activerecord (7.0.2.3) - activemodel (= 7.0.2.3) - activesupport (= 7.0.2.3) - activestorage (7.0.2.3) - actionpack (= 7.0.2.3) - activejob (= 7.0.2.3) - activerecord (= 7.0.2.3) - activesupport (= 7.0.2.3) + activemodel (7.0.4.3) + activesupport (= 7.0.4.3) + activerecord (7.0.4.3) + activemodel (= 7.0.4.3) + activesupport (= 7.0.4.3) + activestorage (7.0.4.3) + actionpack (= 7.0.4.3) + activejob (= 7.0.4.3) + activerecord (= 7.0.4.3) + activesupport (= 7.0.4.3) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.2.3) + activesupport (7.0.4.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -76,21 +76,22 @@ GEM ast (2.4.2) backport (1.2.0) benchmark (0.2.0) - benchmark-ips (2.10.0) + benchmark-ips (2.12.0) brotli (0.4.0) builder (3.2.4) - bullet (7.0.1) + bullet (7.0.7) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) byebug (11.1.3) cld3 (3.4.3) ffi (>= 1.1.0, < 1.16.0) coderay (1.1.3) - concurrent-ruby (1.1.10) - connection_pool (2.3.0) + concurrent-ruby (1.2.2) + connection_pool (2.4.0) crass (1.0.6) - dead_end (3.1.1) - derailed_benchmarks (2.1.1) + date (3.3.3) + dead_end (4.0.0) + derailed_benchmarks (2.1.2) benchmark-ips (~> 2) dead_end get_process_mem (~> 0) @@ -103,25 +104,24 @@ GEM ruby-statistics (>= 2.1) thor (>= 0.19, < 2) diff-lcs (1.5.0) - digest (3.1.0) docile (1.4.0) e2mmap (0.1.0) elastic-transport (8.0.0) faraday (~> 1) multi_json - elasticsearch (7.17.1) - elasticsearch-api (= 7.17.1) - elasticsearch-transport (= 7.17.1) - elasticsearch-api (7.17.1) + elasticsearch (7.17.7) + elasticsearch-api (= 7.17.7) + elasticsearch-transport (= 7.17.7) + elasticsearch-api (7.17.7) multi_json elasticsearch-model (7.2.1) activesupport (> 3) elasticsearch (~> 7) hashie - elasticsearch-transport (7.17.1) + elasticsearch-transport (7.17.7) faraday (~> 1) multi_json - erubi (1.10.0) + erubi (1.12.0) ethon (0.15.0) ffi (>= 1.15.0) factory_bot (6.2.1) @@ -129,7 +129,7 @@ GEM factory_bot_rails (6.2.0) factory_bot (~> 6.2.0) railties (>= 5.0.0) - faraday (1.10.0) + faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) @@ -145,8 +145,8 @@ GEM faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) - faraday-multipart (1.0.3) - multipart-post (>= 1.2, < 3) + faraday-multipart (1.0.4) + multipart-post (~> 2) faraday-net_http (1.0.1) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) @@ -155,7 +155,7 @@ GEM ffi (1.15.5) get_process_mem (0.2.7) ffi (~> 1.0) - globalid (1.0.0) + globalid (1.1.0) activesupport (>= 5.0) graphql (1.11.4) graphql-schema_comparator (1.1.1) @@ -165,9 +165,10 @@ GEM hashie (5.0.0) heapy (0.2.0) thor - i18n (1.10.0) + i18n (1.12.0) concurrent-ruby (~> 1.0) jaro_winkler (1.5.4) + json (2.6.3) json-schema (2.8.1) addressable (>= 2.4) json-schema-rspec (0.0.4) @@ -180,44 +181,41 @@ GEM kredis (1.3.0.1) activesupport (>= 6.0.0) redis (>= 4.2, < 6) - loofah (2.19.1) + loofah (2.20.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.7.1) + mail (2.8.1) mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp marcel (1.0.2) - memory_profiler (1.0.0) + memory_profiler (1.0.1) method_source (1.0.0) mini_histogram (0.3.1) mini_mime (1.1.2) - mini_portile2 (2.8.0) - minitest (5.15.0) + mini_portile2 (2.8.1) + minitest (5.18.0) multi_json (1.15.0) - multipart-post (2.1.1) - net-imap (0.2.3) - digest + multipart-post (2.3.0) + net-imap (0.3.4) + date net-protocol - strscan - net-pop (0.1.1) - digest + net-pop (0.1.2) net-protocol + net-protocol (0.2.1) timeout - net-protocol (0.1.3) - timeout - net-smtp (0.3.1) - digest + net-smtp (0.3.3) net-protocol - timeout - nio4r (2.5.8) - nokogiri (1.13.10) + nio4r (2.5.9) + nokogiri (1.14.2) mini_portile2 (~> 2.8.0) racc (~> 1.4) oj (3.13.11) oj_mimic_json (1.0.1) - pagy (5.10.1) - activesupport + pagy (6.0.3) parallel (1.22.1) - parser (3.1.1.0) + parser (3.2.2.0) ast (~> 2.4.1) pg (1.3.5) pluginator (1.5.0) @@ -231,37 +229,37 @@ GEM public_suffix (4.0.6) puma (4.3.12) nio4r (~> 2.0) - racc (1.6.1) - rack (2.2.3) + racc (1.6.2) + rack (2.2.6.4) rack-brotli (1.2.0) brotli (>= 0.1.7) rack (>= 1.4) - rack-cors (1.1.1) + rack-cors (2.0.1) rack (>= 2.0.0) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (7.0.2.3) - actioncable (= 7.0.2.3) - actionmailbox (= 7.0.2.3) - actionmailer (= 7.0.2.3) - actionpack (= 7.0.2.3) - actiontext (= 7.0.2.3) - actionview (= 7.0.2.3) - activejob (= 7.0.2.3) - activemodel (= 7.0.2.3) - activerecord (= 7.0.2.3) - activestorage (= 7.0.2.3) - activesupport (= 7.0.2.3) + rack-test (2.1.0) + rack (>= 1.3) + rails (7.0.4.3) + actioncable (= 7.0.4.3) + actionmailbox (= 7.0.4.3) + actionmailer (= 7.0.4.3) + actionpack (= 7.0.4.3) + actiontext (= 7.0.4.3) + actionview (= 7.0.4.3) + activejob (= 7.0.4.3) + activemodel (= 7.0.4.3) + activerecord (= 7.0.4.3) + activestorage (= 7.0.4.3) + activesupport (= 7.0.4.3) bundler (>= 1.15.0) - railties (= 7.0.2.3) + railties (= 7.0.4.3) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.4.4) + rails-html-sanitizer (1.5.0) loofah (~> 2.19, >= 2.19.1) - railties (7.0.2.3) - actionpack (= 7.0.2.3) - activesupport (= 7.0.2.3) + railties (7.0.4.3) + actionpack (= 7.0.4.3) + activesupport (= 7.0.4.3) method_source rake (>= 12.2) thor (~> 1.0) @@ -270,9 +268,9 @@ GEM rake (13.0.6) redis (5.0.6) redis-client (>= 0.9.0) - redis-client (0.14.0) + redis-client (0.14.1) connection_pool - regexp_parser (2.2.1) + regexp_parser (2.7.0) reverse_markdown (2.1.1) nokogiri rexml (3.2.5) @@ -282,10 +280,10 @@ GEM rspec-mocks (~> 3.11.0) rspec-core (3.11.0) rspec-support (~> 3.11.0) - rspec-expectations (3.11.0) + rspec-expectations (3.11.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.11.0) - rspec-mocks (3.11.1) + rspec-mocks (3.11.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.11.0) rspec-rails (5.0.2) @@ -296,41 +294,42 @@ GEM rspec-expectations (~> 3.10) rspec-mocks (~> 3.10) rspec-support (~> 3.10) - rspec-support (3.11.0) - rubocop (1.26.1) + rspec-support (3.11.1) + rubocop (1.49.0) + json (~> 2.3) parallel (~> 1.10) - parser (>= 3.1.0.0) + parser (>= 3.2.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.16.0, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.28.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.16.0) - parser (>= 3.1.1.0) - rubocop-minitest (0.19.0) - rubocop (>= 0.90, < 2.0) - rubocop-packaging (0.5.1) - rubocop (>= 0.89, < 2.0) - rubocop-performance (1.13.3) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.28.0) + parser (>= 3.2.1.0) + rubocop-minitest (0.29.0) + rubocop (>= 1.39, < 2.0) + rubocop-packaging (0.5.2) + rubocop (>= 1.33, < 2.0) + rubocop-performance (1.16.0) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.14.2) + rubocop-rails (2.18.0) activesupport (>= 4.2.0) rack (>= 1.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-rails_config (1.9.1) + rubocop (>= 1.33.0, < 2.0) + rubocop-rails_config (1.12.1) railties (>= 5.0) - rubocop (>= 1.25.1) + rubocop (>= 1.39.0) rubocop-ast (>= 1.0.1) - rubocop-minitest (~> 0.15) + rubocop-minitest (~> 0.22) rubocop-packaging (~> 0.5) rubocop-performance (~> 1.11) rubocop-rails (~> 2.0) rubocop-rspec (2.9.0) rubocop (~> 1.19) - ruby-progressbar (1.11.0) - ruby-statistics (3.0.0) + ruby-progressbar (1.13.0) + ruby-statistics (3.0.1) ruby2_keywords (0.0.5) sentry-raven (3.1.2) faraday (>= 1.0) @@ -358,19 +357,18 @@ GEM tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) stackprof (0.2.19) - strscan (3.0.1) thor (1.2.1) tilt (2.0.10) - timeout (0.2.0) + timeout (0.3.2) turbostreamer (1.9.0) activesupport (>= 5.0.0) typhoeus (1.4.0) ethon (>= 0.9.0) - tzinfo (2.0.4) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) tzinfo-data (1.2022.1) tzinfo (>= 1.0.0) - unicode-display_width (2.1.0) + unicode-display_width (2.4.2) uniform_notifier (1.16.0) webrick (1.7.0) websocket-driver (0.7.5) @@ -378,7 +376,7 @@ GEM websocket-extensions (0.1.5) yard (0.9.27) webrick (~> 1.7.0) - zeitwerk (2.5.4) + zeitwerk (2.6.7) PLATFORMS ruby @@ -397,7 +395,7 @@ DEPENDENCIES graphql (= 1.11.4) graphql-schema_comparator json-schema-rspec - kredis (~> 1.3) + kredis (~> 1.3, >= 1.3.0.1) oj oj_mimic_json pagy @@ -408,7 +406,7 @@ DEPENDENCIES puma (~> 4.3, >= 4.3.12) rack-brotli rack-cors - rails (~> 7.0.2, >= 7.0.2.3) + rails (~> 7.0.4, >= 7.0.4.3) rails-html-sanitizer (>= 1.4.4) rspec-rails (= 5.0.2) rubocop (>= 1.7.0)