Sha256: 8d57d0f9fff20ef9df4a647c62243f2e09412bc82191214bdde6f0a8a3596b23
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
module Dawn module Kb # Automatically created with rake on 2015-07-29 class CVE_2015_1840_a include DependencyCheck def initialize message = "jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value." super({ :name=>"CVE-2015-1849", :cvss=>"AV:N/AC:L/Au:N/C:P/I:N/A:N", :release_date => Date.new(2015, 7, 26), :cwe=>"200", :owasp=>"A8", :applies=>["rails"], :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK, :message=>message, :mitigation=>"Please upgrade jquery-ujs and jquery-rails gems to latest version.", :aux_links=>["https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md", "https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md"] }) self.safe_dependencies = [{:name=>"jquery-rails", :version=>['4.0.2', '3.1.3']}] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dawnscanner-1.4.0 | lib/dawn/kb/cve_2015_1840/cve_2015_1840_a.rb |
dawnscanner-1.3.5 | lib/dawn/kb/cve_2015_1840/cve_2015_1840_a.rb |