class Dawn::Kb::CVE_2015_7577

Automatically created with rake on 2016-01-29

Public Class Methods

new() click to toggle source
Calls superclass method Dawn::Kb::DependencyCheck::new
# File lib/dawn/kb/cve_2015_7577.rb, line 8
                      def initialize
message = "There is a vulnerability in how the nested attributes feature in Active Record handles updates in combination with destroy flags when destroying records is disabled."
super({
  :title=>title,
  :name=> "CVE-2015-7577",
  :cve=>"2015-7577",
  :osvdb=>"",
  :cvss=>"",
  :release_date => Date.new(2016, 1, 26),
  :cwe=>"",
  :owasp=>"A9",
  :applies=>["rails", "sinatra", "padrino"],
  :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK,
  :message=>message,
  :mitigation=>"Please upgrade activerecord gem to version 3.2.22.1, 4.1.14.1, 4.2.5.1, 5.0.0.beta1.1 or later.",
  :aux_links=>["http://securitytracker.com/id/1034816", "https://groups.google.com/forum/#!topic/rubyonrails-security/cawsWcQ6c8g"]
 })
self.save_minor=true
self.save_major=true
# self.debug = true
self.safe_dependencies = [{:name=>"activerecord", :version=>['3.1.9999','3.2.22.1', '4.1.14.1', '4.2.5.1', '5.0.0.beta1.1']}]
self.not_affected = {:name=>"actionpack", :version=>['3.0.x']}

                      end