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.
{
"cna_assigner": "hackerone",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32224.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "7.0.3.1, 6.1.6.1, 6.0.5.1, 5.2.8.1"
}
],
"source": "AFFECTED_FIELD"
}
],
"cwe_ids": [
"CWE-502"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "5.2.8.1"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.0.5.1"
},
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.6.1"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.3.1"
}
],
"cpe": "cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*",
"source": "CPE_FIELD"
}