From fbc4da4abdd763753b2045616f3af763b0f5aa4d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 25 Sep 2024 08:38:35 +0000 Subject: [PATCH] fix: Gemfile & Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-1293239 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-6056551 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-6056552 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-6056553 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-6056554 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-6056555 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-7164639 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-534637 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-2840634 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-2413994 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-552159 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-1726792 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-2620374 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-2630623 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-2630898 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-3052880 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-6228056 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-1055008 --- Gemfile | 4 +- Gemfile.lock | 169 ++++++++++++++++++++++++++++----------------------- 2 files changed, 95 insertions(+), 78 deletions(-) diff --git a/Gemfile b/Gemfile index c697f937..2cada4d1 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '5.2.3' +gem 'rails', '5.2.5' # Use postgresql as the database for Active Record gem 'pg' @@ -54,7 +54,7 @@ gem 'puma' gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] gem 'redis' gem 'knock', '>= 2.1.1' -gem 'apipie-rails', '>= 0.5.16' +gem 'apipie-rails', '>= 0.6.0' gem 'rack-cors', require: 'rack/cors' gem 'nokogiri', '>= 1.10.4' gem 'phony_rails' diff --git a/Gemfile.lock b/Gemfile.lock index 1079c1b4..1075fc56 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,25 +1,25 @@ GEM remote: https://rubygems.org/ specs: - actioncable (5.2.3) - actionpack (= 5.2.3) + actioncable (5.2.5) + actionpack (= 5.2.5) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailer (5.2.3) - actionpack (= 5.2.3) - actionview (= 5.2.3) - activejob (= 5.2.3) + actionmailer (5.2.5) + actionpack (= 5.2.5) + actionview (= 5.2.5) + activejob (= 5.2.5) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (5.2.3) - actionview (= 5.2.3) - activesupport (= 5.2.3) - rack (~> 2.0) + actionpack (5.2.5) + actionview (= 5.2.5) + activesupport (= 5.2.5) + rack (~> 2.0, >= 2.0.8) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.2.3) - activesupport (= 5.2.3) + actionview (5.2.5) + activesupport (= 5.2.5) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) @@ -32,20 +32,20 @@ GEM activemodel (>= 4.1, < 6.1) case_transform (>= 0.2) jsonapi-renderer (>= 0.1.1.beta1, < 0.3) - activejob (5.2.3) - activesupport (= 5.2.3) + activejob (5.2.5) + activesupport (= 5.2.5) globalid (>= 0.3.6) - activemodel (5.2.3) - activesupport (= 5.2.3) - activerecord (5.2.3) - activemodel (= 5.2.3) - activesupport (= 5.2.3) + activemodel (5.2.5) + activesupport (= 5.2.5) + activerecord (5.2.5) + activemodel (= 5.2.5) + activesupport (= 5.2.5) arel (>= 9.0) - activestorage (5.2.3) - actionpack (= 5.2.3) - activerecord (= 5.2.3) - marcel (~> 0.3.1) - activesupport (5.2.3) + activestorage (5.2.5) + actionpack (= 5.2.5) + activerecord (= 5.2.5) + marcel (~> 1.0.0) + activesupport (5.2.5) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) @@ -59,11 +59,13 @@ GEM annotate (2.7.5) activerecord (>= 3.2, < 7.0) rake (>= 10.4, < 13.0) - apipie-rails (0.5.16) - rails (>= 4.1) + apipie-rails (1.4.2) + actionpack (>= 5.0) + activesupport (>= 5.0) arel (9.0.0) autoprefixer-rails (9.6.1) execjs + base64 (0.2.0) bcrypt (3.1.13) bindex (0.8.1) bootsnap (1.4.4) @@ -73,7 +75,7 @@ GEM bootstrap-sass (3.4.1) autoprefixer-rails (>= 5.2.1) sassc (>= 2.0.0) - builder (3.2.3) + builder (3.3.0) bundler-audit (0.6.1) bundler (>= 1.2.0, < 3) thor (~> 0.18) @@ -119,9 +121,10 @@ GEM chronic (0.10.2) cocoon (1.2.14) coderay (1.1.2) - concurrent-ruby (1.1.5) - crass (1.0.4) + concurrent-ruby (1.3.4) + crass (1.0.6) database_cleaner (1.7.0) + date (3.3.4) date_validator (0.9.0) activemodel activesupport @@ -135,7 +138,7 @@ GEM docile (1.3.2) enumerize (2.3.1) activesupport (>= 3.2) - erubi (1.8.0) + erubi (1.13.0) execjs (2.7.0) factory_bot (5.0.2) activesupport (>= 4.2.0) @@ -146,8 +149,8 @@ GEM i18n (>= 0.7) ffi (1.11.1) formatador (0.2.5) - globalid (0.4.2) - activesupport (>= 4.2.0) + globalid (1.1.0) + activesupport (>= 5.0) gon (6.2.1) actionpack (>= 3.0) multi_json @@ -207,24 +210,23 @@ GEM rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) - loofah (2.2.3) + loofah (2.22.0) crass (~> 1.0.2) - nokogiri (>= 1.5.9) + nokogiri (>= 1.12.0) lumberjack (1.0.13) - mail (2.7.1) + mail (2.8.1) mini_mime (>= 0.1.1) - marcel (0.3.3) - mimemagic (~> 0.3.2) + net-imap + net-pop + net-smtp + marcel (1.0.4) method_source (0.9.2) mime-types (3.2.2) mime-types-data (~> 3.2015) mime-types-data (3.2019.0331) - mimemagic (0.3.10) - nokogiri (~> 1) - rake - mini_mime (1.0.2) - mini_portile2 (2.4.0) - minitest (5.11.3) + mini_mime (1.1.5) + mini_portile2 (2.8.7) + minitest (5.25.1) momentjs-rails (2.20.1) railties (>= 3.1) monetize (1.7.0) @@ -240,12 +242,22 @@ GEM multi_json (1.13.1) multi_xml (0.6.0) nenv (0.3.0) + net-imap (0.4.16) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout net-scp (2.0.0) net-ssh (>= 2.6.5, < 6.0.0) + net-smtp (0.5.0) + net-protocol net-ssh (5.2.0) - nio4r (2.4.0) - nokogiri (1.10.4) - mini_portile2 (~> 2.4.0) + nio4r (2.7.3) + nokogiri (1.15.6) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) notiffany (0.1.1) nenv (~> 0.1) shellany (~> 0.0) @@ -270,31 +282,34 @@ GEM nio4r (~> 2.0) pundit (2.0.1) activesupport (>= 3.0.0) - rack (2.0.7) + racc (1.8.1) + rack (2.2.9) rack-cors (1.0.3) - rack-test (1.1.0) - rack (>= 1.0, < 3) - rails (5.2.3) - actioncable (= 5.2.3) - actionmailer (= 5.2.3) - actionpack (= 5.2.3) - actionview (= 5.2.3) - activejob (= 5.2.3) - activemodel (= 5.2.3) - activerecord (= 5.2.3) - activestorage (= 5.2.3) - activesupport (= 5.2.3) + rack-test (2.1.0) + rack (>= 1.3) + rails (5.2.5) + actioncable (= 5.2.5) + actionmailer (= 5.2.5) + actionpack (= 5.2.5) + actionview (= 5.2.5) + activejob (= 5.2.5) + activemodel (= 5.2.5) + activerecord (= 5.2.5) + activestorage (= 5.2.5) + activesupport (= 5.2.5) bundler (>= 1.3.0) - railties (= 5.2.3) + railties (= 5.2.5) sprockets-rails (>= 2.0.0) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.2.0) - loofah (~> 2.2, >= 2.2.2) - railties (5.2.3) - actionpack (= 5.2.3) - activesupport (= 5.2.3) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (5.2.5) + actionpack (= 5.2.5) + activesupport (= 5.2.5) method_source rake (>= 0.8.7) thor (>= 0.19.0, < 2.0) @@ -393,12 +408,13 @@ GEM spring-watcher-listen (2.0.1) listen (>= 2.7, < 4.0) spring (>= 1.2, < 3.0) - sprockets (3.7.2) + sprockets (3.7.5) + base64 concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.2.1) - actionpack (>= 4.0) - activesupport (>= 4.0) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) sprockets (>= 3.0.0) sshkit (1.19.1) net-scp (>= 1.1.2) @@ -408,7 +424,8 @@ GEM thread_safe (0.3.6) tilt (2.0.9) timecop (0.9.1) - tzinfo (1.2.5) + timeout (0.4.1) + tzinfo (1.2.11) thread_safe (~> 0.1) uglifier (4.1.20) execjs (>= 0.3.0, < 3) @@ -426,9 +443,9 @@ GEM nokogiri (~> 1.6) rubyzip (>= 1.3.0) selenium-webdriver (>= 3.0, < 4.0) - websocket-driver (0.7.1) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.4) + websocket-extensions (0.1.5) whenever (1.0.0) chronic (>= 0.6.3) wicked_pdf (1.1.0) @@ -444,7 +461,7 @@ DEPENDENCIES active_model_serializers (~> 0.10.10) acts_as_list annotate - apipie-rails (>= 0.5.16) + apipie-rails (>= 0.6.0) bootsnap bootstrap-datepicker-rails (= 1.6.4.1) bootstrap-sass (~> 3.4.0) @@ -486,7 +503,7 @@ DEPENDENCIES puma pundit rack-cors - rails (= 5.2.3) + rails (= 5.2.5) ransack (>= 2.1.1) recursive-open-struct redis