Active Record RCE bug with Serialized Columns
https://github.com/rails/rails
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| activerecord RubyGems |
|
|
https://github.com/rails/rails
| Product | Affected | Fixed in |
|---|---|---|
| activerecord RubyGems |
|
|
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.
From the CVE record · hackerone
Active Record is vulnerable when an application uses YAML serialized columns. An attacker who can manipulate database data, for example through SQL injection, may be able to escalate that access to remote code execution.
Teams running applications with RubyGems activerecord versions below 5.2.8.1, or versions from 6.0.0 to before 6.0.5.1, 6.1.0 to before 6.1.6.1, or 7.0.0 to before 7.0.3.1, should check their installations.