Sha256: 3c865c62e825227b22cd4d0dd3fb0ae7922e0b5382ba71fe784bac9d86cdeb4e

Contents?: true

Size: 496 Bytes

Versions: 9

Compression:

Stored size: 496 Bytes

Contents

require 'spec_helper'
describe "The CVE-2013-4413 vulnerability" do
	before(:all) do
		@check = Codesake::Dawn::Kb::CVE_2013_4413.new
		# @check.debug = true
	end

  it "is reported when the vulnerable gem is detected" do
    @check.dependencies = [{:name=>"wicked", :version=>"1.0.0"}]
    @check.vuln?.should   be_true
  end
  it "is not reported when a fixed release is detected" do
    @check.dependencies = [{:name=>"wicked", :version=>"1.0.1"}]
    @check.vuln?.should   be_false
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dawnscanner-1.2.99 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.2.99 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.2.0 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.1.3 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.1.2 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.1.1 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.1.0 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.1.0.rc2 spec/lib/kb/cve_2013_4413_spec.rb
codesake-dawn-1.1.0.rc1 spec/lib/kb/cve_2013_4413_spec.rb