Class: Dawn::Kb::CVE_2014_2538
- Inherits:
-
Object
- Object
- Dawn::Kb::CVE_2014_2538
- Includes:
- DependencyCheck
- Defined in:
- lib/dawn/kb/cve_2014_2538.rb
Overview
Automatically created with rake on 2014-03-23
Constant Summary
Constants included from BasicCheck
Instance Attribute Summary
Attributes included from DependencyCheck
#aux_mitigation_gem, #dependencies, #not_affected, #safe_dependencies, #save_major, #save_minor
Attributes included from BasicCheck
#applies, #aux_links, #check_family, #cve, #cvss, #cwe, #debug, #evidences, #fixes_version, #kind, #message, #mitigated, #name, #osvdb, #owasp, #priority, #release_date, #remediation, #ruby_version, #ruby_vulnerable_versions, #severity, #status, #target_version, #title
Instance Method Summary collapse
-
#initialize ⇒ CVE_2014_2538
constructor
A new instance of CVE_2014_2538.
Methods included from DependencyCheck
Methods included from BasicCheck
#applies_to?, #cve_link, #cvss_score, families, #family, #family=, #lint, #mitigated?, #nvd_link, #osvdb_link, #rubysec_advisories_link
Methods included from Utils
#__debug_me_and_return, #debug_me, #debug_me_and_return_false, #debug_me_and_return_true
Constructor Details
#initialize ⇒ CVE_2014_2538
Returns a new instance of CVE_2014_2538.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/dawn/kb/cve_2014_2538.rb', line 7 def initialize = "rack-ssl Gem for Ruby contains a flaw that allows a reflected cross-site scripting (XSS) attack. This flaw exists because the program does not validate input passed via error messages before returning it to users. This may allow a context-dependent attacker to create a specially crafted request that would execute arbitrary script code in a user's browser session within the trust relationship between their browser and the server." super({ :name=>"CVE-2014-2538", :cvss=>"AV:N/AC:M/Au:N/C:N/I:P/A:N", :release_date => Date.new(2014, 3, 25), :cwe=>"79", :owasp=>"A3", :applies=>["rails"], :kind=>Dawn::KnowledgeBase::DEPENDENCY_CHECK, :message=>, :mitigation=>"A new version for rack-ssl version it has been released. Pleas upgrade at least to version 1.3.4 or higher.", :aux_links=>["http://seclists.org/oss-sec/2014/q1/594"] }) self.safe_dependencies = [{:name=>"rack-ssl", :version=>['1.3.4']}] end |