Sha256: 3956c24c0bf56b1b2e4a7e0d37e975a9eb3e556e2051e0b974702fab871224d2

Contents?: true

Size: 988 Bytes

Versions: 19

Compression:

Stored size: 988 Bytes

Contents

	module Dawn
		module Kb
			# Automatically created with rake on 2013-05-30
			class CVE_2012_2140
				include DependencyCheck

				def initialize
          message = "The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery."
          super({
            :name=>"CVE-2012-2140",
            :cvss=>"AV:N/AC:L/Au:N/C:P/I:P/A:P",
            :release_date => Date.new(2012, 7, 18),
            :cwe=>"20",
            :owasp=>"A9", 
            :applies=>["rails"],
            :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK,
            :message=>message,
            :mitigation=>"Please upgrade Mail gem version to version 2.4.3. As a general rule, using the latest stable version is recommended.",
            :aux_links=>["http://secunia.com/advisories/48970"]
          })

          self.safe_dependencies = [{:name=>"mail_gem", :version=>['2.4.3', '2.3.4']}]

				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_2140.rb
dawnscanner-1.6.8 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.7 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.6 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.5 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.4 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.3 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.2 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.1 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.6.0 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.5.2 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.5.1 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.5.0 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.4.2 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.4.1 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.4.0 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.3.5 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.3.1 lib/dawn/kb/cve_2012_2140.rb
dawnscanner-1.3.0 lib/dawn/kb/cve_2012_2140.rb