Sha256: b210b1f50f39b05399b99803708d65982689621974a37eca0ac7ea58714a3f85

Contents?: true

Size: 1018 Bytes

Versions: 25

Compression:

Stored size: 1018 Bytes

Contents

module Codesake
	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=>Codesake::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
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
dawnscanner-1.2.99 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.2.99 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.2.0 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.1.3 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.1.2 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.1.1 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.1.0 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.1.0.rc2 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.1.0.rc1 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.6 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.5 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.4 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.3 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.2 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.1 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.0 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.0.rc2 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-1.0.0.rc1 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-0.85 lib/codesake/dawn/kb/cve_2012_2140.rb
codesake-dawn-0.80.0 lib/codesake/dawn/kb/cve_2012_2140.rb