Sha256: 45845f845afd25ee6d4e16d5e289120961df65236fff8bcd5dabf01de3263314

Contents?: true

Size: 797 Bytes

Versions: 8

Compression:

Stored size: 797 Bytes

Contents

require 'spec_helper'
describe "The OSVDB-108530 vulnerability" do
	before(:all) do
		@check = Dawn::Kb::OSVDB_108530.new
		# @check.debug = true
	end
  it "is reported when a vulnerable version it has been found (1.0.3.rc2)" do
    @check.dependencies = [{:name=>"kajam", :version=>"1.0.3.rc2"}]
    expect(@check.vuln?).to   eq(true)
  end
  it "is not reported when a safe version it has been found (1.0.3)" do
    @check.dependencies = [{:name=>"kajam", :version=>"1.0.3"}]
    expect(@check.vuln?).to   eq(false)
  end
  it "is not reported when a safe version it has been found (1.0.4)" do
    @check.dependencies = [{:name=>"kajam", :version=>"1.0.4"}]
    expect(@check.vuln?).to   eq(false)
  end

  it "must be filled with CVE identifier"
  it "must be filled with CVSS information"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dawnscanner-1.6.9 spec/lib/kb/osvdb_108530_spec.rb
dawnscanner-1.6.8 spec/lib/kb/osvdb_108530_spec.rb
dawnscanner-1.6.7 spec/lib/kb/osvdb_108530_spec.rb
dawnscanner-1.6.6 spec/lib/kb/osvdb_108530_spec.rb
dawnscanner-1.6.5 spec/lib/kb/osvdb_108530_spec.rb
dawnscanner-1.6.4 spec/lib/kb/osvdb_108530_spec.rb
dawnscanner-1.6.3 spec/lib/kb/osvdb_108530_spec.rb
dawnscanner-1.6.2 spec/lib/kb/osvdb_108530_spec.rb