Sha256: db9a2b9b6f0ededb3975a8b9dadcbdd3763ced7e57c99fe2d72e40b1e0517732

Contents?: true

Size: 680 Bytes

Versions: 16

Compression:

Stored size: 680 Bytes

Contents

require 'spec_helper'
describe "The CVE-2013-5647 vulnerability" do
	before(:all) do
		@check = Codesake::Dawn::Kb::CVE_2013_5647.new
		# @check.debug = true
	end
  it "fires when vulnerable sounder 1.0.1 version is userd" do
    @check.dependencies = [{:name=>"sounder", :version=>'1.0.1'}]
    @check.vuln?.should   be_true
  end
  it "doesn't fire when sounder not vulnerable version is used" do
    @check.dependencies = [{:name=>"sounder", :version=>'1.0.2'}]
    @check.vuln?.should   be_false
  end
  it "doesn't fire when a very old sounder version is used" do
    @check.dependencies = [{:name=>"sounder", :version=>'0.9.2'}]
    @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_5647_spec.rb
codesake-dawn-1.2.99 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.2.0 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.1.3 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.1.2 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.1.1 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.1.0 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.1.0.rc2 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.1.0.rc1 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.0.6 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.0.5 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.0.4 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.0.3 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.0.2 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.0.1 spec/lib/kb/cve_2013_5647_spec.rb
codesake-dawn-1.0.0 spec/lib/kb/cve_2013_5647_spec.rb