Sha256: 7e3a15d3264128fa160ffe3d2aec7ff7dd85cea90c8e560806f2dea26ccccdc3

Contents?: true

Size: 566 Bytes

Versions: 12

Compression:

Stored size: 566 Bytes

Contents

require 'spec_helper'
describe "The CVE-2014-1233 vulnerability" do
	before(:all) do
		@check = Codesake::Dawn::Kb::CVE_2014_1233.new
		# @check.debug = true
	end
  it "is reported when a paratrooper-pingdom gem version 1.0.0 is detected" do
    @check.dependencies = [{:name=>"paratrooper-pingdom", :version=>"1.0.0"}]
    @check.vuln?.should   be_true
  end
  it "is not reported when a paratrooper-pingdom gem version 1.0.1 is detected" do
    @check.dependencies = [{:name=>"paratrooper-pingdom", :version=>"1.0.1"}]
    @check.vuln?.should   be_false
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

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