Rubyonrails Rails vulnerabilities

138 known vulnerabilities affecting rubyonrails/rails.

Total CVEs
138
CISA KEV
3
actively exploited
Public exploits
12
Exploited in wild
2
Severity breakdown
CRITICAL8HIGH38MEDIUM89LOW3

Vulnerabilities

Page 4 of 7
CVE-2017-17916HIGHCVSS 8.1≤ 5.1.42017-12-29
CVE-2017-17916 [HIGH] CWE-89 CVE-2017-17916: SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input
nvd
CVE-2017-17917HIGHCVSS 8.1≤ 5.1.42017-12-29
CVE-2017-17917 [HIGH] CWE-89 CVE-2017-17917: SQL injection vulnerability in the 'where' method in Ruby on Rails 5.1.4 and earlier allows remote a SQL injection vulnerability in the 'where' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input
nvd
CVE-2009-2422CRITICALCVSS 9.8≥ 0, < 2.3.32017-10-24
CVE-2009-2422 [CRITICAL] CWE-287 rails vulnerable to improper authentication rails vulnerable to improper authentication The example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_request_with_http_digest block that returns nil instead of false when the user does not exist, which allows context-dependent attackers to bypass authentication for applications that are derived from this example by sending an invalid
ghsaosv
CVE-2007-5379MEDIUMCVSS 5.0≥ 0, < 1.2.42017-10-24
CVE-2007-5379 [MEDIUM] CWE-200 Moderate severity vulnerability that affects rails Moderate severity vulnerability that affects rails Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers and ActiveResource servers to determine the existence of arbitrary files and read arbitrary XML files via the Hash.from_xml (Hash#from_xml) method, which uses XmlSimple (XML::Simple) unsafely, as demonstrated by reading passwords from the Pidgin (Gaim) .purple/accounts.xml file.
ghsaosv
CVE-2007-5380MEDIUMCVSS 6.8≥ 0, < 1.2.42017-10-24
CVE-2007-5380 [MEDIUM] CWE-384 Session fixation vulnerability in Rails Session fixation vulnerability in Rails Session fixation vulnerability in Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers to hijack web sessions via unspecified vectors related to "URL-based sessions."
ghsaosv
CVE-2016-6317HIGHCVSS 7.5v4.2.0v4.2.1+8 more2016-09-07
CVE-2016-6317 [HIGH] CVE-2016-6317: Action Record in Ruby on Rails 4.2.x before 4.2.7.1 does not properly consider differences in parame Action Record in Ruby on Rails 4.2.x before 4.2.7.1 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "
nvdosv
CVE-2016-6316MEDIUMCVSS 6.1v3.0.0v3.0.1+90 more2016-09-07
CVE-2016-6316 [MEDIUM] CWE-79 CVE-2016-6316: Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x be Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.
nvdosv
CVE-2016-2098HIGHCVSS 7.3PoCv4.0.0v4.0.1+31 more2016-04-07
CVE-2016-2098 [HIGH] CWE-20 CVE-2016-2098: Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows r Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.
nvdosv
CVE-2016-2097MEDIUMCVSS 5.3v4.0.0v4.0.1+24 more2016-04-07
CVE-2016-2097 [MEDIUM] CVE-2016-2097: Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1 Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.
nvdosv
CVE-2015-7581HIGHCVSS 7.5v4.0.0v4.0.1+25 more2016-02-16
CVE-2015-7581 [HIGH] CWE-399 CVE-2015-7581: actionpack/lib/action_dispatch/routing/route_set.rb in Action Pack in Ruby on Rails 4.x before 4.2.5 actionpack/lib/action_dispatch/routing/route_set.rb in Action Pack in Ruby on Rails 4.x before 4.2.5.1 and 5.x before 5.0.0.beta1.1 allows remote attackers to cause a denial of service (superfluous caching and memory consumption) by leveraging an application's use of a wildcard controller route.
nvdosv
CVE-2016-0751HIGHCVSS 7.5v4.0.0v4.0.1+29 more2016-02-16
CVE-2016-0751 [HIGH] CWE-399 CVE-2016-0751: actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before 3.2.22.1, 4. actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly restrict use of the MIME type cache, which allows remote attackers to cause a denial of service (memory consumption) via a crafted HTTP Accept header.
nvdosv
CVE-2016-0752HIGHCVSS 7.5KEVPoCfixed in 3.2.22.1≥ 4.0.0, < 4.1.14.1+2 more2016-02-16
CVE-2016-0752 [HIGH] CWE-22 CVE-2016-0752: Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x b Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.
nvdosv
CVE-2016-0753MEDIUMCVSS 5.3≥ 4.1.0, < 4.1.14.1≥ 4.2.0, < 4.2.5.1+1 more2016-02-16
CVE-2016-0753 [MEDIUM] CVE-2016-0753: Active Model in Ruby on Rails 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta Active Model in Ruby on Rails 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 supports the use of instance-level writers for class accessors, which allows remote attackers to bypass intended validation steps via crafted parameters.
nvdosv
CVE-2015-7577MEDIUMCVSS 5.3v4.0.0v4.0.1+31 more2016-02-16
CVE-2015-7577 [MEDIUM] CWE-284 CVE-2015-7577: activerecord/lib/active_record/nested_attributes.rb in Active Record in Ruby on Rails 3.1.x and 3.2. activerecord/lib/active_record/nested_attributes.rb in Active Record in Ruby on Rails 3.1.x and 3.2.x before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly implement a certain destroy option, which allows remote attackers to bypass intended change restrictions by leveraging use of the ne
nvdosv
CVE-2015-7576LOWCVSS 3.7v4.0.0v4.0.1+31 more2016-02-16
CVE-2015-7576 [LOW] CWE-254 CVE-2015-7576: The http_basic_authenticate_with method in actionpack/lib/action_controller/metal/http_authenticatio The http_basic_authenticate_with method in actionpack/lib/action_controller/metal/http_authentication.rb in the Basic Authentication implementation in Action Controller in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not use a constant-time algorithm for verifying credentials, whi
nvdosv
CVE-2015-3226MEDIUMCVSS 4.3v3.0.0v3.1.0+28 more2015-07-26
CVE-2015-3226 [MEDIUM] CWE-79 CVE-2015-3226: Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.
nvdosv
CVE-2015-3227MEDIUMCVSS 5.0v4.1.0v4.1.1+9 more2015-07-26
CVE-2015-3227 [MEDIUM] CVE-2015-3227: The (1) jdom.rb and (2) rexml.rb components in Active Support in Ruby on Rails before 4.1.11 and 4.2 The (1) jdom.rb and (2) rexml.rb components in Active Support in Ruby on Rails before 4.1.11 and 4.2.x before 4.2.2, when JDOM or REXML is enabled, allow remote attackers to cause a denial of service (SystemStackError) via a large XML document depth.
nvdosv
CVE-2014-7829MEDIUMCVSS 5.0v3.0.0v3.0.1+66 more2014-11-18
CVE-2014-7829 [MEDIUM] CVE-2014-7829: Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action P Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a
nvdosv
CVE-2014-3916MEDIUMCVSS 5.0v1.9.3v2.0.0+1 more2014-11-16
CVE-2014-3916 [MEDIUM] CWE-19 CVE-2014-3916: The str_buf_cat function in string.c in Ruby 1.9.3, 2.0.0, and 2.1 allows context-dependent attacker The str_buf_cat function in string.c in Ruby 1.9.3, 2.0.0, and 2.1 allows context-dependent attackers to cause a denial of service (segmentation fault and crash) via a long string.
nvd
CVE-2014-7818MEDIUMCVSS 4.3v3.0.0v3.0.1+65 more2014-11-08
CVE-2014-7818 [MEDIUM] CWE-22 CVE-2014-7818: Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action P Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20, 4.0.x before 4.0.11, 4.1.x before 4.1.7, and 4.2.x before 4.2.0.beta3, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via a /..%2F sequ
nvdosv