From 8e4d15418f1b026e01d0c034bc3c1ffe527997ec Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 13 Dec 2024 06:48:12 +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-8496389 --- Gemfile | 4 +- Gemfile.lock | 213 ++++++++++++++++++++++++++++----------------------- 2 files changed, 118 insertions(+), 99 deletions(-) diff --git a/Gemfile b/Gemfile index 45df400..cc0cf2d 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "~> 3.1.0" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" -gem "rails", "~> 7.0" +gem "rails", "~> 7.0", ">= 7.0.8.7" # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails] gem "sprockets-rails", ">= 3.5.0" @@ -64,7 +64,7 @@ group :development do # Speed up commands on slow machines / big apps [https://github.com/rails/spring] # gem "spring" - gem "hotwire-livereload", "~> 1.2" + gem "hotwire-livereload", "~> 1.3", ">= 1.3.0" end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 5e6628a..2edc4e2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,75 +1,85 @@ GEM remote: https://rubygems.org/ specs: - actioncable (7.0.4.1) - actionpack (= 7.0.4.1) - activesupport (= 7.0.4.1) + actioncable (7.1.4.2) + actionpack (= 7.1.4.2) + activesupport (= 7.1.4.2) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.4.1) - actionpack (= 7.0.4.1) - activejob (= 7.0.4.1) - activerecord (= 7.0.4.1) - activestorage (= 7.0.4.1) - activesupport (= 7.0.4.1) + zeitwerk (~> 2.6) + actionmailbox (7.1.4.2) + actionpack (= 7.1.4.2) + activejob (= 7.1.4.2) + activerecord (= 7.1.4.2) + activestorage (= 7.1.4.2) + activesupport (= 7.1.4.2) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.4.1) - actionpack (= 7.0.4.1) - actionview (= 7.0.4.1) - activejob (= 7.0.4.1) - activesupport (= 7.0.4.1) + actionmailer (7.1.4.2) + actionpack (= 7.1.4.2) + actionview (= 7.1.4.2) + activejob (= 7.1.4.2) + activesupport (= 7.1.4.2) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp - rails-dom-testing (~> 2.0) - actionpack (7.0.4.1) - actionview (= 7.0.4.1) - activesupport (= 7.0.4.1) - rack (~> 2.0, >= 2.2.0) + rails-dom-testing (~> 2.2) + actionpack (7.1.4.2) + actionview (= 7.1.4.2) + activesupport (= 7.1.4.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.4.1) - actionpack (= 7.0.4.1) - activerecord (= 7.0.4.1) - activestorage (= 7.0.4.1) - activesupport (= 7.0.4.1) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actiontext (7.1.4.2) + actionpack (= 7.1.4.2) + activerecord (= 7.1.4.2) + activestorage (= 7.1.4.2) + activesupport (= 7.1.4.2) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.4.1) - activesupport (= 7.0.4.1) + actionview (7.1.4.2) + activesupport (= 7.1.4.2) builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.4.1) - activesupport (= 7.0.4.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (7.1.4.2) + activesupport (= 7.1.4.2) globalid (>= 0.3.6) - activemodel (7.0.4.1) - activesupport (= 7.0.4.1) - activerecord (7.0.4.1) - activemodel (= 7.0.4.1) - activesupport (= 7.0.4.1) - activestorage (7.0.4.1) - actionpack (= 7.0.4.1) - activejob (= 7.0.4.1) - activerecord (= 7.0.4.1) - activesupport (= 7.0.4.1) + activemodel (7.1.4.2) + activesupport (= 7.1.4.2) + activerecord (7.1.4.2) + activemodel (= 7.1.4.2) + activesupport (= 7.1.4.2) + timeout (>= 0.4.0) + activestorage (7.1.4.2) + actionpack (= 7.1.4.2) + activejob (= 7.1.4.2) + activerecord (= 7.1.4.2) + activesupport (= 7.1.4.2) marcel (~> 1.0) - mini_mime (>= 1.1.0) - activesupport (7.0.4.1) + activesupport (7.1.4.2) + base64 + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb i18n (>= 1.6, < 2) minitest (>= 5.1) + mutex_m tzinfo (~> 2.0) addressable (2.8.1) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) backport (1.2.0) + base64 (0.2.0) benchmark (0.2.1) better_html (2.0.1) actionview (>= 6.0) @@ -78,6 +88,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties + bigdecimal (3.1.8) bootsnap (1.15.0) msgpack (~> 1.2) builder (3.3.0) @@ -90,13 +101,15 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - concurrent-ruby (1.3.1) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) crass (1.0.6) - date (3.3.3) + date (3.4.1) debug (1.7.1) irb (>= 1.5.0) reline (>= 0.3.1) diff-lcs (1.5.0) + drb (2.2.1) e2mmap (0.1.0) erb_lint (0.3.1) activesupport @@ -105,14 +118,15 @@ GEM rainbow rubocop smart_properties - erubi (1.12.0) - ffi (1.15.5) - globalid (1.0.1) - activesupport (>= 5.0) - hotwire-livereload (1.2.3) + erubi (1.13.0) + ffi (1.17.0-x86_64-linux-gnu) + globalid (1.2.1) + activesupport (>= 6.1) + hotwire-livereload (1.4.1) + actioncable (>= 6.0.0) listen (>= 3.0.0) - rails (>= 6.0.0) - i18n (1.14.5) + railties (>= 6.0.0) + i18n (1.14.6) concurrent-ruby (~> 1.0) importmap-rails (1.1.5) actionpack (>= 6.0.0) @@ -129,34 +143,34 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - listen (3.8.0) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.22.0) + loofah (2.23.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) - mail (2.8.0.1) + mail (2.8.1) mini_mime (>= 0.1.1) net-imap net-pop net-smtp - marcel (1.0.2) + marcel (1.0.4) matrix (0.4.2) - method_source (1.0.0) - mini_mime (1.1.2) - minitest (5.23.1) + mini_mime (1.1.5) + minitest (5.25.4) msgpack (1.6.0) - net-imap (0.3.4) + mutex_m (0.3.0) + net-imap (0.5.1) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.5.0) net-protocol - nio4r (2.5.8) - nokogiri (1.16.5-x86_64-linux) + nio4r (2.7.4) + nokogiri (1.17.2-x86_64-linux) racc (~> 1.4) parallel (1.22.1) parser (3.2.0.0) @@ -164,42 +178,47 @@ GEM public_suffix (5.0.1) puma (5.6.5) nio4r (~> 2.0) - racc (1.8.0) - rack (2.2.9) + racc (1.8.1) + rack (3.1.8) + rack-session (2.0.0) + rack (>= 3.0.0) rack-test (2.1.0) rack (>= 1.3) - rails (7.0.4.1) - actioncable (= 7.0.4.1) - actionmailbox (= 7.0.4.1) - actionmailer (= 7.0.4.1) - actionpack (= 7.0.4.1) - actiontext (= 7.0.4.1) - actionview (= 7.0.4.1) - activejob (= 7.0.4.1) - activemodel (= 7.0.4.1) - activerecord (= 7.0.4.1) - activestorage (= 7.0.4.1) - activesupport (= 7.0.4.1) + rackup (2.2.1) + rack (>= 3) + rails (7.1.4.2) + actioncable (= 7.1.4.2) + actionmailbox (= 7.1.4.2) + actionmailer (= 7.1.4.2) + actionpack (= 7.1.4.2) + actiontext (= 7.1.4.2) + actionview (= 7.1.4.2) + activejob (= 7.1.4.2) + activemodel (= 7.1.4.2) + activerecord (= 7.1.4.2) + activestorage (= 7.1.4.2) + activesupport (= 7.1.4.2) bundler (>= 1.15.0) - railties (= 7.0.4.1) + railties (= 7.1.4.2) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) - railties (7.0.4.1) - actionpack (= 7.0.4.1) - activesupport (= 7.0.4.1) - method_source + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) + railties (7.1.4.2) + actionpack (= 7.1.4.2) + activesupport (= 7.1.4.2) + irb + rackup (>= 1.0.0) rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.0.6) + rake (13.2.1) rb-fsevent (0.11.2) - rb-inotify (0.10.1) + rb-inotify (0.11.1) ffi (~> 1.0) regexp_parser (2.6.1) reline (0.3.2) @@ -251,9 +270,9 @@ GEM sqlite3 (1.6.0-x86_64-linux) stimulus-rails (1.2.1) railties (>= 6.0.0) - thor (1.2.1) + thor (1.3.2) tilt (2.0.11) - timeout (0.3.1) + timeout (0.4.2) turbo-rails (1.3.2) actionpack (>= 6.0.0) activejob (>= 6.0.0) @@ -267,14 +286,14 @@ GEM selenium-webdriver (~> 4.0) webrick (1.7.0) websocket (1.2.9) - websocket-driver (0.7.5) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) yard (0.9.28) webrick (~> 1.7.0) - zeitwerk (2.6.6) + zeitwerk (2.6.18) PLATFORMS x86_64-linux @@ -284,11 +303,11 @@ DEPENDENCIES capybara debug erb_lint - hotwire-livereload (~> 1.2) + hotwire-livereload (~> 1.3, >= 1.3.0) importmap-rails jbuilder puma (~> 5.0) - rails (~> 7.0) + rails (~> 7.0, >= 7.0.8.7) selenium-webdriver solargraph sprockets-rails (>= 3.5.0)