Skip to content

Commit

Permalink
fix: samples/server/petstore/ruby-sinatra/Gemfile & samples/server/pe…
Browse files Browse the repository at this point in the history
…tstore/ruby-sinatra/Gemfile.lock to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-2848599
  • Loading branch information
snyk-bot committed Oct 12, 2024
1 parent 0b37b59 commit 58243bd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion samples/server/petstore/ruby-sinatra/Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'

gem "webrick"
gem "sinatra", ">= 2.0.0"
gem "sinatra", ">= 3.1.0"
gem "sinatra-cross_origin"
32 changes: 23 additions & 9 deletions samples/server/petstore/ruby-sinatra/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
GEM
remote: https://rubygems.org/
specs:
rack (1.6.4)
rack-protection (1.5.3)
rack
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
base64 (0.2.0)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
rack (3.1.7)
rack-protection (4.0.0)
base64 (>= 0.1.0)
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack (>= 3.0.0)
ruby2_keywords (0.0.5)
sinatra (4.0.0)
mustermann (~> 3.0)
rack (>= 3.0.0, < 4)
rack-protection (= 4.0.0)
rack-session (>= 2.0.0, < 3)
tilt (~> 2.0)
sinatra-cross_origin (0.3.2)
tilt (2.0.1)
tilt (2.4.0)
webrick (1.8.2)

PLATFORMS
ruby

DEPENDENCIES
sinatra
sinatra (>= 3.1.0)
sinatra-cross_origin
webrick

BUNDLED WITH
2.1.4

0 comments on commit 58243bd

Please sign in to comment.