From 7a7eb1a6075bf269ce55ab9c63f7b2b28e1193f0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 4 Apr 2024 19:19:48 +0000 Subject: [PATCH] fix: api/ruby/basics-of-authentication/Gemfile & api/ruby/basics-of-authentication/Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-RACK-6274383 - https://snyk.io/vuln/SNYK-RUBY-RACK-6274384 - https://snyk.io/vuln/SNYK-RUBY-RACK-6274385 --- api/ruby/basics-of-authentication/Gemfile | 2 +- .../basics-of-authentication/Gemfile.lock | 22 +++++++++++-------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/api/ruby/basics-of-authentication/Gemfile b/api/ruby/basics-of-authentication/Gemfile index 4f35dd6b0..1c155beae 100644 --- a/api/ruby/basics-of-authentication/Gemfile +++ b/api/ruby/basics-of-authentication/Gemfile @@ -1,4 +1,4 @@ source "http://rubygems.org" -gem 'sinatra', '~> 1.3.5' +gem 'sinatra', '~> 2.0.0' gem 'rest-client', '~> 1.8.0' diff --git a/api/ruby/basics-of-authentication/Gemfile.lock b/api/ruby/basics-of-authentication/Gemfile.lock index 9303b5c71..5509e66ea 100644 --- a/api/ruby/basics-of-authentication/Gemfile.lock +++ b/api/ruby/basics-of-authentication/Gemfile.lock @@ -6,19 +6,23 @@ GEM http-cookie (1.0.3) domain_name (~> 0.5) mime-types (2.99.3) + mustermann (1.1.2) + ruby2_keywords (~> 0.0.1) netrc (0.11.0) - rack (1.6.13) - rack-protection (1.3.2) + rack (2.2.9) + rack-protection (2.0.8.1) rack rest-client (1.8.0) http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 3.0) netrc (~> 0.7) - sinatra (1.3.5) - rack (~> 1.4) - rack-protection (~> 1.3) - tilt (~> 1.3, >= 1.3.3) - tilt (1.3.3) + ruby2_keywords (0.0.5) + sinatra (2.0.8.1) + mustermann (~> 1.0) + rack (~> 2.0) + rack-protection (= 2.0.8.1) + tilt (~> 2.0) + tilt (2.3.0) unf (0.1.4) unf_ext unf_ext (0.0.7.6) @@ -28,7 +32,7 @@ PLATFORMS DEPENDENCIES rest-client (~> 1.8.0) - sinatra (~> 1.3.5) + sinatra (~> 2.0.0) BUNDLED WITH - 1.17.2 + 1.17.3