From af2858ab06878a39e76d9456b36fc822566ffbdf Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 29 Jun 2023 23:58:01 +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-5741907 --- Gemfile | 8 +- Gemfile.lock | 215 +++++++++++++++++++++++++++------------------------ 2 files changed, 119 insertions(+), 104 deletions(-) diff --git a/Gemfile b/Gemfile index 3c3565e0..a9595e2b 100644 --- a/Gemfile +++ b/Gemfile @@ -6,14 +6,14 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby '3.0.0' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '~> 6.1.3.2' +gem 'rails', '~> 6.1.7.4' # Use Puma as the app server gem 'puma', '~> 4.3.11' # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker gem 'sass-rails', '~> 6.0.0' -gem 'webpacker', '>= 5.2.1' +gem 'webpacker', '>= 5.2.2' # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks gem 'turbolinks', '~> 5.2.1' @@ -32,7 +32,7 @@ gem 'parallel', require: false gem 'ruby-progressbar', require: false # seo -gem 'meta-tags', '>= 2.14.0' +gem 'meta-tags', '>= 2.15.0' # For managing cros gem 'rack-cors', require: 'rack/cors' @@ -71,7 +71,7 @@ group :development do # Access an interactive console on exception pages or by calling 'console' anywhere in the code. gem 'binding_of_caller' gem 'pry-rails' - gem 'web-console', '>= 4.1.0' + gem 'web-console', '>= 4.2.0' gem 'annotate', '>= 3.1.1' gem 'puma-ngrok-tunnel', '>= 1.2.0' diff --git a/Gemfile.lock b/Gemfile.lock index 220b0f8a..35cb52c1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,75 +7,75 @@ GIT GIT remote: https://github.com/rails/actionpack-action_caching.git - revision: 7bdfa663274a2620dde8daad7dcb995c1cfef840 + revision: 05c821ec84eb79760e95b0a57ae72919eefb0257 specs: - actionpack-action_caching (1.2.1) + actionpack-action_caching (1.2.2) actionpack (>= 4.0.0) GIT remote: https://github.com/rails/actionpack-page_caching.git - revision: 0369da809329e18b7ce83797792895ba4bebcf1e + revision: d929689748f09c5d7c73cefbd9326701dcf52a30 specs: - actionpack-page_caching (1.2.3) - actionpack (>= 5.0.0) + actionpack-page_caching (1.2.4) + actionpack (>= 4.0.0) GEM remote: https://rubygems.org/ specs: - actioncable (6.1.3.2) - actionpack (= 6.1.3.2) - activesupport (= 6.1.3.2) + actioncable (6.1.7.4) + actionpack (= 6.1.7.4) + activesupport (= 6.1.7.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (6.1.3.2) - actionpack (= 6.1.3.2) - activejob (= 6.1.3.2) - activerecord (= 6.1.3.2) - activestorage (= 6.1.3.2) - activesupport (= 6.1.3.2) + actionmailbox (6.1.7.4) + actionpack (= 6.1.7.4) + activejob (= 6.1.7.4) + activerecord (= 6.1.7.4) + activestorage (= 6.1.7.4) + activesupport (= 6.1.7.4) mail (>= 2.7.1) - actionmailer (6.1.3.2) - actionpack (= 6.1.3.2) - actionview (= 6.1.3.2) - activejob (= 6.1.3.2) - activesupport (= 6.1.3.2) + actionmailer (6.1.7.4) + actionpack (= 6.1.7.4) + actionview (= 6.1.7.4) + activejob (= 6.1.7.4) + activesupport (= 6.1.7.4) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.1.3.2) - actionview (= 6.1.3.2) - activesupport (= 6.1.3.2) + actionpack (6.1.7.4) + actionview (= 6.1.7.4) + activesupport (= 6.1.7.4) rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.1.3.2) - actionpack (= 6.1.3.2) - activerecord (= 6.1.3.2) - activestorage (= 6.1.3.2) - activesupport (= 6.1.3.2) + actiontext (6.1.7.4) + actionpack (= 6.1.7.4) + activerecord (= 6.1.7.4) + activestorage (= 6.1.7.4) + activesupport (= 6.1.7.4) nokogiri (>= 1.8.5) - actionview (6.1.3.2) - activesupport (= 6.1.3.2) + actionview (6.1.7.4) + activesupport (= 6.1.7.4) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (6.1.3.2) - activesupport (= 6.1.3.2) + activejob (6.1.7.4) + activesupport (= 6.1.7.4) globalid (>= 0.3.6) - activemodel (6.1.3.2) - activesupport (= 6.1.3.2) - activerecord (6.1.3.2) - activemodel (= 6.1.3.2) - activesupport (= 6.1.3.2) - activestorage (6.1.3.2) - actionpack (= 6.1.3.2) - activejob (= 6.1.3.2) - activerecord (= 6.1.3.2) - activesupport (= 6.1.3.2) - marcel (~> 1.0.0) - mini_mime (~> 1.0.2) - activesupport (6.1.3.2) + activemodel (6.1.7.4) + activesupport (= 6.1.7.4) + activerecord (6.1.7.4) + activemodel (= 6.1.7.4) + activesupport (= 6.1.7.4) + activestorage (6.1.7.4) + actionpack (= 6.1.7.4) + activejob (= 6.1.7.4) + activerecord (= 6.1.7.4) + activesupport (= 6.1.7.4) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (6.1.7.4) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -108,10 +108,11 @@ GEM cld3 (3.4.2) ffi (>= 1.1.0, < 1.16.0) coderay (1.1.3) - concurrent-ruby (1.1.9) + concurrent-ruby (1.2.2) connection_pool (2.2.5) crass (1.0.6) dalli (2.7.11) + date (3.3.3) debug_inspector (1.1.0) elasticsearch (7.12.0) elasticsearch-api (= 7.12.0) @@ -125,7 +126,7 @@ GEM elasticsearch-transport (7.12.0) faraday (~> 1) multi_json - erubi (1.10.0) + erubi (1.12.0) ethon (0.13.0) ffi (>= 1.15.0) excon (0.80.1) @@ -144,10 +145,10 @@ GEM gettext (3.3.7) locale (>= 2.0.5) text (>= 1.3.0) - globalid (0.4.2) - activesupport (>= 4.2.0) + globalid (1.1.0) + activesupport (>= 5.0) hashie (4.1.0) - i18n (1.8.10) + i18n (1.14.1) concurrent-ruby (~> 1.0) io-like (0.3.1) jbuilder (2.11.2) @@ -156,25 +157,37 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) locale (2.1.3) - loofah (2.10.0) + loofah (2.21.3) crass (~> 1.0.2) - nokogiri (>= 1.5.9) - mail (2.7.1) + nokogiri (>= 1.12.0) + mail (2.8.1) mini_mime (>= 0.1.1) - marcel (1.0.1) + net-imap + net-pop + net-smtp + marcel (1.0.2) memcachier (0.0.2) - meta-tags (2.14.0) - actionpack (>= 3.2.0, < 6.2) + meta-tags (2.18.0) + actionpack (>= 3.2.0, < 7.1) method_source (1.0.0) - mini_mime (1.0.3) - mini_portile2 (2.5.3) - minitest (5.14.4) + mini_mime (1.1.2) + mini_portile2 (2.8.2) + minitest (5.18.1) multi_json (1.15.0) multipart-post (2.1.1) + net-imap (0.3.6) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.1) + timeout + net-smtp (0.3.3) + net-protocol ngrok-tunnel (2.1.1) - nio4r (2.5.8) - nokogiri (1.11.7) - mini_portile2 (~> 2.5.0) + nio4r (2.5.9) + nokogiri (1.15.2) + mini_portile2 (~> 2.8.2) racc (~> 1.4) oj (3.11.5) pagy (3.7.3) @@ -193,39 +206,40 @@ GEM puma-ngrok-tunnel (1.2.0) ngrok-tunnel (~> 2.1, >= 2.1.1) puma (>= 3, < 6) - racc (1.5.2) - rack (2.2.3) + racc (1.7.1) + rack (2.2.7) rack-cors (1.1.1) rack (>= 2.0.0) - rack-proxy (0.6.5) + rack-proxy (0.7.6) rack - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (6.1.3.2) - actioncable (= 6.1.3.2) - actionmailbox (= 6.1.3.2) - actionmailer (= 6.1.3.2) - actionpack (= 6.1.3.2) - actiontext (= 6.1.3.2) - actionview (= 6.1.3.2) - activejob (= 6.1.3.2) - activemodel (= 6.1.3.2) - activerecord (= 6.1.3.2) - activestorage (= 6.1.3.2) - activesupport (= 6.1.3.2) + rack-test (2.1.0) + rack (>= 1.3) + rails (6.1.7.4) + actioncable (= 6.1.7.4) + actionmailbox (= 6.1.7.4) + actionmailer (= 6.1.7.4) + actionpack (= 6.1.7.4) + actiontext (= 6.1.7.4) + actionview (= 6.1.7.4) + activejob (= 6.1.7.4) + activemodel (= 6.1.7.4) + activerecord (= 6.1.7.4) + activestorage (= 6.1.7.4) + activesupport (= 6.1.7.4) bundler (>= 1.15.0) - railties (= 6.1.3.2) + railties (= 6.1.7.4) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.3.0) - loofah (~> 2.3) - railties (6.1.3.2) - actionpack (= 6.1.3.2) - activesupport (= 6.1.3.2) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (6.1.7.4) + actionpack (= 6.1.7.4) + activesupport (= 6.1.7.4) method_source - rake (>= 0.8.7) + rake (>= 12.2) thor (~> 1.0) rainbow (3.0.0) rake (13.0.6) @@ -282,30 +296,31 @@ GEM faraday (>= 1.0) sitemap_generator (6.1.2) builder (~> 3.0) - sprockets (4.0.2) + sprockets (4.2.0) concurrent-ruby (~> 1.0) - rack (> 1, < 3) - sprockets-rails (3.2.2) - actionpack (>= 4.0) - activesupport (>= 4.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) sprockets (>= 3.0.0) text (1.3.1) - thor (1.1.0) + thor (1.2.2) tilt (2.0.10) + timeout (0.4.0) translation (1.23) gettext (~> 3.2, >= 3.2.5) turbolinks (5.2.1) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) - tzinfo (2.0.4) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.0.0) - web-console (4.1.0) + web-console (4.2.0) actionview (>= 6.0.0) activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) - webpacker (5.2.1) + webpacker (5.4.4) activesupport (>= 5.2) rack-proxy (>= 0.6.1) railties (>= 5.2) @@ -316,7 +331,7 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.4.2) + zeitwerk (2.6.8) PLATFORMS ruby @@ -338,7 +353,7 @@ DEPENDENCIES jbuilder (>= 2.10.1) listen memcachier - meta-tags (>= 2.14.0) + meta-tags (>= 2.15.0) oj pagy (= 3.7.3) parallel @@ -347,7 +362,7 @@ DEPENDENCIES puma (~> 4.3.11) puma-ngrok-tunnel (>= 1.2.0) rack-cors - rails (~> 6.1.3.2) + rails (~> 6.1.7.4) rubocop (>= 1.8.1) rubocop-performance (>= 1.7.1) rubocop-rails (~> 2.3.2) @@ -362,12 +377,12 @@ DEPENDENCIES turbolinks (~> 5.2.1) typhoeus! tzinfo-data - web-console (>= 4.1.0) - webpacker (>= 5.2.1) + web-console (>= 4.2.0) + webpacker (>= 5.2.2) webrick RUBY VERSION ruby 3.0.0p0 BUNDLED WITH - 2.2.24 + 2.2.3