Sha256: 4fe4fd088bc30697fae078f5f8ad34a9088723839de7d78f68fc387b03bc770e

Contents?: true

Size: 586 Bytes

Versions: 8

Compression:

Stored size: 586 Bytes

Contents

require 'spec_helper'
describe "The CVE-2014-0036 vulnerability" do
	before(:all) do
		@check = Codesake::Dawn::Kb::CVE_2014_0036.new
		# @check.debug = true
	end
  it "must be filled with CVSS information"
  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   be_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   be_false
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
codesake-dawn-1.1.3 spec/lib/kb/cve_2014_0036_spec.rb
codesake-dawn-1.1.2 spec/lib/kb/cve_2014_0036_spec.rb
codesake-dawn-1.1.1 spec/lib/kb/cve_2014_0036_spec.rb
codesake-dawn-1.1.0 spec/lib/kb/cve_2014_0036_spec.rb
codesake-dawn-1.1.0.rc2 spec/lib/kb/cve_2014_0036_spec.rb
codesake-dawn-1.1.0.rc1 spec/lib/kb/cve_2014_0036_spec.rb
codesake-dawn-1.0.6 spec/lib/kb/cve_2014_0036_spec.rb
codesake-dawn-1.0.5 spec/lib/kb/cve_2014_0036_spec.rb