p PatchFirst

PatchFirst · Latest vulnerabilities

activerecord vulnerabilities

Vulnerabilities published for activerecord in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 23

  1. CVE-2025-55193

    Low · CVSS 2.7EPSS 1.12%Fix available

    Active Record logging vulnerable to ANSI escape injection

    Active Record connects classes to relational database tables. Prior to versions 7.1.5.2, 7.2.2.2, and 8.0.2.1, the ID passed to find or similar methods may be logged without escaping. If this is directly to the terminal it may include unescaped ANSI sequences. This issue has been patched in versions 7.1.5.2, 7.2.2.2, and 8.0.2.1.

    • Update to 7.1.5.2
    • Update to 7.2.2.2
    • Update to 8.0.2.1
    Published Updated
  2. CVE-2023-22794

    High · CVSS 8.8EPSS 2.03%Fix available

    CVE-2023-22794

    A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the `annotate` query method, the `optimizer_hints` query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.

    • Update to 6.0.6.1
    • Update to 6.1.7.1
    • Update to 7.0.4.1
    Published Updated
  3. CVE-2022-44566

    High · CVSS 7.5EPSS 1.34%Fix available

    CVE-2022-44566

    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 Service.

    • Update to 6.1.7.1
    • Update to 7.0.4.1
    Published Updated
  4. CVE-2022-32224

    Critical · CVSS 9.8EPSS 2.74%Fix available

    CVE-2022-32224

    A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1, <6.1.6.1, <6.0.5.1 and <5.2.8.1 which could allow an attacker, that can manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.

    • Update to 5.2.8.1
    • Update to 6.0.5.1
    • Update to 6.1.6.1
    • Update to 7.0.3.1
    Published Updated
  5. CVE-2021-22880

    High · CVSS 7.5EPSS 4.49%Public exploitFix available

    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 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 attack. This only impacts Rails applications that are using PostgreSQL along with money type columns that take user input.

    • Update to 5.2.4.5
    • Update to 6.0.3.5
    • Update to 6.1.2.1
    Published Updated
  6. CVE-2016-6317

    High · CVSS 7.5EPSS 3.9%Fix available

    CVE-2016-6317

    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 "[nil]" values, a related issue to CVE-2012-2660, CVE-2012-2694, and CVE-2013-0155.

    • Update to 4.2.7.1
    Published Updated
  7. CVE-2015-7577

    Medium · CVSS 5.3EPSS 4.25%Fix available

    CVE-2015-7577

    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 nested attributes feature.

    • Update to 3.2.22.1
    • Update to 4.1.14.1
    • Update to 4.2.5.1
    • Update to 5.0.0.beta1.1
    Published Updated
  8. CVE-2014-3514

    Not ratedEPSS 2.8%Fix available

    CVE-2014-3514

    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.

    • Update to 4.0.9
    • Update to 4.1.5
    Published Updated
  9. CVE-2014-3483

    Not ratedEPSS 4.18%Fix available

    CVE-2014-3483

    SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 4.x before 4.0.7 and 4.1.x before 4.1.3 allows remote attackers to execute arbitrary SQL commands by leveraging improper range quoting.

    • Update to 4.0.7
    • Update to 4.1.3
    Published Updated
  10. CVE-2014-3482

    Not ratedEPSS 4.28%Fix available

    CVE-2014-3482

    SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 2.x and 3.x before 3.2.19 allows remote attackers to execute arbitrary SQL commands by leveraging improper bitstring quoting.

    • Update to 3.2.19
    Published Updated
  11. CVE-2014-0080

    Not ratedEPSS 1.27%Fix available

    CVE-2014-0080

    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 array columns.

    • Update to 4.0.3
    • Update to 4.1.0.beta2
    Published Updated
  12. CVE-2013-3221

    Critical · CVSS 9.3EPSS 2.4%Fix available

    CVE-2013-3221

    The Active Record component in Ruby on Rails 2.3.x, 3.0.x, 3.1.x, and 3.2.x does not ensure that the declared data type of a database column is used during comparisons of input values to stored values in that column, which makes it easier for remote attackers to conduct data-type injection attacks against Ruby on Rails applications via a crafted value, as demonstrated by unintended interaction between the "typed XML" feature and a MySQL database.

    • Update to 4.2.0
    Published Updated
  13. CVE-2013-1854

    Not ratedEPSS 3.5%Fix available

    CVE-2013-1854

    The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.

    • Update to 2.3.18
    • Update to 3.1.12
    • Update to 3.2.13
    Published Updated
  14. CVE-2013-0155

    Not ratedEPSS 8.24%Fix available

    CVE-2013-0155

    Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 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 "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.

    • Update to 3.0.19
    • Update to 3.1.10
    • Update to 3.2.11
    Published Updated
  15. CVE-2012-6496

    Not ratedEPSS 4.58%Fix available

    CVE-2012-6496

    SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.

    • Update to 2.3.15
    • Update to 3.0.18
    • Update to 3.1.9
    • Update to 3.2.10
    Published Updated
  16. CVE-2012-2695

    Not ratedEPSS 2.95%Fix available

    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.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 issue to CVE-2012-2661.

    • Update to 2.3.15
    • Update to 3.0.14
    • Update to 3.1.6
    • Update to 3.2.6
    Published Updated
  17. CVE-2012-2661

    Not ratedEPSS 4.04%Fix available

    CVE-2012-2661

    The Active Record component in Ruby on Rails 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 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 unintended recursion, a related issue to CVE-2012-2695.

    • Update to 3.0.13
    • Update to 3.1.5
    • Update to 3.2.4
    Published Updated
  18. CVE-2011-2930

    Not ratedEPSS 2.32%Fix available

    CVE-2011-2930

    Multiple SQL injection vulnerabilities in the quote_table_name method in the ActiveRecord adapters in activerecord/lib/active_record/connection_adapters/ in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allow remote attackers to execute arbitrary SQL commands via a crafted column name.

    • Update to 2.3.13
    • Update to 3.0.10
    • Update to 3.1.0.rc5
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →