codesake-dawn 1.0.6 → 1.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +4 -0
- data/.travis.yml +5 -3
- data/Changelog.md +70 -4
- data/README.md +129 -95
- data/Rakefile +27 -3
- data/Roadmap.md +47 -40
- data/bin/dawn +104 -86
- data/certs/paolo_at_codesake_dot_com.pem +21 -0
- data/checksum/.placeholder +0 -0
- data/codesake-dawn.gemspec +11 -3
- data/doc/codesake-dawn.yaml.sample +26 -0
- data/lib/codesake-dawn.rb +1 -0
- data/lib/codesake/dawn/core.rb +84 -51
- data/lib/codesake/dawn/engine.rb +66 -15
- data/lib/codesake/dawn/gemfile_lock.rb +2 -2
- data/lib/codesake/dawn/kb/basic_check.rb +109 -98
- data/lib/codesake/dawn/kb/combo_check.rb +4 -3
- data/lib/codesake/dawn/kb/cve_2011_2930.rb +1 -0
- data/lib/codesake/dawn/kb/cve_2011_3187.rb +1 -0
- data/lib/codesake/dawn/kb/cve_2011_4319.rb +1 -0
- data/lib/codesake/dawn/kb/cve_2011_5036.rb +28 -0
- data/lib/codesake/dawn/kb/cve_2012_1098.rb +1 -0
- data/lib/codesake/dawn/kb/cve_2012_6109.rb +27 -0
- data/lib/codesake/dawn/kb/cve_2013_0183.rb +27 -0
- data/lib/codesake/dawn/kb/cve_2013_0184.rb +27 -0
- data/lib/codesake/dawn/kb/cve_2013_0262.rb +28 -0
- data/lib/codesake/dawn/kb/cve_2013_0263.rb +1 -1
- data/lib/codesake/dawn/kb/cve_2013_1607.rb +27 -0
- data/lib/codesake/dawn/kb/cve_2013_2512.rb +28 -0
- data/lib/codesake/dawn/kb/cve_2013_2513.rb +27 -0
- data/lib/codesake/dawn/kb/cve_2013_2516.rb +28 -0
- data/lib/codesake/dawn/kb/cve_2013_4413.rb +29 -0
- data/lib/codesake/dawn/kb/cve_2013_4457.rb +1 -1
- data/lib/codesake/dawn/kb/cve_2013_4489.rb +30 -0
- data/lib/codesake/dawn/kb/cve_2013_4593.rb +29 -0
- data/lib/codesake/dawn/kb/cve_2013_5647.rb +1 -0
- data/lib/codesake/dawn/kb/cve_2013_5671.rb +28 -0
- data/lib/codesake/dawn/kb/cve_2013_6416.rb +1 -0
- data/lib/codesake/dawn/kb/cve_2014_0080.rb +30 -0
- data/lib/codesake/dawn/kb/dependency_check.rb +37 -13
- data/lib/codesake/dawn/kb/deprecation_check.rb +40 -0
- data/lib/codesake/dawn/kb/owasp_ror_cheatsheet/check_for_safe_redirect_and_forward.rb +3 -1
- data/lib/codesake/dawn/kb/owasp_ror_cheatsheet/command_injection.rb +2 -0
- data/lib/codesake/dawn/kb/owasp_ror_cheatsheet/csrf.rb +3 -1
- data/lib/codesake/dawn/kb/owasp_ror_cheatsheet/mass_assignment_in_model.rb +2 -0
- data/lib/codesake/dawn/kb/owasp_ror_cheatsheet/security_related_headers.rb +9 -7
- data/lib/codesake/dawn/kb/owasp_ror_cheatsheet/sensitive_files.rb +2 -0
- data/lib/codesake/dawn/kb/owasp_ror_cheatsheet/session_stored_in_database.rb +2 -0
- data/lib/codesake/dawn/kb/pattern_match_check.rb +16 -8
- data/lib/codesake/dawn/kb/ruby_version_check.rb +11 -11
- data/lib/codesake/dawn/kb/version_check.rb +416 -0
- data/lib/codesake/dawn/knowledge_base.rb +119 -59
- data/lib/codesake/dawn/reporter.rb +272 -0
- data/lib/codesake/dawn/utils.rb +11 -0
- data/lib/codesake/dawn/version.rb +14 -12
- data/spec/lib/dawn/codesake_knowledgebase_spec.rb +253 -160
- data/spec/lib/kb/codesake_cve_2013_0175_spec.rb +1 -1
- data/spec/lib/kb/codesake_dependency_version_check_spec.rb +21 -10
- data/spec/lib/kb/codesake_deprecation_check_spec.rb +56 -0
- data/spec/lib/kb/codesake_version_check_spec.rb +165 -0
- data/spec/lib/kb/cve_2011_2930_spec.rb +5 -6
- data/spec/lib/kb/cve_2011_5036_spec.rb +95 -0
- data/spec/lib/kb/cve_2012_6109_spec.rb +112 -0
- data/spec/lib/kb/cve_2013_0183_spec.rb +54 -0
- data/spec/lib/kb/cve_2013_0184_spec.rb +115 -0
- data/spec/lib/kb/cve_2013_0256_spec.rb +1 -8
- data/spec/lib/kb/cve_2013_0262_spec.rb +44 -0
- data/spec/lib/kb/cve_2013_1607_spec.rb +15 -0
- data/spec/lib/kb/{codesake_cve_2013_1655_spec.rb → cve_2013_1655_spec.rb} +0 -0
- data/spec/lib/kb/cve_2013_2090_spec.rb +0 -5
- data/spec/lib/kb/cve_2013_2512_spec.rb +15 -0
- data/spec/lib/kb/cve_2013_2513_spec.rb +15 -0
- data/spec/lib/kb/cve_2013_2516_spec.rb +15 -0
- data/spec/lib/kb/cve_2013_4413_spec.rb +16 -0
- data/spec/lib/kb/cve_2013_4489_spec.rb +63 -0
- data/spec/lib/kb/cve_2013_4593_spec.rb +16 -0
- data/spec/lib/kb/cve_2013_5671_spec.rb +27 -0
- data/spec/lib/kb/{codesake_cve_2013_6416_spec.rb → cve_2013_6416_spec.rb} +0 -0
- data/spec/lib/kb/cve_2014_0080_spec.rb +28 -0
- data/spec/spec_helper.rb +7 -3
- data/support/bootstrap.js +2027 -0
- data/support/bootstrap.min.css +9 -0
- data/support/codesake.css +63 -0
- metadata +127 -18
- metadata.gz.sig +0 -0
data/lib/codesake/dawn/utils.rb
CHANGED
@@ -2,9 +2,20 @@ module Codesake
|
|
2
2
|
module Dawn
|
3
3
|
module Utils
|
4
4
|
|
5
|
+
def debug_me_and_return_true(msg)
|
6
|
+
__debug_me_and_return(msg, true)
|
7
|
+
end
|
8
|
+
def debug_me_and_return_false(msg)
|
9
|
+
__debug_me_and_return(msg, false)
|
10
|
+
end
|
5
11
|
def debug_me(msg)
|
6
12
|
$logger.log(msg) if @debug
|
7
13
|
end
|
14
|
+
|
15
|
+
def __debug_me_and_return(msg, status)
|
16
|
+
$logger.log(msg) if @debug
|
17
|
+
return status
|
18
|
+
end
|
8
19
|
end
|
9
20
|
end
|
10
21
|
end
|
@@ -3,23 +3,25 @@ module Codesake
|
|
3
3
|
# codesake-dawn when in development has RELASE equal to '(development)' and
|
4
4
|
# the version number is set for the next release.
|
5
5
|
#
|
6
|
-
# codesake-dawn
|
7
|
-
#
|
8
|
-
# this is a kinda sort of tribute of my son's passion.
|
6
|
+
# Each codesake-dawn major release will have a Disney Pixar Cars / Cars2
|
7
|
+
# character as codename. My son Daniele loves those films and since I love
|
8
|
+
# him too, # this is a kinda sort of tribute of my son's passion.
|
9
9
|
#
|
10
10
|
# Future releases
|
11
11
|
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
# "
|
15
|
-
# "
|
16
|
-
# "
|
17
|
-
# "
|
12
|
+
# | Character | Release |
|
13
|
+
# |-----------------|---------|
|
14
|
+
# | "Tow Mater" | 2.0.0 |
|
15
|
+
# | "Finn McMissile"| 3.0.0 |
|
16
|
+
# | "Fillmore" | 4.0.0 |
|
17
|
+
# |"Holly Shiftwell"| 5.0.0 |
|
18
|
+
# | "Guido" | 6.0.0 |
|
19
|
+
# | "Luigi" | 7.0.0 |
|
18
20
|
|
19
|
-
VERSION = "1.0.
|
21
|
+
VERSION = "1.1.0.rc1"
|
20
22
|
CODENAME = "Lightning McQueen"
|
21
|
-
#
|
22
|
-
RELEASE = "
|
23
|
+
#RELEASE = "(development)"
|
24
|
+
RELEASE = "20140326"
|
23
25
|
|
24
26
|
end
|
25
27
|
end
|
@@ -14,7 +14,7 @@ describe "The Codesake Dawn knowledge base" do
|
|
14
14
|
kb.should respond_to(:all_by_mvc)
|
15
15
|
end
|
16
16
|
|
17
|
-
|
17
|
+
|
18
18
|
it "will return a nil object if it doesn't find a particular security check" do
|
19
19
|
kb.find("A non existant security check name").should be_nil
|
20
20
|
end
|
@@ -569,204 +569,297 @@ describe "The Codesake Dawn knowledge base" do
|
|
569
569
|
sc.class.should == Codesake::Dawn::Kb::CVE_2011_1005
|
570
570
|
end
|
571
571
|
it "must have test for CVE-2011-1004" do
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
end
|
572
|
+
sc = kb.find("CVE-2011-1004")
|
573
|
+
sc.should_not be_nil
|
574
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2011_1004
|
575
|
+
end
|
576
576
|
it "must have test for CVE-2011-0739" do
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
end
|
577
|
+
sc = kb.find("CVE-2011-0739")
|
578
|
+
sc.should_not be_nil
|
579
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2011_0739
|
580
|
+
end
|
581
581
|
it "must have test for CVE-2011-0188" do
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
end
|
582
|
+
sc = kb.find("CVE-2011-0188")
|
583
|
+
sc.should_not be_nil
|
584
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2011_0188
|
585
|
+
end
|
586
586
|
it "must have test for CVE-2010-3933" do
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
end
|
587
|
+
sc = kb.find("CVE-2010-3933")
|
588
|
+
sc.should_not be_nil
|
589
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2010_3933
|
590
|
+
end
|
591
591
|
it "must have test for CVE-2010-2489" do
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
end
|
592
|
+
sc = kb.find("CVE-2010-2489")
|
593
|
+
sc.should_not be_nil
|
594
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2010_2489
|
595
|
+
end
|
596
596
|
it "must have test for CVE-2009-4214" do
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
end
|
597
|
+
sc = kb.find("CVE-2009-4214")
|
598
|
+
sc.should_not be_nil
|
599
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2009_4214
|
600
|
+
end
|
601
601
|
it "must have test for CVE-2009-4124" do
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
end
|
602
|
+
sc = kb.find("CVE-2009-4124")
|
603
|
+
sc.should_not be_nil
|
604
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2009_4124
|
605
|
+
end
|
606
606
|
it "must have test for CVE-2009-4078" do
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
end
|
607
|
+
sc = kb.find("CVE-2009-4078")
|
608
|
+
sc.should_not be_nil
|
609
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2009_4078
|
610
|
+
end
|
611
611
|
it "must have test for CVE-2008-7248" do
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
end
|
612
|
+
sc = kb.find("CVE-2008-7248")
|
613
|
+
sc.should_not be_nil
|
614
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_7248
|
615
|
+
end
|
616
616
|
it "must have test for CVE-2008-5189" do
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
end
|
617
|
+
sc = kb.find("CVE-2008-5189")
|
618
|
+
sc.should_not be_nil
|
619
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_5189
|
620
|
+
end
|
621
621
|
it "must have test for CVE-2008-4310" do
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
end
|
622
|
+
sc = kb.find("CVE-2008-4310")
|
623
|
+
sc.should_not be_nil
|
624
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_4310
|
625
|
+
end
|
626
626
|
it "must have test for CVE-2008-4094" do
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
end
|
627
|
+
sc = kb.find("CVE-2008-4094")
|
628
|
+
sc.should_not be_nil
|
629
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_4094
|
630
|
+
end
|
631
631
|
it "must have test for CVE-2008-3905" do
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
end
|
632
|
+
sc = kb.find("CVE-2008-3905")
|
633
|
+
sc.should_not be_nil
|
634
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_3905
|
635
|
+
end
|
636
636
|
it "must have test for CVE-2008-3790" do
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
end
|
637
|
+
sc = kb.find("CVE-2008-3790")
|
638
|
+
sc.should_not be_nil
|
639
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_3790
|
640
|
+
end
|
641
641
|
it "must have test for CVE-2008-3657" do
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
end
|
642
|
+
sc = kb.find("CVE-2008-3657")
|
643
|
+
sc.should_not be_nil
|
644
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_3657
|
645
|
+
end
|
646
646
|
it "must have test for CVE-2008-3655" do
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
end
|
647
|
+
sc = kb.find("CVE-2008-3655")
|
648
|
+
sc.should_not be_nil
|
649
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_3655
|
650
|
+
end
|
651
651
|
it "must have test for CVE-2008-2725" do
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
end
|
652
|
+
sc = kb.find("CVE-2008-2725")
|
653
|
+
sc.should_not be_nil
|
654
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_2725
|
655
|
+
end
|
656
656
|
it "must have test for CVE-2008-2663" do
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
end
|
657
|
+
sc = kb.find("CVE-2008-2663")
|
658
|
+
sc.should_not be_nil
|
659
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_2663
|
660
|
+
end
|
661
661
|
it "must have test for CVE-2008-2664" do
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
end
|
662
|
+
sc = kb.find("CVE-2008-2664")
|
663
|
+
sc.should_not be_nil
|
664
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_2664
|
665
|
+
end
|
666
666
|
it "must have test for CVE-2008-2662" do
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
end
|
667
|
+
sc = kb.find("CVE-2008-2662")
|
668
|
+
sc.should_not be_nil
|
669
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_2662
|
670
|
+
end
|
671
671
|
it "must have test for CVE-2008-2376" do
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
end
|
672
|
+
sc = kb.find("CVE-2008-2376")
|
673
|
+
sc.should_not be_nil
|
674
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_2376
|
675
|
+
end
|
676
676
|
it "must have test for CVE-2008-1891" do
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
end
|
677
|
+
sc = kb.find("CVE-2008-1891")
|
678
|
+
sc.should_not be_nil
|
679
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_1891
|
680
|
+
end
|
681
681
|
it "must have test for CVE-2008-1145" do
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
end
|
682
|
+
sc = kb.find("CVE-2008-1145")
|
683
|
+
sc.should_not be_nil
|
684
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2008_1145
|
685
|
+
end
|
686
686
|
it "must have test for CVE-2007-6612" do
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
end
|
687
|
+
sc = kb.find("CVE-2007-6612")
|
688
|
+
sc.should_not be_nil
|
689
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2007_6612
|
690
|
+
end
|
691
691
|
it "must have test for CVE-2007-6077" do
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
end
|
692
|
+
sc = kb.find("CVE-2007-6077")
|
693
|
+
sc.should_not be_nil
|
694
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2007_6077
|
695
|
+
end
|
696
696
|
it "must have test for CVE-2007-5770" do
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
end
|
697
|
+
sc = kb.find("CVE-2007-5770")
|
698
|
+
sc.should_not be_nil
|
699
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2007_5770
|
700
|
+
end
|
701
701
|
it "must have test for CVE-2007-5380" do
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
end
|
702
|
+
sc = kb.find("CVE-2007-5380")
|
703
|
+
sc.should_not be_nil
|
704
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2007_5380
|
705
|
+
end
|
706
706
|
it "must have test for CVE-2007-5379" do
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
end
|
707
|
+
sc = kb.find("CVE-2007-5379")
|
708
|
+
sc.should_not be_nil
|
709
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2007_5379
|
710
|
+
end
|
711
711
|
it "must have test for CVE-2007-5162" do
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
end
|
712
|
+
sc = kb.find("CVE-2007-5162")
|
713
|
+
sc.should_not be_nil
|
714
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2007_5162
|
715
|
+
end
|
716
716
|
it "must have test for CVE-2013-2119" do
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
end
|
717
|
+
sc = kb.find("CVE-2013-2119")
|
718
|
+
sc.should_not be_nil
|
719
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_2119
|
720
|
+
end
|
721
721
|
it "must have test for CVE-2013-7086" do
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
end
|
722
|
+
sc = kb.find("CVE-2013-7086")
|
723
|
+
sc.should_not be_nil
|
724
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_7086
|
725
|
+
end
|
726
726
|
it "must have test for CVE-2013-6459" do
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
end
|
727
|
+
sc = kb.find("CVE-2013-6459")
|
728
|
+
sc.should_not be_nil
|
729
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_6459
|
730
|
+
end
|
731
731
|
it "must have test for CVE-2013-5647" do
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
end
|
732
|
+
sc = kb.find("CVE-2013-5647")
|
733
|
+
sc.should_not be_nil
|
734
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_5647
|
735
|
+
end
|
736
736
|
it "must have test for CVE-2013-0263" do
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
end
|
737
|
+
sc = kb.find("CVE-2013-0263")
|
738
|
+
sc.should_not be_nil
|
739
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_0263
|
740
|
+
end
|
741
741
|
it "must have test for CVE-2013-0256" do
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
end
|
742
|
+
sc = kb.find("CVE-2013-0256")
|
743
|
+
sc.should_not be_nil
|
744
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_0256
|
745
|
+
end
|
746
746
|
it "must have test for CVE-2013-0162" do
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
end
|
747
|
+
sc = kb.find("CVE-2013-0162")
|
748
|
+
sc.should_not be_nil
|
749
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_0162
|
750
|
+
end
|
751
751
|
it "must have test for CVE-2012-2671" do
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
end
|
752
|
+
sc = kb.find("CVE-2012-2671")
|
753
|
+
sc.should_not be_nil
|
754
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2012_2671
|
755
|
+
end
|
756
756
|
it "must have test for CVE-2012-2139" do
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
end
|
757
|
+
sc = kb.find("CVE-2012-2139")
|
758
|
+
sc.should_not be_nil
|
759
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2012_2139
|
760
|
+
end
|
761
761
|
it "must have test for CVE-2012-1098" do
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
end
|
762
|
+
sc = kb.find("CVE-2012-1098")
|
763
|
+
sc.should_not be_nil
|
764
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2012_1098
|
765
|
+
end
|
766
766
|
it "must have test for CVE-2013-1756" do
|
767
|
-
|
768
|
-
|
769
|
-
|
767
|
+
sc = kb.find("CVE-2013-1756")
|
768
|
+
sc.should_not be_nil
|
769
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_1756
|
770
|
+
end
|
771
|
+
it "must have test for CVE-2014-1233" do
|
772
|
+
sc = kb.find("CVE-2014-1233")
|
773
|
+
sc.should_not be_nil
|
774
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2014_1233
|
775
|
+
end
|
776
|
+
it "must have test for CVE-2014-1234" do
|
777
|
+
sc = kb.find("CVE-2014-1234")
|
778
|
+
sc.should_not be_nil
|
779
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2014_1234
|
780
|
+
end
|
781
|
+
it "must have test for CVE-2013-4413" do
|
782
|
+
sc = kb.find("CVE-2013-4413")
|
783
|
+
sc.should_not be_nil
|
784
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_4413
|
785
|
+
end
|
786
|
+
|
787
|
+
it "must have test for CVE-2013-4489" do
|
788
|
+
sc = kb.find("CVE-2013-4489")
|
789
|
+
sc.should_not be_nil
|
790
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_4489
|
791
|
+
end
|
792
|
+
it "must have test for CVE-2013-5671" do
|
793
|
+
sc = kb.find("CVE-2013-5671")
|
794
|
+
sc.should_not be_nil
|
795
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_5671
|
796
|
+
end
|
797
|
+
it "must have test for CVE-2013-4593" do
|
798
|
+
sc = kb.find("CVE-2013-4593")
|
799
|
+
sc.should_not be_nil
|
800
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_4593
|
801
|
+
end
|
802
|
+
it "must have test for CVE-2013-0262" do
|
803
|
+
sc = kb.find("CVE-2013-0262")
|
804
|
+
sc.should_not be_nil
|
805
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_0262
|
806
|
+
end
|
807
|
+
it "must have test for CVE-2013-0184" do
|
808
|
+
sc = kb.find("CVE-2013-0184")
|
809
|
+
sc.should_not be_nil
|
810
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_0184
|
811
|
+
end
|
812
|
+
it "must have test for CVE-2013-0183" do
|
813
|
+
sc = kb.find("CVE-2013-0183")
|
814
|
+
sc.should_not be_nil
|
815
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_0183
|
816
|
+
end
|
817
|
+
it "must have test for CVE-2012-6109" do
|
818
|
+
sc = kb.find("CVE-2012-6109")
|
819
|
+
sc.should_not be_nil
|
820
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2012_6109
|
821
|
+
end
|
822
|
+
it "must have test for CVE-2011-5036" do
|
823
|
+
sc = kb.find("CVE-2011-5036")
|
824
|
+
sc.should_not be_nil
|
825
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2011_5036
|
826
|
+
end
|
827
|
+
it "must have test for CVE-2013-2516" do
|
828
|
+
sc = kb.find("CVE-2013-2516")
|
829
|
+
sc.should_not be_nil
|
830
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_2516
|
831
|
+
end
|
832
|
+
it "must have test for CVE-2013-2513" do
|
833
|
+
sc = kb.find("CVE-2013-2513")
|
834
|
+
sc.should_not be_nil
|
835
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_2513
|
836
|
+
end
|
837
|
+
it "must have test for CVE-2013-2512" do
|
838
|
+
sc = kb.find("CVE-2013-2512")
|
839
|
+
sc.should_not be_nil
|
840
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_2512
|
841
|
+
end
|
842
|
+
it "must have test for CVE-2013-1607" do
|
843
|
+
sc = kb.find("CVE-2013-1607")
|
844
|
+
sc.should_not be_nil
|
845
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2013_1607
|
846
|
+
end
|
847
|
+
it "must have test for CVE-2014-0080" do
|
848
|
+
sc = kb.find("CVE-2014-0080")
|
849
|
+
sc.should_not be_nil
|
850
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2014_0080
|
851
|
+
|
852
|
+
end
|
853
|
+
|
854
|
+
it "must have test for CVE-2014-0081" do
|
855
|
+
sc = kb.find("CVE-2014-0081")
|
856
|
+
sc.should_not be_nil
|
857
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2014_0081
|
858
|
+
end
|
859
|
+
it "must have test for CVE-2014-0082" do
|
860
|
+
sc = kb.find("CVE-2014-0082")
|
861
|
+
sc.should_not be_nil
|
862
|
+
sc.class.should == Codesake::Dawn::Kb::CVE_2014_0082
|
770
863
|
end
|
771
864
|
it "must have test for CVE-2014-2322" do
|
772
865
|
sc = kb.find("CVE-2014-2322")
|