From 684c36ad158540cfc1dbf152780c5a4243cd680d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 12 Jun 2024 23:48:45 +0000 Subject: [PATCH] fix: Gemfile & Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-ACTIONTEXT-7247324 --- Gemfile | 2 +- Gemfile.lock | 197 +++++++++++++++++++++++++-------------------------- 2 files changed, 99 insertions(+), 100 deletions(-) diff --git a/Gemfile b/Gemfile index 525929f9..2b40ae5e 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.8', '>= 7.0.8.3' # Use postgresql as the database for Active Record gem 'pg', '>= 0.18', '< 2.0' diff --git a/Gemfile.lock b/Gemfile.lock index b1cdbee0..1f23de85 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.8.4) + actionpack (= 7.0.8.4) + activesupport (= 7.0.8.4) 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.8.4) + actionpack (= 7.0.8.4) + activejob (= 7.0.8.4) + activerecord (= 7.0.8.4) + activestorage (= 7.0.8.4) + activesupport (= 7.0.8.4) 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.8.4) + actionpack (= 7.0.8.4) + actionview (= 7.0.8.4) + activejob (= 7.0.8.4) + activesupport (= 7.0.8.4) 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) - rack (~> 2.0, >= 2.2.0) + actionpack (7.0.8.4) + actionview (= 7.0.8.4) + activesupport (= 7.0.8.4) + rack (~> 2.0, >= 2.2.4) 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.8.4) + actionpack (= 7.0.8.4) + activerecord (= 7.0.8.4) + activestorage (= 7.0.8.4) + activesupport (= 7.0.8.4) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.2.3) - activesupport (= 7.0.2.3) + actionview (7.0.8.4) + activesupport (= 7.0.8.4) 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.8.4) + activesupport (= 7.0.8.4) 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.8.4) + activesupport (= 7.0.8.4) + activerecord (7.0.8.4) + activemodel (= 7.0.8.4) + activesupport (= 7.0.8.4) + activestorage (7.0.8.4) + actionpack (= 7.0.8.4) + activejob (= 7.0.8.4) + activerecord (= 7.0.8.4) + activesupport (= 7.0.8.4) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.2.3) + activesupport (7.0.8.4) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -78,7 +78,7 @@ GEM benchmark (0.2.0) benchmark-ips (2.10.0) brotli (0.4.0) - builder (3.2.4) + builder (3.3.0) bullet (7.0.1) activesupport (>= 3.0.0) uniform_notifier (~> 1.11) @@ -86,9 +86,10 @@ GEM cld3 (3.4.3) ffi (>= 1.1.0, < 1.16.0) coderay (1.1.3) - concurrent-ruby (1.1.10) + concurrent-ruby (1.3.3) connection_pool (2.3.0) crass (1.0.6) + date (3.3.4) dead_end (3.1.1) derailed_benchmarks (2.1.1) benchmark-ips (~> 2) @@ -103,7 +104,6 @@ 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) @@ -121,7 +121,7 @@ GEM elasticsearch-transport (7.17.1) 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) @@ -155,8 +155,8 @@ GEM ffi (1.15.5) get_process_mem (0.2.7) ffi (~> 1.0) - globalid (1.0.0) - activesupport (>= 5.0) + globalid (1.2.1) + activesupport (>= 6.1) graphql (1.11.4) graphql-schema_comparator (1.1.1) bundler (>= 1.14) @@ -165,7 +165,7 @@ GEM hashie (5.0.0) heapy (0.2.0) thor - i18n (1.10.0) + i18n (1.14.5) concurrent-ruby (~> 1.0) jaro_winkler (1.5.4) json-schema (2.8.1) @@ -180,37 +180,35 @@ GEM kredis (1.3.0.1) activesupport (>= 6.0.0) redis (>= 4.2, < 6) - loofah (2.19.1) + loofah (2.22.0) 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.2) + net-imap + net-pop + net-smtp + marcel (1.0.4) memory_profiler (1.0.0) - method_source (1.0.0) + method_source (1.1.0) mini_histogram (0.3.1) - mini_mime (1.1.2) - mini_portile2 (2.8.0) - minitest (5.15.0) + mini_mime (1.1.5) + mini_portile2 (2.8.7) + minitest (5.23.1) multi_json (1.15.0) multipart-post (2.1.1) - net-imap (0.2.3) - digest + net-imap (0.4.12) + date net-protocol - strscan - net-pop (0.1.1) - digest + net-pop (0.1.2) net-protocol + net-protocol (0.2.2) timeout - net-protocol (0.1.3) - timeout - net-smtp (0.3.1) - digest + net-smtp (0.5.0) net-protocol - timeout - nio4r (2.5.8) - nokogiri (1.13.10) - mini_portile2 (~> 2.8.0) + nio4r (2.7.3) + nokogiri (1.16.5) + mini_portile2 (~> 2.8.2) racc (~> 1.4) oj (3.13.11) oj_mimic_json (1.0.1) @@ -231,43 +229,45 @@ GEM public_suffix (4.0.6) puma (4.3.12) nio4r (~> 2.0) - racc (1.6.1) - rack (2.2.3) + racc (1.8.0) + rack (2.2.9) rack-brotli (1.2.0) brotli (>= 0.1.7) rack (>= 1.4) rack-cors (1.1.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.8.4) + actioncable (= 7.0.8.4) + actionmailbox (= 7.0.8.4) + actionmailer (= 7.0.8.4) + actionpack (= 7.0.8.4) + actiontext (= 7.0.8.4) + actionview (= 7.0.8.4) + activejob (= 7.0.8.4) + activemodel (= 7.0.8.4) + activerecord (= 7.0.8.4) + activestorage (= 7.0.8.4) + activesupport (= 7.0.8.4) bundler (>= 1.15.0) - railties (= 7.0.2.3) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + railties (= 7.0.8.4) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.4.4) - loofah (~> 2.19, >= 2.19.1) - railties (7.0.2.3) - actionpack (= 7.0.2.3) - activesupport (= 7.0.2.3) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.0.8.4) + actionpack (= 7.0.8.4) + activesupport (= 7.0.8.4) method_source rake (>= 12.2) thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) - rake (13.0.6) + rake (13.2.1) redis (5.0.6) redis-client (>= 0.9.0) redis-client (0.14.0) @@ -358,27 +358,26 @@ GEM tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) stackprof (0.2.19) - strscan (3.0.1) - thor (1.2.1) + thor (1.3.1) tilt (2.0.10) - timeout (0.2.0) + timeout (0.4.1) 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) uniform_notifier (1.16.0) webrick (1.7.0) - websocket-driver (0.7.5) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) yard (0.9.27) webrick (~> 1.7.0) - zeitwerk (2.5.4) + zeitwerk (2.6.15) PLATFORMS ruby @@ -408,7 +407,7 @@ DEPENDENCIES puma (~> 4.3, >= 4.3.12) rack-brotli rack-cors - rails (~> 7.0.2, >= 7.0.2.3) + rails (~> 7.0.8, >= 7.0.8.3) rails-html-sanitizer (>= 1.4.4) rspec-rails (= 5.0.2) rubocop (>= 1.7.0) @@ -428,4 +427,4 @@ RUBY VERSION ruby 3.1.0p0 BUNDLED WITH - 2.3.3 + 2.3.26