Class: Dawn::Kb::CVE_2010_2489

Inherits:
Object
  • Object
show all
Includes:
ComboCheck
Defined in:
lib/dawn/kb/cve_2010_2489.rb

Constant Summary

Constants included from BasicCheck

BasicCheck::ALLOWED_FAMILIES

Instance Attribute Summary

Attributes included from ComboCheck

#checks, #options, #vulnerable_checks

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 ComboCheck

#dump_status, find_vulnerable_checks_by_class, #vuln?

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_2010_2489

Returns a new instance of CVE_2010_2489.


41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/dawn/kb/cve_2010_2489.rb', line 41

def initialize
      message = "Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might allow local users to gain privileges via a crafted ARGF.inplace_mode value that is not properly handled when constructing the filenames of the backup files"
      super({
        :name=>"CVE-2010-2489",
        :cvss=>"AV:L/AC:L/Au:N/C:C/I:C/A:C",
        :release_date => Date.new(2010, 7, 10),
        :cwe=>"119",
        :owasp=>"A9", 
        :applies=>["sinatra", "padrino", "rails"],
        :kind=>Dawn::KnowledgeBase::COMBO_CHECK,
        :message=>message,
        :mitigation=>"Please upgrade your ruby interpreter",
        :aux_links=>["http://www.ruby-lang.org/en/news/2010/07/02/ruby-1-9-1-p429-is-released/"],
        :checks=>[CVE_2010_2489_a.new, CVE_2010_2489_b.new]
      })

end