Sha256: f0db4a278c1566f3b66320a33ffe8d41bd9c9277af9963eca3952674e68424a2

Contents?: true

Size: 1.23 KB

Versions: 19

Compression:

Stored size: 1.23 KB

Contents

	module Dawn
		module Kb
			# Automatically created with rake on 2014-01-09
			class CVE_2009_4214
				include DependencyCheck

				def initialize
          message = "Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb."
          super({
            :name=>"CVE-2009-4214",
            :cvss=>"AV:N/AC:M/Au:N/C:N/I:P/A:N",
            :release_date => Date.new(2009, 12, 7),
            :cwe=>"79",
            :owasp=>"A3", 
            :applies=>["rails"],
            :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK,
            :message=>message,
            :mitigation=>"Please upgrade rails version at least to 2.3.5 or higher. As a general rule, using the latest stable rails version is recommended.",
            :aux_links=>["http://groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab?pli=1"]
          })

          self.safe_dependencies = [{:name=>"rails", :version=>['2.3.5', '2.2.999', '2.1.999', '1.999.999', '0.999.999']}]

				end
			end
		end
	end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dawnscanner-1.6.9 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.8 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.7 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.6 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.5 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.4 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.3 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.2 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.1 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.6.0 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.5.2 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.5.1 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.5.0 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.4.2 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.4.1 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.4.0 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.3.5 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.3.1 lib/dawn/kb/cve_2009_4214.rb
dawnscanner-1.3.0 lib/dawn/kb/cve_2009_4214.rb