activerecord vulnerabilities
Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.
- Registry
- RubyGems
- Latest
- 8.1.4.1
- License
- MIT
23 known advisories
The latest version, 8.1.4.1, is not affected by any of them. Projects on older versions may be.
bundle update --conservative activerecord # Gemfile: '>= 8.1.4.1'Is your project on an affected activerecord?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for activerecord
Active Record logging vulnerable to ANSI escape injection
- Affected
- >=8.0 <8.0.2.1 · >=7.2 <7.2.2.2 · <7.1.5.2
- Fixed in
- 7.1.5.2, 7.2.2.2, 8.0.2.1
Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter
- Affected
- <6.1.7.1 · >=7.0.0 <7.0.4.1
- Fixed in
- 6.1.7.1, 7.0.4.1
SQL Injection Vulnerability via ActiveRecord comments
- Affected
- >=6.0.0 <6.0.6.1 · >=6.1.0 <6.1.7.1 · >=7.0.0 <7.0.4.1
- Fixed in
- 6.0.6.1, 6.1.7.1, 7.0.4.1
Active Record RCE bug with Serialized Columns
- Affected
- >=7.0.0 <7.0.3.1 · >=6.1.0 <6.1.6.1 · >=6.0.0 <6.0.5.1 · <5.2.8.1
- Fixed in
- 5.2.8.1, 6.0.5.1, 6.1.6.1, 7.0.3.1
Active Record component in Ruby on Rails has a data-type injection vulnerability
- Affected
- <4.2.0
- Fixed in
- 4.2.0
Active Record subject to Regular Expression Denial-of-Service (ReDoS)
- Affected
- >=5.0.0 <5.2.4.5 · >=6.0.0 <6.0.3.5 · >=6.1.0 <6.1.2.1
- Fixed in
- 5.2.4.5, 6.0.3.5, 6.1.2.1
activerecord vulnerable to SQL Injection
- Affected
- >=3.0.0.beta <3.0.14 · >=3.1.0 <3.1.6 · >=3.2.0 <3.2.6 · <2.3.15
- Fixed in
- 2.3.15, 3.0.14, 3.1.6, 3.2.6
activerecord vulnerable to SQL Injection
- Affected
- >=2.0.0 <2.3.13 · >=3.0.0.beta <3.0.10 · >=3.1.0.beta1 <3.1.0.rc5
- Fixed in
- 2.3.13, 3.0.10, 3.1.0.rc5
activerecord vulnerable to SQL Injection
- Affected
- >=3.0.0 <3.0.4
- Fixed in
- 3.0.4
Rails ActiveRecord gem vulnerable to SQL injection
- Affected
- <2.1.1
- Fixed in
- 2.1.1
Active Record vulnerable to SQL Injection via nested query parameters
- Affected
- >=3.0.0 <3.0.13 · >=3.1.0 <3.1.5 · >=3.2.0 <3.2.4
- Fixed in
- 3.0.13, 3.1.5, 3.2.4
Rails activerecord gem has Improper Input Validation vulnerability
- Affected
- >=2.3.9 <2.3.10 · >=3.0.0 <3.0.1
- Fixed in
- 2.3.10, 3.0.1
Active Record contains deserialization of arbitrary YAML
- Affected
- <2.3.17 · >=3.0.0 <3.1.0
- Fixed in
- 2.3.17, 3.1.0
Active Record contains SQL Injection
- Affected
- >=3.0.0.beta <3.0.18 · >=3.1.0 <3.1.9 · >=3.2.0 <3.2.10 · <2.3.15
- Fixed in
- 2.3.15, 3.0.18, 3.1.9, 3.2.10
Active Record Improper Input Validation
- Affected
- >=2.3.0 <2.3.18 · >=3.1.0 <3.1.12 · >=3.2.0 <3.2.13
- Fixed in
- 2.3.18, 3.1.12, 3.2.13
Active Record allows bypassing of database-query restrictions
- Affected
- >=3.0.0 <3.0.19 · >=3.1.0 <3.1.10 · >=3.2.0 <3.2.11
- Fixed in
- 3.0.19, 3.1.10, 3.2.11
ActiveRecord vulnerable to modification of protected model attributes
- Affected
- <2.3.17 · >=3.1.0 <3.1.11 · >=3.2.0 <3.2.12
- Fixed in
- 2.3.17, 3.1.11, 3.2.12
Active Record subject to strong parameters protection bypass
- Affected
- >=4.0.0 <4.0.9 · >=4.1.0 <4.1.5
- Fixed in
- 4.0.9, 4.1.5
SQL Injection in Active Record
- Affected
- >=2.0.0 <3.2.19
- Fixed in
- 3.2.19
Active Record contains SQL Injection via improper range quoting
- Affected
- >=4.0.0 <4.0.7 · >=4.1.0 <4.1.3
- Fixed in
- 4.0.7, 4.1.3
Array data injection vulnerability in activerecord
- Affected
- >=4.0.0 <4.0.3 · >=4.1.0.beta1 <4.1.0.beta2
- Fixed in
- 4.0.3, 4.1.0.beta2
Active Record Improper Access Control
- Affected
- >=3.1.0 <3.2.22.1 · >=4.0.0 <4.1.14.1 · >=4.2.0 <4.2.5.1 · >=5.0.0.beta1 <5.0.0.beta1.1
- Fixed in
- 3.2.22.1, 4.1.14.1, 4.2.5.1, 5.0.0.beta1.1
ActiveRecord in Ruby on Rails allows database-query bypass
- Affected
- >=4.2.0 <4.2.7.1
- Fixed in
- 4.2.7.1
Is your activerecord version vulnerable?
Which of your client projects still run an old activerecord?
NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other RubyGems packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.