From be368ff82b141336d3555f0132a9a4d5fdf7ebce Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 4 Apr 2024 15:36:04 +0000 Subject: [PATCH] fix: webui/Gemfile & webui/Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-6274386 - https://snyk.io/vuln/SNYK-RUBY-RACK-6274383 - https://snyk.io/vuln/SNYK-RUBY-RACK-6274384 - https://snyk.io/vuln/SNYK-RUBY-RACK-6274385 - https://snyk.io/vuln/SNYK-RUBY-RDOC-6476871 --- webui/Gemfile | 24 +-- webui/Gemfile.lock | 362 +++++++++++++++++++++++++++++---------------- 2 files changed, 243 insertions(+), 143 deletions(-) diff --git a/webui/Gemfile b/webui/Gemfile index 6f7670f..d88cd29 100644 --- a/webui/Gemfile +++ b/webui/Gemfile @@ -2,24 +2,24 @@ source 'https://rubygems.org/' #source 'file:///home/pqr/work/rubygems/' #source 'file:///media/laila/MARIO_64/rubygems/' -gem 'rails', '4.1.8' +gem 'rails', '7.0.8.1' gem 'sqlite3' -gem 'sass-rails', '~> 4.0.0' +gem 'sass-rails', '~> 5.0.8' gem 'uglifier', '>= 1.3.0' -gem 'coffee-rails', '~> 4.0.0' +gem 'coffee-rails', '~> 4.2.2' gem 'therubyracer', platforms: :ruby -gem 'jquery-rails' -gem 'turbolinks' +gem 'jquery-rails', '>= 4.0.1' +gem 'turbolinks', '>= 2.5.4' gem 'jbuilder', '~> 1.2' -gem 'thin' -gem 'devise' -gem 'twitter-bootstrap-rails' -gem 'less-rails' -gem 'better_errors' +gem 'thin', '>= 1.7.0' +gem 'devise', '>= 4.7.0' +gem 'twitter-bootstrap-rails', '>= 3.2.2' +gem 'less-rails', '>= 2.7.1' +gem 'better_errors', '>= 2.2.0' gem 'binding_of_caller' -gem 'web-console' +gem 'web-console', '>= 2.3.0' group :doc do # bundle exec rake doc:rails generates the API under doc/api. - gem 'sdoc', require: false + gem 'sdoc', '>= 1.0.0', require: false end diff --git a/webui/Gemfile.lock b/webui/Gemfile.lock index 82e2cc4..9af147c 100644 --- a/webui/Gemfile.lock +++ b/webui/Gemfile.lock @@ -1,175 +1,275 @@ GEM remote: https://rubygems.org/ specs: - actionmailer (4.1.8) - actionpack (= 4.1.8) - actionview (= 4.1.8) + actioncable (7.0.8.1) + actionpack (= 7.0.8.1) + activesupport (= 7.0.8.1) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (7.0.8.1) + actionpack (= 7.0.8.1) + activejob (= 7.0.8.1) + activerecord (= 7.0.8.1) + activestorage (= 7.0.8.1) + activesupport (= 7.0.8.1) + mail (>= 2.7.1) + net-imap + net-pop + net-smtp + actionmailer (7.0.8.1) + actionpack (= 7.0.8.1) + actionview (= 7.0.8.1) + activejob (= 7.0.8.1) + activesupport (= 7.0.8.1) mail (~> 2.5, >= 2.5.4) - actionpack (4.1.8) - actionview (= 4.1.8) - activesupport (= 4.1.8) - rack (~> 1.5.2) - rack-test (~> 0.6.2) - actionview (4.1.8) - activesupport (= 4.1.8) + net-imap + net-pop + net-smtp + rails-dom-testing (~> 2.0) + actionpack (7.0.8.1) + actionview (= 7.0.8.1) + activesupport (= 7.0.8.1) + 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.8.1) + actionpack (= 7.0.8.1) + activerecord (= 7.0.8.1) + activestorage (= 7.0.8.1) + activesupport (= 7.0.8.1) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.0.8.1) + activesupport (= 7.0.8.1) builder (~> 3.1) - erubis (~> 2.7.0) - activemodel (4.1.8) - activesupport (= 4.1.8) - builder (~> 3.1) - activerecord (4.1.8) - activemodel (= 4.1.8) - activesupport (= 4.1.8) - arel (~> 5.0.0) - activesupport (4.1.8) - i18n (~> 0.6, >= 0.6.9) - json (~> 1.7, >= 1.7.7) - minitest (~> 5.1) - thread_safe (~> 0.1) - tzinfo (~> 1.1) - arel (5.0.1.20140414130214) - bcrypt (3.1.10) - better_errors (2.1.1) - coderay (>= 1.0.0) - erubis (>= 2.6.6) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (7.0.8.1) + activesupport (= 7.0.8.1) + globalid (>= 0.3.6) + activemodel (7.0.8.1) + activesupport (= 7.0.8.1) + activerecord (7.0.8.1) + activemodel (= 7.0.8.1) + activesupport (= 7.0.8.1) + activestorage (7.0.8.1) + actionpack (= 7.0.8.1) + activejob (= 7.0.8.1) + activerecord (= 7.0.8.1) + activesupport (= 7.0.8.1) + marcel (~> 1.0) + mini_mime (>= 1.1.0) + activesupport (7.0.8.1) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + base64 (0.2.0) + bcrypt (3.1.20) + better_errors (2.10.1) + erubi (>= 1.0.0) rack (>= 0.9.0) - binding_of_caller (0.7.2) - debug_inspector (>= 0.0.1) - builder (3.2.2) - coderay (1.1.0) - coffee-rails (4.0.1) + rouge (>= 1.0.0) + bindex (0.8.1) + binding_of_caller (1.0.1) + debug_inspector (>= 1.2.0) + builder (3.2.4) + coffee-rails (4.2.2) coffee-script (>= 2.2.0) - railties (>= 4.0.0, < 5.0) + railties (>= 4.0.0) coffee-script (2.4.1) coffee-script-source execjs - coffee-script-source (1.9.1.1) + coffee-script-source (1.12.2) commonjs (0.2.7) - daemons (1.2.3) - debug_inspector (0.0.2) - devise (3.5.1) + concurrent-ruby (1.2.3) + crass (1.0.6) + daemons (1.4.1) + date (3.3.4) + debug_inspector (1.2.0) + devise (4.9.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) - railties (>= 3.2.6, < 5) + railties (>= 4.1.0) responders - thread_safe (~> 0.1) warden (~> 1.2.3) - erubis (2.7.0) - eventmachine (1.0.7) - execjs (2.5.2) - hike (1.2.3) - i18n (0.7.0) + erubi (1.12.0) + eventmachine (1.2.7) + execjs (2.9.1) + ffi (1.16.3) + globalid (1.2.1) + activesupport (>= 6.1) + i18n (1.14.4) + concurrent-ruby (~> 1.0) jbuilder (1.5.3) activesupport (>= 3.0.0) multi_json (>= 1.2.0) - jquery-rails (3.1.3) - railties (>= 3.0, < 5.0) + jquery-rails (4.6.0) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (1.8.3) + json (2.7.2) less (2.6.0) commonjs (~> 0.2.7) - less-rails (2.7.0) - actionpack (>= 4.0) + less-rails (4.0.0) + actionpack (>= 4) less (~> 2.6.0) - sprockets (> 2, < 4) - tilt + sprockets (>= 2) libv8 (3.16.14.11) - mail (2.6.3) - mime-types (>= 1.16, < 3) - mime-types (2.6.1) - minitest (5.7.0) - multi_json (1.11.2) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.4) + method_source (1.0.0) + mini_mime (1.1.5) + mini_portile2 (2.8.5) + minitest (5.22.3) + multi_json (1.15.0) + net-imap (0.4.10) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.0) + net-protocol + nio4r (2.7.1) + nokogiri (1.15.6) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) orm_adapter (0.5.0) - rack (1.5.5) - rack-test (0.6.3) - rack (>= 1.0) - rails (4.1.8) - actionmailer (= 4.1.8) - actionpack (= 4.1.8) - actionview (= 4.1.8) - activemodel (= 4.1.8) - activerecord (= 4.1.8) - activesupport (= 4.1.8) - bundler (>= 1.3.0, < 2.0) - railties (= 4.1.8) - sprockets-rails (~> 2.0) - railties (4.1.8) - actionpack (= 4.1.8) - activesupport (= 4.1.8) - rake (>= 0.8.7) - thor (>= 0.18.1, < 2.0) - rake (10.4.2) - rdoc (4.2.0) + psych (5.1.2) + stringio + racc (1.7.3) + rack (2.2.9) + rack-test (2.1.0) + rack (>= 1.3) + rails (7.0.8.1) + actioncable (= 7.0.8.1) + actionmailbox (= 7.0.8.1) + actionmailer (= 7.0.8.1) + actionpack (= 7.0.8.1) + actiontext (= 7.0.8.1) + actionview (= 7.0.8.1) + activejob (= 7.0.8.1) + activemodel (= 7.0.8.1) + activerecord (= 7.0.8.1) + activestorage (= 7.0.8.1) + activesupport (= 7.0.8.1) + bundler (>= 1.15.0) + railties (= 7.0.8.1) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.0.8.1) + actionpack (= 7.0.8.1) + activesupport (= 7.0.8.1) + method_source + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.5) + rake (13.2.0) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) + rdoc (6.6.3.1) + psych (>= 4.0.0) ref (2.0.0) - responders (1.1.2) - railties (>= 3.2, < 4.2) - sass (3.2.19) - sass-rails (4.0.5) - railties (>= 4.0.0, < 5.0) - sass (~> 3.2.2) - sprockets (~> 2.8, < 3.0) - sprockets-rails (~> 2.0) - sdoc (0.4.1) - json (~> 1.7, >= 1.7.7) - rdoc (~> 4.0) - sprockets (2.12.4) - hike (~> 1.2) - multi_json (~> 1.0) - rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.3.2) - actionpack (>= 3.0) - activesupport (>= 3.0) + responders (3.1.1) + actionpack (>= 5.2) + railties (>= 5.2) + rouge (4.2.1) + sass (3.7.4) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sass-rails (5.0.8) + railties (>= 5.2.0) + sass (~> 3.1) sprockets (>= 2.8, < 4.0) + sprockets-rails (>= 2.0, < 4.0) + tilt (>= 1.1, < 3) + sdoc (2.6.1) + rdoc (>= 5.0) + sprockets (3.7.3) + base64 + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + sprockets (>= 3.0.0) sqlite3 (1.3.10) + stringio (3.1.0) therubyracer (0.12.2) libv8 (~> 3.16.14.0) ref - thin (1.6.3) + thin (1.8.2) daemons (~> 1.0, >= 1.0.9) - eventmachine (~> 1.0) - rack (~> 1.0) - thor (0.19.1) - thread_safe (0.3.5) - tilt (1.4.1) - turbolinks (2.5.3) - coffee-rails - twitter-bootstrap-rails (3.2.0) - actionpack (~> 4.1) - execjs (~> 2.2) - rails (~> 4.1) - railties (~> 4.1) - tzinfo (1.2.2) - thread_safe (~> 0.1) + eventmachine (~> 1.0, >= 1.0.4) + rack (>= 1, < 3) + thor (1.3.1) + tilt (2.3.0) + timeout (0.4.1) + turbolinks (5.2.1) + turbolinks-source (~> 5.2) + turbolinks-source (5.2.0) + twitter-bootstrap-rails (5.0.0) + actionpack (>= 5.0, < 8.0) + execjs (~> 2.7) + less-rails (>= 3.0, < 5.0) + railties (>= 5.0, < 8.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) uglifier (2.7.1) execjs (>= 0.3.0) json (>= 1.8.0) - warden (1.2.3) - rack (>= 1.0) - web-console (2.2.1) - activemodel (>= 4.0) - binding_of_caller (>= 0.7.2) - railties (>= 4.0) - sprockets-rails (>= 2.0, < 4.0) + warden (1.2.9) + rack (>= 2.0.9) + web-console (4.2.1) + actionview (>= 6.0.0) + activemodel (>= 6.0.0) + bindex (>= 0.4.0) + railties (>= 6.0.0) + websocket-driver (0.7.6) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.6.13) PLATFORMS ruby DEPENDENCIES - better_errors + better_errors (>= 2.2.0) binding_of_caller - coffee-rails (~> 4.0.0) - devise + coffee-rails (~> 4.2.2) + devise (>= 4.7.0) jbuilder (~> 1.2) - jquery-rails - less-rails - rails (= 4.1.8) - sass-rails (~> 4.0.0) - sdoc + jquery-rails (>= 4.0.1) + less-rails (>= 2.7.1) + rails (= 7.0.8.1) + sass-rails (~> 5.0.8) + sdoc (>= 1.0.0) sqlite3 therubyracer - thin - turbolinks - twitter-bootstrap-rails + thin (>= 1.7.0) + turbolinks (>= 2.5.4) + twitter-bootstrap-rails (>= 3.2.2) uglifier (>= 1.3.0) - web-console + web-console (>= 2.3.0) + +BUNDLED WITH + 2.1.4