Sha256: 77d63a76f8e86644fbb383eb904eca24d19c5419a773733d0c962fee26e8d054
Contents?: true
Size: 1.97 KB
Versions: 11
Compression:
Stored size: 1.97 KB
Contents
require 'spec_helper' describe "The CVE-2013-0183 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2013_0183.new # @check.debug = true end it "is reported when the vulnerable gem is detected - 1.3.0" do @check.dependencies = [{:name=>"rack", :version=>"1.3.0"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.3.1" do @check.dependencies = [{:name=>"rack", :version=>"1.3.1"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.3.2" do @check.dependencies = [{:name=>"rack", :version=>"1.3.2"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.3.3" do @check.dependencies = [{:name=>"rack", :version=>"1.3.3"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.3.4" do @check.dependencies = [{:name=>"rack", :version=>"1.3.4"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.3.5" do @check.dependencies = [{:name=>"rack", :version=>"1.3.5"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.3.6" do @check.dependencies = [{:name=>"rack", :version=>"1.3.6"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.3.7" do @check.dependencies = [{:name=>"rack", :version=>"1.3.7"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.4.0" do @check.dependencies = [{:name=>"rack", :version=>"1.4.0"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.4.1" do @check.dependencies = [{:name=>"rack", :version=>"1.4.1"}] @check.vuln?.should == true end it "is reported when the vulnerable gem is detected - 1.4.2" do @check.dependencies = [{:name=>"rack", :version=>"1.4.2"}] @check.vuln?.should == true end end
Version data entries
11 entries across 11 versions & 1 rubygems