{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-32224","id":"CVE-2022-32224","title":"Active Record RCE bug with Serialized Columns","description":"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.","descriptionLong":"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.","published":"2022-12-05T00:00:00.000Z","updated":"2026-10-28T02:30:47.909079170Z","reserved":"2022-06-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["https://github.com/rails/rails"],"affectedProducts":[{"vendor":"n/a","product":"https://github.com/rails/rails","defaultStatus":null,"versions":[{"version":"7.0.3.1, 6.1.6.1, 6.0.5.1, 5.2.8.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":[">=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":["7.0.3.1","6.1.6.1","6.0.5.1","5.2.8.1"],"advisory":"GHSA-3hhc-qp5v-9p2j"}],"cwes":["CWE-502"],"aliases":["GHSA-3hhc-qp5v-9p2j"],"references":[{"url":"https://github.com/advisories/GHSA-3hhc-qp5v-9p2j","tags":["x_transferred","Patch","Third Party Advisory","advisory"]},{"url":"https://groups.google.com/g/rubyonrails-security/c/MmFO3LYQE8U","tags":["x_transferred","Exploit","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00022.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32224.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32224","tags":["advisory"]},{"url":"https://github.com/rails/rails/commit/611990f1a6c137c2d56b1ba06b27e5d2434dcd6a","tags":["web"]},{"url":"https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017","tags":["web"]},{"url":"https://github.com/rails/rails/commits/main/activerecord","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2022-32224.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.02614,"epssPercentile":0.85759,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-32224","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32224","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-32224","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3hhc-qp5v-9p2j","ok":true,"note":"GHSA-3hhc-qp5v-9p2j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-32224","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}