Sha256: 6f56e365b79e127d774cc45cf440cacd58985373302d350a583d601668f0bba9

Contents?: true

Size: 1.03 KB

Versions: 19

Compression:

Stored size: 1.03 KB

Contents

	module Dawn
		module Kb
			# Automatically created with rake on 2013-05-31
			class CVE_2012_4481
				include RubyVersionCheck

				def initialize
          message="The safe-level feature in Ruby 1.8.7 allows context-dependent attackers to modify strings via the NameError#to_s method when operating on Ruby objects. NOTE: this issue is due to an incomplete fix for CVE-2011-1005."
          super({
            :name=>"CVE-2012-4481",
            :cvss=>"AV:N/AC:M/Au:N/C:N/I:P/A:N",
            :release_date => Date.new(2013, 5, 2),
            :cwe=>"264",
            :owasp=>"A9", 
            :applies=>["rails", "sinatra", "padrino"],
            :kind=>Dawn::KnowledgeBase::RUBY_VERSION_CHECK,
            :message=>message,
            :mitigation=>"Please upgrade ruby interpreter to 1.9.3 or 2.0.0 or latest version available",
            :aux_links=>["https://bugzilla.redhat.com/show_bug.cgi?id=863484"]
          })

          self.safe_rubies = [{:engine=>"ruby", :version=>"1.8.7", :patchlevel=>"p9999"}]
				end
			end
		end
	end

Version data entries

19 entries across 19 versions & 1 rubygems

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