| Package | Affected versions | Patched versions |
|---|---|---|
| activerecord | ≥ 6.0.0, < 6.0.5.1≥ 6.1.0, < 6.1.6.1≥ 7.0.0, < 7.0.3.1< 5.2.8.1 | 6.0.5.16.1.6.17.0.3.15.2.8.1 |
| activerecord | ≥ 6.0.0, < 6.0.5.1≥ 6.1.0, < 6.1.6.1≥ 7.0.0, < 7.0.3.1< 5.2.8.1 | 6.0.5.16.1.6.17.0.3.15.2.8.1 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free