Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/activerecord@4.1.4
purl pkg:gem/activerecord@4.1.4
Next non-vulnerable version 7.1.5.2
Latest non-vulnerable version 8.0.2.1
Risk 4.5
Vulnerabilities affecting this package (14)
Vulnerability Summary Fixed by
VCID-2efj-tf8d-dfck
Aliases:
CVE-2014-3514
GHSA-9rf5-jm6f-2fmm
Strong Parameter bypass with create_with The `create_with` functionality in Active Record was implemented incorrectly and completely bypasses the strong parameter protection.
4.1.5
Affected by 12 other vulnerabilities.
VCID-4cky-r218-dkbb
Aliases:
CVE-2011-2930
GHSA-h6w6-xmqv-7q78
activerecord vulnerable to SQL Injection 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. There are no reported fixed by versions.
VCID-5mr1-tzkd-v3ae
Aliases:
GHSA-hm48-76wh-q86v
High severity vulnerability that affects activerecord Withdrawn, accidental duplicate publish. 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.
4.1.5
Affected by 12 other vulnerabilities.
VCID-9t7a-muwx-zyee
Aliases:
CVE-2016-6317
GHSA-pr3r-4wrp-r2pv
Improper Access Control The Rails gem 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.
4.2.7.1
Affected by 9 other vulnerabilities.
VCID-bsxw-gh14-rbef
Aliases:
CVE-2012-2695
GHSA-76wq-xw4h-f8wj
activerecord vulnerable to SQL Injection The Active Record component in Ruby on Rails efore 2.3.15, 3.0.x 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. There are no reported fixed by versions.
VCID-eb5z-q7rj-j7hh
Aliases:
CVE-2013-3221
GHSA-f57c-hx33-hvh8
Active Record component in Ruby on Rails has a data-type injection vulnerability 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.
4.2.0
Affected by 13 other vulnerabilities.
VCID-f4h5-8f57-3uhr
Aliases:
GHSA-7phj-gmgx-2r66
Moderate severity vulnerability that affects activerecord Withdrawn, accidental duplicate publish. 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.
4.1.14.1
Affected by 10 other vulnerabilities.
4.2.5.1
Affected by 11 other vulnerabilities.
VCID-j8zg-kq3z-jqcm
Aliases:
CVE-2010-3933
GHSA-gjxw-5w2q-7grf
Improper Input Validation Ruby on Rails 2.3.9 and 3.0.0 does not properly handle nested attributes, which allows remote attackers to modify arbitrary records by changing the names of parameters for form inputs. There are no reported fixed by versions.
VCID-n8r7-wthv-fqaj
Aliases:
CVE-2022-32224
GHSA-3hhc-qp5v-9p2j
GMS-2022-3029
Active Record RCE bug with Serialized Columns When serialized columns that use YAML (the default) are deserialized, Rails uses YAML.unsafe_load to convert the YAML data in to Ruby objects. If an attacker can manipulate data in the database (via means like SQL injection), then it may be possible for the attacker to escalate to an RCE. There are no feasible workarounds for this issue, but other coders (such as JSON) are not impacted.
5.2.8.1
Affected by 2 other vulnerabilities.
6.0.5.1
Affected by 3 other vulnerabilities.
6.1.6.1
Affected by 3 other vulnerabilities.
7.0.3.1
Affected by 3 other vulnerabilities.
VCID-nzeb-cy9e-tkax
Aliases:
CVE-2008-4094
GHSA-xf96-32q2-9rw2
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Multiple SQL injection vulnerabilities in Ruby on Rails before 2.1.1 allow remote attackers to execute arbitrary SQL commands via the (1) :limit and (2) :offset parameters, related to ActiveRecord, ActiveSupport, ActiveResource, ActionPack, and ActionMailer. There are no reported fixed by versions.
VCID-sygb-mygd-s3gb
Aliases:
CVE-2022-44566
GHSA-579w-22j4-4749
GMS-2023-59
Duplicate This advisory duplicates another.
6.1.7.1
Affected by 1 other vulnerability.
7.0.4.1
Affected by 1 other vulnerability.
VCID-thx6-usb2-kkgc
Aliases:
CVE-2015-7577
GHSA-xrr6-3pc4-m447
Nested attributes rejection proc bypass When using the nested attributes feature in Active Record you can prevent the destruction of associated records by passing the `allow_destroy: false` option to the `accepts_nested_attributes_for` method. The `allow_destroy` flag prevents the `:reject_if` proc from being called because it assumes that the record will be destroyed anyway. However, this is not true if `:allow_destroy` is false so this leads to changes that would have been rejected being applied to the record. Attackers could set attributes to invalid values or clear all the attributes.
4.1.14.1
Affected by 10 other vulnerabilities.
4.2.5.1
Affected by 11 other vulnerabilities.
5.0.0.beta1.1
Affected by 9 other vulnerabilities.
VCID-y54w-a8kr-suhy
Aliases:
CVE-2011-0448
GHSA-jmm9-2p29-vh2w
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Ruby on Rails 3.0.x before 3.0.4 does not ensure that arguments to the limit function specify integer values, which makes it easier for remote attackers to conduct SQL injection attacks via a non-numeric argument. There are no reported fixed by versions.
VCID-zqzx-avvt-wkhm
Aliases:
CVE-2025-55193
GHSA-76r7-hhxj-r776
Active Record logging vulnerable to ANSI escape injection This vulnerability has been assigned the CVE identifier CVE-2025-55193 ### Impact 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. ### Releases The fixed releases are available at the normal locations. ### Credits Thanks to [lio346](https://hackerone.com/lio346) from Unit 515 of OPSWAT for reporting this vulnerability
7.1.5.2
Affected by 0 other vulnerabilities.
7.2.0.beta1
Affected by 1 other vulnerability.
7.2.2.2
Affected by 0 other vulnerabilities.
8.0.0.beta1
Affected by 1 other vulnerability.
8.0.2.1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T17:41:28.170695+00:00 Ruby Importer Affected by VCID-zqzx-avvt-wkhm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2025-55193.yml 38.4.0
2026-04-16T17:37:21.594110+00:00 Ruby Importer Affected by VCID-y54w-a8kr-suhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-0448.yml 38.4.0
2026-04-16T17:37:12.166540+00:00 Ruby Importer Affected by VCID-j8zg-kq3z-jqcm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2010-3933.yml 38.4.0
2026-04-16T17:36:56.906107+00:00 Ruby Importer Affected by VCID-bsxw-gh14-rbef https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2012-2695.yml 38.4.0
2026-04-16T17:36:49.711274+00:00 Ruby Importer Affected by VCID-4cky-r218-dkbb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-2930.yml 38.4.0
2026-04-16T17:36:29.943679+00:00 Ruby Importer Affected by VCID-nzeb-cy9e-tkax https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2008-4094.yml 38.4.0
2026-04-16T17:35:44.727189+00:00 Ruby Importer Affected by VCID-2efj-tf8d-dfck https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2014-3514.yml 38.4.0
2026-04-16T02:32:16.484230+00:00 GHSA Importer Affected by VCID-n8r7-wthv-fqaj https://github.com/advisories/GHSA-3hhc-qp5v-9p2j 38.4.0
2026-04-16T01:23:00.235704+00:00 GHSA Importer Affected by VCID-f4h5-8f57-3uhr https://github.com/advisories/GHSA-7phj-gmgx-2r66 38.4.0
2026-04-16T01:22:28.257625+00:00 GHSA Importer Affected by VCID-5mr1-tzkd-v3ae https://github.com/advisories/GHSA-hm48-76wh-q86v 38.4.0
2026-04-12T00:55:27.106312+00:00 GitLab Importer Affected by VCID-zqzx-avvt-wkhm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2025-55193.yml 38.3.0
2026-04-11T23:37:57.060462+00:00 GitLab Importer Affected by VCID-sygb-mygd-s3gb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2022-44566.yml 38.3.0
2026-04-11T23:34:50.289160+00:00 GitLab Importer Affected by VCID-n8r7-wthv-fqaj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2022-32224.yml 38.3.0
2026-04-11T23:07:23.879602+00:00 GitLab Importer Affected by VCID-eb5z-q7rj-j7hh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2013-3221.yml 38.3.0
2026-04-11T21:45:04.082597+00:00 GitLab Importer Affected by VCID-9t7a-muwx-zyee https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2016-6317.yml 38.3.0
2026-04-11T21:43:52.562986+00:00 GitLab Importer Affected by VCID-thx6-usb2-kkgc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2015-7577.yml 38.3.0
2026-04-11T21:42:10.935196+00:00 GitLab Importer Affected by VCID-2efj-tf8d-dfck https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2014-3514.yml 38.3.0
2026-04-11T21:39:19.526279+00:00 Ruby Importer Affected by VCID-zqzx-avvt-wkhm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2025-55193.yml 38.3.0
2026-04-11T21:34:14.191930+00:00 Ruby Importer Affected by VCID-y54w-a8kr-suhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-0448.yml 38.3.0
2026-04-11T21:34:04.147120+00:00 Ruby Importer Affected by VCID-j8zg-kq3z-jqcm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2010-3933.yml 38.3.0
2026-04-11T21:33:47.941134+00:00 Ruby Importer Affected by VCID-bsxw-gh14-rbef https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2012-2695.yml 38.3.0
2026-04-11T21:33:39.794961+00:00 Ruby Importer Affected by VCID-4cky-r218-dkbb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-2930.yml 38.3.0
2026-04-11T21:33:19.049346+00:00 Ruby Importer Affected by VCID-nzeb-cy9e-tkax https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2008-4094.yml 38.3.0
2026-04-11T21:32:29.546956+00:00 Ruby Importer Affected by VCID-2efj-tf8d-dfck https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2014-3514.yml 38.3.0
2026-04-11T13:57:44.994313+00:00 GHSA Importer Affected by VCID-n8r7-wthv-fqaj https://github.com/advisories/GHSA-3hhc-qp5v-9p2j 38.3.0
2026-04-11T12:52:21.515253+00:00 GHSA Importer Affected by VCID-f4h5-8f57-3uhr https://github.com/advisories/GHSA-7phj-gmgx-2r66 38.3.0
2026-04-11T12:51:39.683678+00:00 GHSA Importer Affected by VCID-5mr1-tzkd-v3ae https://github.com/advisories/GHSA-hm48-76wh-q86v 38.3.0
2026-04-05T02:29:49.833888+00:00 GitLab Importer Affected by VCID-n8r7-wthv-fqaj https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2022-32224.yml 38.1.0
2026-04-03T01:03:36.622382+00:00 GitLab Importer Affected by VCID-zqzx-avvt-wkhm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2025-55193.yml 38.1.0
2026-04-02T23:42:14.717839+00:00 GitLab Importer Affected by VCID-sygb-mygd-s3gb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2022-44566.yml 38.1.0
2026-04-02T23:15:38.125972+00:00 GitLab Importer Affected by VCID-eb5z-q7rj-j7hh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2013-3221.yml 38.1.0
2026-04-02T21:59:06.331944+00:00 GitLab Importer Affected by VCID-9t7a-muwx-zyee https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2016-6317.yml 38.1.0
2026-04-02T21:58:00.192322+00:00 GitLab Importer Affected by VCID-thx6-usb2-kkgc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2015-7577.yml 38.1.0
2026-04-02T21:56:20.964194+00:00 GitLab Importer Affected by VCID-2efj-tf8d-dfck https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2014-3514.yml 38.1.0
2026-04-02T19:36:54.331523+00:00 Ruby Importer Affected by VCID-zqzx-avvt-wkhm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2025-55193.yml 38.1.0
2026-04-02T19:32:34.590546+00:00 Ruby Importer Affected by VCID-y54w-a8kr-suhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-0448.yml 38.1.0
2026-04-02T19:32:26.108864+00:00 Ruby Importer Affected by VCID-j8zg-kq3z-jqcm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2010-3933.yml 38.1.0
2026-04-02T19:32:12.117553+00:00 Ruby Importer Affected by VCID-bsxw-gh14-rbef https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2012-2695.yml 38.1.0
2026-04-02T19:32:05.487860+00:00 Ruby Importer Affected by VCID-4cky-r218-dkbb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-2930.yml 38.1.0
2026-04-02T19:31:47.343955+00:00 Ruby Importer Affected by VCID-nzeb-cy9e-tkax https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2008-4094.yml 38.1.0
2026-04-02T19:31:03.829341+00:00 Ruby Importer Affected by VCID-2efj-tf8d-dfck https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2014-3514.yml 38.1.0
2026-04-02T14:44:04.255942+00:00 GHSA Importer Affected by VCID-n8r7-wthv-fqaj https://github.com/advisories/GHSA-3hhc-qp5v-9p2j 38.1.0
2026-04-02T13:45:14.104455+00:00 GHSA Importer Affected by VCID-f4h5-8f57-3uhr https://github.com/advisories/GHSA-7phj-gmgx-2r66 38.1.0
2026-04-02T13:44:50.803683+00:00 GHSA Importer Affected by VCID-5mr1-tzkd-v3ae https://github.com/advisories/GHSA-hm48-76wh-q86v 38.1.0
2026-04-01T18:04:57.881300+00:00 GitLab Importer Affected by VCID-sygb-mygd-s3gb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2022-44566.yml 38.0.0
2026-04-01T17:35:40.614785+00:00 GitLab Importer Affected by VCID-eb5z-q7rj-j7hh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2013-3221.yml 38.0.0
2026-04-01T16:16:24.665122+00:00 GitLab Importer Affected by VCID-9t7a-muwx-zyee https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2016-6317.yml 38.0.0
2026-04-01T16:15:12.291693+00:00 GitLab Importer Affected by VCID-thx6-usb2-kkgc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2015-7577.yml 38.0.0
2026-04-01T16:13:30.628282+00:00 GitLab Importer Affected by VCID-2efj-tf8d-dfck https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/activerecord/CVE-2014-3514.yml 38.0.0
2026-04-01T15:54:25.807021+00:00 Ruby Importer Affected by VCID-zqzx-avvt-wkhm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2025-55193.yml 38.0.0
2026-04-01T15:49:30.511216+00:00 Ruby Importer Affected by VCID-y54w-a8kr-suhy https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-0448.yml 38.0.0
2026-04-01T15:49:20.609577+00:00 Ruby Importer Affected by VCID-j8zg-kq3z-jqcm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2010-3933.yml 38.0.0
2026-04-01T15:49:04.786596+00:00 Ruby Importer Affected by VCID-bsxw-gh14-rbef https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2012-2695.yml 38.0.0
2026-04-01T15:48:56.939138+00:00 Ruby Importer Affected by VCID-4cky-r218-dkbb https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-2930.yml 38.0.0
2026-04-01T15:48:36.482304+00:00 Ruby Importer Affected by VCID-nzeb-cy9e-tkax https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2008-4094.yml 38.0.0
2026-04-01T15:47:50.968977+00:00 Ruby Importer Affected by VCID-2efj-tf8d-dfck https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2014-3514.yml 38.0.0