Class: Dawn::Kb::CVE_2008_4310_b

Inherits:
Object
  • Object
show all
Includes:
OperatingSystemCheck
Defined in:
lib/dawn/kb/cve_2008_4310.rb

Constant Summary

Constants included from BasicCheck

BasicCheck::ALLOWED_FAMILIES

Instance Attribute Summary

Attributes included from OperatingSystemCheck

#safe_os, #target_os

Attributes included from BasicCheck

#applies, #aux_links, #check_family, #cve, #cvss, #cwe, #debug, #evidences, #fixes_version, #kind, #message, #mitigated, #name, #osvdb, #owasp, #priority, #release_date, #remediation, #ruby_version, #ruby_vulnerable_versions, #severity, #status, #target_version, #title

Instance Method Summary collapse

Methods included from OperatingSystemCheck

#different_family?, #different_vendor?, #os_detect, #vuln?, #vulnerable_os?

Methods included from BasicCheck

#applies_to?, #cve_link, #cvss_score, families, #family, #family=, #lint, #mitigated?, #nvd_link, #osvdb_link, #rubysec_advisories_link

Methods included from Utils

#__debug_me_and_return, #debug_me, #debug_me_and_return_false, #debug_me_and_return_true

Constructor Details

#initializeCVE_2008_4310_b

Returns a new instance of CVE_2008_4310_b.


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/dawn/kb/cve_2008_4310.rb', line 21

def initialize

  message =  "CVE_2008_4310_b: Only on RedHat EL 4 and 5"

  super({
    :name=>"CVE-2008_4310_b",
    :kind=>Dawn::KnowledgeBase::OS_CHECK,
  })

  self.safe_os=[
    #RHEL 5.10
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-371']},             
    #RHEL 5.9
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-348']}, 
    #RHEL 5.8
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-308']},  
    #RHEL 5.7
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-274']},
    #RHEL 5.6
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-238']}, 
    #RHEL 5.5
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-194']}, 
    #RHEL 5.4            
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-164']}, 
    #RHEL 5.3 
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-128']},  
    #RHEL 5.2
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-92']},  
    #RHEL 5.1
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-53']},   
    #RHEL 5.0
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.18-8']}, 
    #RHEL 4.9           
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-100']},
    #RHEL 4.8
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-89']}, 
    #RHEL 4.7
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-78']}, 
    #RHEL 4.6
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-67']},
    #RHEL 4.5 
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-55']}, 
    #RHEL 4.4
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-42']}, 
    #RHEL 4.3
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-34']}, 
    #RHEL 4.2
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-22']}, 
    #RHEL 4.1
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-11']}, 
    #RHEL 4.0
    {:family=>"linux", :vendor=>"redhat", :version=>['2.6.9-5']}
  ]
end