Skip to content

Commit

Permalink
Resolve Hakiri warnings for Sinatra version (#15)
Browse files Browse the repository at this point in the history
Because in the previous version of the gemspec we had an open reference to Sinatra it meant we were essentially saying any version would do.

Hakiri was flagging this with [CVE-2018-7212](sinatra/sinatra#1379), the resolution of which was to specify a version equal to or greater than 2.0.1

It was then flagging this project with [CVE-2018-11627](sinatra/sinatra#1428), and again the resolution was to specify a version, this time equal to or greater than 2.0.2
  • Loading branch information
Cruikshanks authored Sep 9, 2019
1 parent ab760ab commit 808bb7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quke_demo_app.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gem::Specification.new do |spec|

# Sinatra is a DSL for quickly creating web applications in Ruby with minimal
# effort. We've used it for creating our demo website
spec.add_dependency "sinatra"
spec.add_dependency "sinatra", "~> 2.0.2"
# Thor is a toolkit for building powerful command-line interfaces.
spec.add_dependency "thor"

Expand Down

0 comments on commit 808bb7a

Please sign in to comment.