dawnscanner 1.5.2 → 1.6.0
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 +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +8 -1
- data/Changelog.md +64 -1
- data/KnowledgeBase.md +38 -2
- data/README.md +2 -1
- data/VERSION +2 -3
- data/bin/dawn +2 -0
- data/checksum/dawnscanner-1.5.2.gem.sha1 +1 -0
- data/lib/dawn/kb/cve_2015_5312.rb +30 -0
- data/lib/dawn/kb/cve_2015_7497.rb +32 -0
- data/lib/dawn/kb/cve_2015_7498.rb +32 -0
- data/lib/dawn/kb/cve_2015_7499.rb +32 -0
- data/lib/dawn/kb/cve_2015_7500.rb +32 -0
- data/lib/dawn/kb/cve_2015_7519.rb +31 -0
- data/lib/dawn/kb/cve_2015_7541.rb +31 -0
- data/lib/dawn/kb/cve_2015_7576.rb +35 -0
- data/lib/dawn/kb/cve_2015_7577.rb +32 -0
- data/lib/dawn/kb/cve_2015_7578.rb +30 -0
- data/lib/dawn/kb/cve_2015_7579.rb +30 -0
- data/lib/dawn/kb/cve_2015_7581.rb +33 -0
- data/lib/dawn/kb/cve_2015_8241.rb +32 -0
- data/lib/dawn/kb/cve_2015_8242.rb +32 -0
- data/lib/dawn/kb/cve_2015_8317.rb +32 -0
- data/lib/dawn/kb/cve_2016_0751.rb +30 -0
- data/lib/dawn/kb/cve_2016_0752.rb +35 -0
- data/lib/dawn/kb/cve_2016_0753.rb +31 -0
- data/lib/dawn/kb/version_check.rb +61 -29
- data/lib/dawn/knowledge_base.rb +39 -1
- data/lib/dawn/reporter.rb +17 -8
- data/lib/dawn/version.rb +4 -4
- data/spec/lib/dawn/codesake_knowledgebase_spec.rb +90 -0
- data/spec/lib/kb/codesake_version_check_spec.rb +2 -2
- data/spec/lib/kb/cve_2015_5312_spec.rb +31 -0
- data/spec/lib/kb/cve_2015_7497_spec.rb +31 -0
- data/spec/lib/kb/cve_2015_7498_spec.rb +31 -0
- data/spec/lib/kb/cve_2015_7499_spec.rb +31 -0
- data/spec/lib/kb/cve_2015_7500_spec.rb +31 -0
- data/spec/lib/kb/cve_2015_7519_spec.rb +23 -0
- data/spec/lib/kb/cve_2015_7541_spec.rb +15 -0
- data/spec/lib/kb/cve_2015_7576_spec.rb +51 -0
- data/spec/lib/kb/cve_2015_7577_spec.rb +51 -0
- data/spec/lib/kb/cve_2015_7578_spec.rb +15 -0
- data/spec/lib/kb/cve_2015_7579_spec.rb +23 -0
- data/spec/lib/kb/cve_2015_7581_spec.rb +51 -0
- data/spec/lib/kb/cve_2015_8241_spec.rb +31 -0
- data/spec/lib/kb/cve_2015_8242_spec.rb +31 -0
- data/spec/lib/kb/cve_2015_8317_spec.rb +31 -0
- data/spec/lib/kb/cve_2016_0751_spec.rb +51 -0
- data/spec/lib/kb/cve_2016_0752_spec.rb +51 -0
- data/spec/lib/kb/cve_2016_0753_spec.rb +51 -0
- metadata +57 -2
- metadata.gz.sig +0 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2015-7577 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2015_7577.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"5.0.0.beta.1"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"4.2.5"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"4.1.14"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is reported when the vulnerable gem is detected" do
|
20
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"3.2.22"}]
|
21
|
+
@check.vuln?.should == true
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"5.0.0"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"4.2.5.1"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
it "is not reported when a fixed release is detected" do
|
32
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"4.2.6"}]
|
33
|
+
@check.vuln?.should == false
|
34
|
+
end
|
35
|
+
it "is not reported when a fixed release is detected" do
|
36
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"4.1.14.2"}]
|
37
|
+
@check.vuln?.should == false
|
38
|
+
end
|
39
|
+
it "is not reported when a fixed release is detected" do
|
40
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"4.1.15"}]
|
41
|
+
@check.vuln?.should == false
|
42
|
+
end
|
43
|
+
it "is not reported when a fixed release is detected" do
|
44
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"3.2.22.1"}]
|
45
|
+
@check.vuln?.should == false
|
46
|
+
end
|
47
|
+
it "is not reported when a fixed release is detected" do
|
48
|
+
@check.dependencies = [{:name=>"activerecord", :version=>"3.2.23"}]
|
49
|
+
@check.vuln?.should == false
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2015-7578 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2015_7578.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"rails-html-sanitizer", :version=>"1.0.2"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is not reported when a fixed release is detected" do
|
12
|
+
@check.dependencies = [{:name=>"rails-html-sanitizer", :version=>"1.0.3"}]
|
13
|
+
@check.vuln?.should == false
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2015-7579 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2015_7579.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"rails-html-sanitizer", :version=>"1.0.2"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is not reported when a fixed release is detected" do
|
12
|
+
@check.dependencies = [{:name=>"", :version=>"1.0.3"}]
|
13
|
+
@check.vuln?.should == false
|
14
|
+
end
|
15
|
+
it "is not reported when a fixed release is detected" do
|
16
|
+
@check.dependencies = [{:name=>"", :version=>"1.0.0"}]
|
17
|
+
@check.vuln?.should == false
|
18
|
+
end
|
19
|
+
it "is not reported when a fixed release is detected" do
|
20
|
+
@check.dependencies = [{:name=>"", :version=>"1.0.1"}]
|
21
|
+
@check.vuln?.should == false
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2015-7581 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2015_7581.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"5.0.0.beta.1"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.2.5"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.1.14"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is reported when the vulnerable gem is detected" do
|
20
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"3.2.22"}]
|
21
|
+
@check.vuln?.should == true
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"5.0.0"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.2.5.1"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
it "is not reported when a fixed release is detected" do
|
32
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.2.6"}]
|
33
|
+
@check.vuln?.should == false
|
34
|
+
end
|
35
|
+
it "is not reported when a fixed release is detected" do
|
36
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.1.14.2"}]
|
37
|
+
@check.vuln?.should == false
|
38
|
+
end
|
39
|
+
it "is not reported when a fixed release is detected" do
|
40
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.1.15"}]
|
41
|
+
@check.vuln?.should == false
|
42
|
+
end
|
43
|
+
it "is not reported when a fixed release is detected" do
|
44
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"3.2.22.1"}]
|
45
|
+
@check.vuln?.should == false
|
46
|
+
end
|
47
|
+
it "is not reported when a fixed release is detected" do
|
48
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"3.2.23"}]
|
49
|
+
@check.vuln?.should == false
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2015-8241 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2015_8241.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.5"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.0"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.7"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is not reported when a fixed release is detected" do
|
20
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.7.1"}]
|
21
|
+
@check.vuln?.should == false
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.5.6"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.4.6"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2015-8242 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2015_8242.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.5"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.0"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.7"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is not reported when a fixed release is detected" do
|
20
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.7.1"}]
|
21
|
+
@check.vuln?.should == false
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.5.6"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.4.6"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2015-8317 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2015_8317.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.5"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.0"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.7"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is not reported when a fixed release is detected" do
|
20
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.6.7.1"}]
|
21
|
+
@check.vuln?.should == false
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.5.6"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"nokogiri", :version=>"1.4.6"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2016-0751 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2016_0751.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"5.0.0.beta.1"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.2.5"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"4.1.14"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is reported when the vulnerable gem is detected" do
|
20
|
+
@check.dependencies = [{:name=>"actionpack", :version=>"3.2.22"}]
|
21
|
+
@check.vuln?.should == true
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"", :version=>"5.0.0"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"", :version=>"4.2.5.1"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
it "is not reported when a fixed release is detected" do
|
32
|
+
@check.dependencies = [{:name=>"", :version=>"4.2.6"}]
|
33
|
+
@check.vuln?.should == false
|
34
|
+
end
|
35
|
+
it "is not reported when a fixed release is detected" do
|
36
|
+
@check.dependencies = [{:name=>"", :version=>"4.1.14.2"}]
|
37
|
+
@check.vuln?.should == false
|
38
|
+
end
|
39
|
+
it "is not reported when a fixed release is detected" do
|
40
|
+
@check.dependencies = [{:name=>"", :version=>"4.1.15"}]
|
41
|
+
@check.vuln?.should == false
|
42
|
+
end
|
43
|
+
it "is not reported when a fixed release is detected" do
|
44
|
+
@check.dependencies = [{:name=>"", :version=>"3.2.22.1"}]
|
45
|
+
@check.vuln?.should == false
|
46
|
+
end
|
47
|
+
it "is not reported when a fixed release is detected" do
|
48
|
+
@check.dependencies = [{:name=>"", :version=>"3.2.23"}]
|
49
|
+
@check.vuln?.should == false
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2016-0752 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2016_0752.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"actionview", :version=>"5.0.0.beta.1"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"actionview", :version=>"4.2.5"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"actionview", :version=>"4.1.14"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is reported when the vulnerable gem is detected" do
|
20
|
+
@check.dependencies = [{:name=>"actionview", :version=>"3.2.22"}]
|
21
|
+
@check.vuln?.should == true
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"actionview", :version=>"5.0.0"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"actionview", :version=>"4.2.5.1"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
it "is not reported when a fixed release is detected" do
|
32
|
+
@check.dependencies = [{:name=>"actionview", :version=>"4.2.6"}]
|
33
|
+
@check.vuln?.should == false
|
34
|
+
end
|
35
|
+
it "is not reported when a fixed release is detected" do
|
36
|
+
@check.dependencies = [{:name=>"actionview", :version=>"4.1.14.2"}]
|
37
|
+
@check.vuln?.should == false
|
38
|
+
end
|
39
|
+
it "is not reported when a fixed release is detected" do
|
40
|
+
@check.dependencies = [{:name=>"actionview", :version=>"4.1.15"}]
|
41
|
+
@check.vuln?.should == false
|
42
|
+
end
|
43
|
+
it "is not reported when a fixed release is detected" do
|
44
|
+
@check.dependencies = [{:name=>"actionview", :version=>"3.2.22.1"}]
|
45
|
+
@check.vuln?.should == false
|
46
|
+
end
|
47
|
+
it "is not reported when a fixed release is detected" do
|
48
|
+
@check.dependencies = [{:name=>"actionview", :version=>"3.2.23"}]
|
49
|
+
@check.vuln?.should == false
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "The CVE-2016-0753 vulnerability" do
|
3
|
+
before(:all) do
|
4
|
+
@check = Dawn::Kb::CVE_2016_0753.new
|
5
|
+
# @check.debug = true
|
6
|
+
end
|
7
|
+
it "is reported when the vulnerable gem is detected" do
|
8
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"5.0.0.beta.1"}]
|
9
|
+
@check.vuln?.should == true
|
10
|
+
end
|
11
|
+
it "is reported when the vulnerable gem is detected" do
|
12
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"4.2.5"}]
|
13
|
+
@check.vuln?.should == true
|
14
|
+
end
|
15
|
+
it "is reported when the vulnerable gem is detected" do
|
16
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"4.1.14"}]
|
17
|
+
@check.vuln?.should == true
|
18
|
+
end
|
19
|
+
it "is reported when the vulnerable gem is detected" do
|
20
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"3.2.22"}]
|
21
|
+
@check.vuln?.should == true
|
22
|
+
end
|
23
|
+
it "is not reported when a fixed release is detected" do
|
24
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"5.0.0"}]
|
25
|
+
@check.vuln?.should == false
|
26
|
+
end
|
27
|
+
it "is not reported when a fixed release is detected" do
|
28
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"4.2.5.1"}]
|
29
|
+
@check.vuln?.should == false
|
30
|
+
end
|
31
|
+
it "is not reported when a fixed release is detected" do
|
32
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"4.2.6"}]
|
33
|
+
@check.vuln?.should == false
|
34
|
+
end
|
35
|
+
it "is not reported when a fixed release is detected" do
|
36
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"4.1.14.2"}]
|
37
|
+
@check.vuln?.should == false
|
38
|
+
end
|
39
|
+
it "is not reported when a fixed release is detected" do
|
40
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"4.1.15"}]
|
41
|
+
@check.vuln?.should == false
|
42
|
+
end
|
43
|
+
it "is not reported when a fixed release is detected" do
|
44
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"3.2.22.1"}]
|
45
|
+
@check.vuln?.should == false
|
46
|
+
end
|
47
|
+
it "is not reported when a fixed release is detected" do
|
48
|
+
@check.dependencies = [{:name=>"activemodel", :version=>"3.2.23"}]
|
49
|
+
@check.vuln?.should == false
|
50
|
+
end
|
51
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dawnscanner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paolo Perego
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
1zH2rpK27DW5pOeHUEJn31+gGd111ogP5tYruPV7Qgfy2jUrUPmP67v7nRNlgd84
|
31
31
|
Z5mHj9jGk4wgMQy2pk4GDwsXiirZfI0z2WZfySqEldE=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2016-02-03 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: cvss
|
@@ -313,6 +313,7 @@ files:
|
|
313
313
|
- checksum/dawnscanner-1.4.2.gem.sha1
|
314
314
|
- checksum/dawnscanner-1.5.0.gem.sha1
|
315
315
|
- checksum/dawnscanner-1.5.1.gem.sha1
|
316
|
+
- checksum/dawnscanner-1.5.2.gem.sha1
|
316
317
|
- dawnscanner.gemspec
|
317
318
|
- doc/dawn_1_0_announcement.md
|
318
319
|
- doc/dawn_1_1_announcement.md
|
@@ -514,6 +515,24 @@ files:
|
|
514
515
|
- lib/dawn/kb/cve_2015_3227.rb
|
515
516
|
- lib/dawn/kb/cve_2015_3448.rb
|
516
517
|
- lib/dawn/kb/cve_2015_4020.rb
|
518
|
+
- lib/dawn/kb/cve_2015_5312.rb
|
519
|
+
- lib/dawn/kb/cve_2015_7497.rb
|
520
|
+
- lib/dawn/kb/cve_2015_7498.rb
|
521
|
+
- lib/dawn/kb/cve_2015_7499.rb
|
522
|
+
- lib/dawn/kb/cve_2015_7500.rb
|
523
|
+
- lib/dawn/kb/cve_2015_7519.rb
|
524
|
+
- lib/dawn/kb/cve_2015_7541.rb
|
525
|
+
- lib/dawn/kb/cve_2015_7576.rb
|
526
|
+
- lib/dawn/kb/cve_2015_7577.rb
|
527
|
+
- lib/dawn/kb/cve_2015_7578.rb
|
528
|
+
- lib/dawn/kb/cve_2015_7579.rb
|
529
|
+
- lib/dawn/kb/cve_2015_7581.rb
|
530
|
+
- lib/dawn/kb/cve_2015_8241.rb
|
531
|
+
- lib/dawn/kb/cve_2015_8242.rb
|
532
|
+
- lib/dawn/kb/cve_2015_8317.rb
|
533
|
+
- lib/dawn/kb/cve_2016_0751.rb
|
534
|
+
- lib/dawn/kb/cve_2016_0752.rb
|
535
|
+
- lib/dawn/kb/cve_2016_0753.rb
|
517
536
|
- lib/dawn/kb/dependency_check.rb
|
518
537
|
- lib/dawn/kb/deprecation_check.rb
|
519
538
|
- lib/dawn/kb/gem_check.rb
|
@@ -632,6 +651,24 @@ files:
|
|
632
651
|
- spec/lib/kb/cve_2015_3227_spec.rb
|
633
652
|
- spec/lib/kb/cve_2015_3448_spec.rb
|
634
653
|
- spec/lib/kb/cve_2015_4020_spec.rb
|
654
|
+
- spec/lib/kb/cve_2015_5312_spec.rb
|
655
|
+
- spec/lib/kb/cve_2015_7497_spec.rb
|
656
|
+
- spec/lib/kb/cve_2015_7498_spec.rb
|
657
|
+
- spec/lib/kb/cve_2015_7499_spec.rb
|
658
|
+
- spec/lib/kb/cve_2015_7500_spec.rb
|
659
|
+
- spec/lib/kb/cve_2015_7519_spec.rb
|
660
|
+
- spec/lib/kb/cve_2015_7541_spec.rb
|
661
|
+
- spec/lib/kb/cve_2015_7576_spec.rb
|
662
|
+
- spec/lib/kb/cve_2015_7577_spec.rb
|
663
|
+
- spec/lib/kb/cve_2015_7578_spec.rb
|
664
|
+
- spec/lib/kb/cve_2015_7579_spec.rb
|
665
|
+
- spec/lib/kb/cve_2015_7581_spec.rb
|
666
|
+
- spec/lib/kb/cve_2015_8241_spec.rb
|
667
|
+
- spec/lib/kb/cve_2015_8242_spec.rb
|
668
|
+
- spec/lib/kb/cve_2015_8317_spec.rb
|
669
|
+
- spec/lib/kb/cve_2016_0751_spec.rb
|
670
|
+
- spec/lib/kb/cve_2016_0752_spec.rb
|
671
|
+
- spec/lib/kb/cve_2016_0753_spec.rb
|
635
672
|
- spec/lib/kb/osvdb_105971_spec.rb
|
636
673
|
- spec/lib/kb/osvdb_108530_spec.rb
|
637
674
|
- spec/lib/kb/osvdb_108563_spec.rb
|
@@ -756,6 +793,24 @@ test_files:
|
|
756
793
|
- spec/lib/kb/cve_2015_3227_spec.rb
|
757
794
|
- spec/lib/kb/cve_2015_3448_spec.rb
|
758
795
|
- spec/lib/kb/cve_2015_4020_spec.rb
|
796
|
+
- spec/lib/kb/cve_2015_5312_spec.rb
|
797
|
+
- spec/lib/kb/cve_2015_7497_spec.rb
|
798
|
+
- spec/lib/kb/cve_2015_7498_spec.rb
|
799
|
+
- spec/lib/kb/cve_2015_7499_spec.rb
|
800
|
+
- spec/lib/kb/cve_2015_7500_spec.rb
|
801
|
+
- spec/lib/kb/cve_2015_7519_spec.rb
|
802
|
+
- spec/lib/kb/cve_2015_7541_spec.rb
|
803
|
+
- spec/lib/kb/cve_2015_7576_spec.rb
|
804
|
+
- spec/lib/kb/cve_2015_7577_spec.rb
|
805
|
+
- spec/lib/kb/cve_2015_7578_spec.rb
|
806
|
+
- spec/lib/kb/cve_2015_7579_spec.rb
|
807
|
+
- spec/lib/kb/cve_2015_7581_spec.rb
|
808
|
+
- spec/lib/kb/cve_2015_8241_spec.rb
|
809
|
+
- spec/lib/kb/cve_2015_8242_spec.rb
|
810
|
+
- spec/lib/kb/cve_2015_8317_spec.rb
|
811
|
+
- spec/lib/kb/cve_2016_0751_spec.rb
|
812
|
+
- spec/lib/kb/cve_2016_0752_spec.rb
|
813
|
+
- spec/lib/kb/cve_2016_0753_spec.rb
|
759
814
|
- spec/lib/kb/osvdb_105971_spec.rb
|
760
815
|
- spec/lib/kb/osvdb_108530_spec.rb
|
761
816
|
- spec/lib/kb/osvdb_108563_spec.rb
|