Sha256: 36a3803e99241c6250a018160d21c3070c2d4a53b364c72d050356abfdc30cdf

Contents?: true

Size: 615 Bytes

Versions: 16

Compression:

Stored size: 615 Bytes

Contents

require 'spec_helper'
describe "The CVE-2013-7086 vulnerability" do
	before(:all) do
		@check = Codesake::Dawn::Kb::CVE_2013_7086.new
		# @check.debug = true
	end
	it "is detected for gem 1.0.5.3" do
    @check.dependencies = [{:name=>"webbynode", :version=>'1.0.5.3'}]
    @check.vuln?.should  be_true
  end

  it "is detected for gem 1.0.4.3" do
    @check.dependencies = [{:name=>"webbynode", :version=>'1.0.4.3'}]
    @check.vuln?.should  be_true
  end

  it "is not detected for gem 1.0.5.4" do
    @check.dependencies = [{:name=>"webbynode", :version=>'1.0.5.4'}]
    @check.vuln?.should  be_false
  end

end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
dawnscanner-1.2.99 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.2.99 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.2.0 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.1.3 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.1.2 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.1.1 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.1.0 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.1.0.rc2 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.1.0.rc1 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.0.6 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.0.5 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.0.4 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.0.3 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.0.2 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.0.1 spec/lib/kb/cve_2013_7086_spec.rb
codesake-dawn-1.0.0 spec/lib/kb/cve_2013_7086_spec.rb