Sha256: b04c660ececdd3d656a300a70eef79ea7d468d5b3fb272bafbba09132911435a
Contents?: true
Size: 813 Bytes
Versions: 2
Compression:
Stored size: 813 Bytes
Contents
require 'spec_helper' describe "The CVE-2015-7519 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2015_7519.new # @check.debug = true end it "is reported when the vulnerable gem is detected" do @check.dependencies = [{:name=>"passenger", :version=>"4.0.54"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected" do @check.dependencies = [{:name=>"passenger", :version=>"5.0.12"}] @check.vuln?.should == true end it "is not reported when a fixed release is detected" do @check.dependencies = [{:name=>"passenger", :version=>"4.0.60"}] @check.vuln?.should == false end it "is not reported when a fixed release is detected" do @check.dependencies = [{:name=>"passenger", :version=>"5.0.22"}] @check.vuln?.should == false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dawnscanner-1.6.1 | spec/lib/kb/cve_2015_7519_spec.rb |
dawnscanner-1.6.0 | spec/lib/kb/cve_2015_7519_spec.rb |