Sha256: c84599aff2d3f7668daf7af113267d757a3b9487c37f5287dc3220b56678fd7c

Contents?: true

Size: 1.1 KB

Versions: 13

Compression:

Stored size: 1.1 KB

Contents

module Dawn
		module Kb
			# Automatically created with rake on 2015-12-02
			class OSVDB_121701
				include DependencyCheck

				def initialize
          title = "open-uri-cached Gem for Ruby Unsafe Temporary File Creation Local Privilege Escalation"
          message = "open-uri-cached Gem for Ruby contains a flaw that is due to the program creating temporary files in a predictable, unsafe manner when using YAML. This may allow a local attacker to gain elevated privileges."

          super({
            :title=>title,
            :name=> "OSVDB_121701",
            :cve=>"",
            :osvdb=>"121701",
            :cvss=>"",
            :release_date => Date.new(2015, 5, 5),
            :cwe=>"",
            :owasp=>"A9",
            :applies=>["rails", "sinatra", "padrino"],
            :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK,
            :message=>message,
            :mitigation=>"Please upgrade open-uri-cached gem to version 0.0.5 or later.",
            :aux_links=>[""]
           })
          self.safe_dependencies = [{:name=>"open-uri-cached", :version=>['0.0.5']}]
				end
			end
		end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dawnscanner-1.6.9 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.8 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.7 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.6 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.5 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.4 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.3 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.2 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.1 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.6.0 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.5.2 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.5.1 lib/dawn/kb/osvdb_121701.rb
dawnscanner-1.5.0 lib/dawn/kb/osvdb_121701.rb