Sha256: 1544853e966084d023689a131789ea6460a8bdd1c656779fba9d8ef8ded6c485

Contents?: true

Size: 532 Bytes

Versions: 11

Compression:

Stored size: 532 Bytes

Contents

require 'spec_helper'
describe "The CVE-2014-0036 vulnerability" do
	before(:all) do
		@check = Dawn::Kb::CVE_2014_0036.new
		# @check.debug = true
	end
  it "is reported when a vulnerable rbovirt gem version is detected (0.0.23)" do
    @check.dependencies = [{:name=>"rbovirt", :version=>'0.0.23'}]
    @check.vuln?.should   == true
  end
  it "is not reported when a sage rbovirt gem version is detected (0.0.24)" do
    @check.dependencies = [{:name=>"rbovirt", :version=>'0.0.24'}]
    @check.vuln?.should   == false
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dawnscanner-1.6.1 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.6.0 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.5.2 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.5.1 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.5.0 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.4.2 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.4.1 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.4.0 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.3.5 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.3.1 spec/lib/kb/cve_2014_0036_spec.rb
dawnscanner-1.3.0 spec/lib/kb/cve_2014_0036_spec.rb