Rubyonrails Rails vulnerabilities
139 known vulnerabilities affecting rubyonrails/rails.
Total CVEs
139
CISA KEV
3
actively exploited
Public exploits
13
Exploited in wild
4
Severity breakdown
CRITICAL10HIGH39MEDIUM87LOW3
Vulnerabilities
Page 3 of 7
CVE-2023-22792P3HIGHCVSS 7.5≥ 3.0.0, < 6.0.6.1≥ 6.1.0, < 6.1.7.1+1 more2023-02-09
CVE-2023-22792 [HIGH] CWE-400 CVE-2023-22792: A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Sp
A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to
nvdosv
CVE-2026-33176P3HIGHCVSS 7.5fixed in 7.2.3.1≥ 8.0.0, < 8.0.4.1+1 more2026-03-24
CVE-2026-33176 [HIGH] CWE-400 CVE-2026-33176: Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails f
Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Support number helpers accept strings containing scientific notation (e.g. `1e10000`), which `BigDecimal` expands into extremely large decimal representations. This can cause excessive me
nvd
CVE-2021-22880P3HIGHCVSS 7.5≥ 4.2.0, < 5.2.4.5≥ 6.0.0, < 6.0.3.5+1 more2021-02-11
CVE-2021-22880 [HIGH] CWE-400 CVE-2021-22880: The PostgreSQL adapter in Active Record before 6.1.2.1, 6.0.3.5, 5.2.4.5 suffers from a regular expr
The PostgreSQL adapter in Active Record before 6.1.2.1, 6.0.3.5, 5.2.4.5 suffers from a regular expression denial of service (REDoS) vulnerability. Carefully crafted input can cause the input validation in the `money` type of the PostgreSQL adapter in Active Record to spend too much time in a regular expression, resulting in the potential for a DoS at
nvdosv
CVE-2012-2695P3HIGHCVSS 7.5v3.0.0v3.0.1+24 more2012-06-22
CVE-2012-2695 [HIGH] CVE-2012-2695: The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2
The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage improper handling of nested hashes, a related i
nvd
CVE-2014-3514P3HIGHCVSS 7.5v4.0.0v4.0.1+12 more2014-08-20
CVE-2014-3514 [HIGH] CWE-264 CVE-2014-3514: activerecord/lib/active_record/relation/query_methods.rb in Active Record in Ruby on Rails 4.0.x bef
activerecord/lib/active_record/relation/query_methods.rb in Active Record in Ruby on Rails 4.0.x before 4.0.9 and 4.1.x before 4.1.5 allows remote attackers to bypass the strong parameters protection mechanism via crafted input to an application that makes create_with calls.
nvdosv
CVE-2011-0449P3HIGHCVSS 7.5v3.0.0v3.0.1+3 more2011-02-21
CVE-2011-0449 [HIGH] CWE-264 CVE-2011-0449: actionpack/lib/action_view/template/resolver.rb in Ruby on Rails 3.0.x before 3.0.4, when a case-ins
actionpack/lib/action_view/template/resolver.rb in Ruby on Rails 3.0.x before 3.0.4, when a case-insensitive filesystem is used, does not properly implement filters associated with the list of available templates, which allows remote attackers to bypass intended access restrictions via an action name that uses an unintended case for alphabetic character
nvd
CVE-2023-22795P3HIGHCVSS 7.5fixed in 6.1.7.1≥ 7.0.0, < 7.0.4.12023-02-09
CVE-2023-22795 [HIGH] CWE-400 CVE-2023-22795: A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the
A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and
nvdosv
CVE-2007-3227P4MEDIUMCVSS 4.3PoCv1.1.52007-06-14
CVE-2007-3227 [MEDIUM] CWE-79 CVE-2007-3227: Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Rub
Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.
ghsanvdosv
CVE-2024-47887P3MEDIUMCVSS 6.6≥ 0, < 2:6.0.3.7+dfsg-2+deb11u3≥ 0, < 2:6.1.7.10+dfsg-1~deb12u1+1 more2024-10-16
CVE-2024-47887 [MEDIUM] CVE-2024-47887: Action Pack is a framework for handling and responding to web requests
Action Pack is a framework for handling and responding to web requests. Starting in version 4.0.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in Action Controller's HTTP Token authentication. For applications using HTTP Token authentication via `authenticate_or_request_with_http_token` or similar, a carefully crafted header may c
osv
CVE-2012-2660P3MEDIUMCVSS 6.4v3.0.0v3.0.1+23 more2012-06-22
CVE-2012-2660 [MEDIUM] CWE-264 CVE-2012-2660: actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.13, 3.1.x before 3.1.5, a
actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a cra
nvd
CVE-2023-22796P3HIGHCVSS 7.5≥ 0, < 2:6.0.3.7+dfsg-2+deb11u1≥ 0, < 2:6.1.7.3+dfsg-12023-02-09
CVE-2023-22796 [HIGH] CVE-2023-22796: A regular expression based DoS vulnerability in Active Support <6
A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1. A specially crafted string passed to the underscore method can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability.
osv
CVE-2016-0753P3MEDIUMCVSS 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-2024-26142P3HIGHCVSS 7.5≥ 7.1.0, < 7.1.3.12024-02-27
CVE-2024-26142 [HIGH] CWE-1333 CVE-2024-26142: Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerabi
Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerability in the Accept header parsing routines of Action Dispatch. This vulnerability is patched in 7.1.3.1. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected.
nvd
CVE-2021-22902P3HIGHCVSS 7.5≥ 6.0.0, < 6.0.3.7≥ 6.1.0, < 6.1.0.22021-06-11
CVE-2021-22902 [HIGH] CWE-400 CVE-2021-22902: The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.
The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.0.3.7, 6.1.3.2 suffers from a possible denial of service vulnerability in the Mime type parser of Action Dispatch. Carefully crafted Accept headers can cause the mime type parser in Action Dispatch to do catastrophic backtracking in the regular expressi
nvdosv
CVE-2015-7581P3HIGHCVSS 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-2022-44566P3HIGHCVSS 7.5≥ 0, < 2:6.0.3.7+dfsg-2+deb11u3≥ 0, < 2:6.1.7.3+dfsg-12023-02-09
CVE-2022-44566 [HIGH] CVE-2022-44566: A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7
A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Ser
osv
CVE-2014-0080P3MEDIUMCVSS 6.8v4.0.0v4.0.1+2 more2014-02-20
CVE-2014-0080 [MEDIUM] CWE-89 CVE-2014-0080: SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/cast.rb
SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/cast.rb in Active Record in Ruby on Rails 4.0.x before 4.0.3, and 4.1.0.beta1, when PostgreSQL is used, allows remote attackers to execute "add data" SQL commands via vectors involving \ (backslash) characters that are not properly handled in operations on arra
nvd
CVE-2024-41128P3MEDIUMCVSS 6.6≥ 0, < 2:6.0.3.7+dfsg-2+deb11u3≥ 0, < 2:6.1.7.10+dfsg-1~deb12u1+1 more2024-10-16
CVE-2024-41128 [MEDIUM] CVE-2024-41128: Action Pack is a framework for handling and responding to web requests
Action Pack is a framework for handling and responding to web requests. Starting in version 3.1.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in the query parameter filtering routines of Action Dispatch. Carefully crafted query parameters can cause query parameter filtering to take an unexpected amount of time, possibly resulting
osv
CVE-2024-47888P3MEDIUMCVSS 6.6≥ 0, < 2:6.0.3.7+dfsg-2+deb11u3≥ 0, < 2:6.1.7.10+dfsg-1~deb12u1+1 more2024-10-16
CVE-2024-47888 [MEDIUM] CVE-2024-47888: Action Text brings rich text content and editing to Rails
Action Text brings rich text content and editing to Rails. Starting in version 6.0.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in the `plain_text_for_blockquote_node helper` in Action Text. Carefully crafted text can cause the `plain_text_for_blockquote_node` helper to take an unexpected amount of time, possibly resulting in a DoS vulnerabi
osv
CVE-2024-47889P3MEDIUMCVSS 6.6≥ 0, < 2:6.0.3.7+dfsg-2+deb11u3≥ 0, < 2:6.1.7.10+dfsg-1~deb12u1+1 more2024-10-16
CVE-2024-47889 [MEDIUM] CVE-2024-47889: Action Mailer is a framework for designing email service layers
Action Mailer is a framework for designing email service layers. Starting in version 3.0.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in the block_format helper in Action Mailer. Carefully crafted text can cause the block_format helper to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an
osv