{"id":"CVE-2022-32224","published":"2022-12-05T00:00:00Z","modified":"2026-05-11T16:53:19Z","title":"A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02614,"percentile":0.85812,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/advisories/GHSA-3hhc-qp5v-9p2j","tags":[]},{"url":"https://groups.google.com/g/rubyonrails-security/c/MmFO3LYQE8U","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00022.html","tags":[]}],"priority":{"score":29.0,"factors":[{"name":"EPSS percentile","points":17.16},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-07-17","earliestUrl":"https://github.com/ooooooo-q/cve-2022-32224-rails","repos":[{"name":"ooooooo-q/cve-2022-32224-rails","url":"https://github.com/ooooooo-q/cve-2022-32224-rails","stars":2,"created":"2022-07-17"}]},"first":{"date":"2022-07-17","source":"PoC-in-GitHub","url":"https://github.com/ooooooo-q/cve-2022-32224-rails"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["7.0.3.1, 6.1.6.1, 6.0.5.1, 5.2.8.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-24T15:17:17.965566Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"activerecord","vulnerableRanges":[">=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"],"patched":["7.0.3.1","6.1.6.1","6.0.5.1","5.2.8.1"],"from":["GHSA-3hhc-qp5v-9p2j"],"provenance":"source"}],"summary":{"text":"The flaw is a deserialization weakness in the YAML serialized column handling of Active Record, the database layer of Ruby on Rails, affecting versions prior to the fixed releases listed in the advisory. An attacker who can manipulate data stored in the database, for example through SQL injection, can escalate that access to remote code execution, provided the application uses YAML serialized columns.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:42Z"},"euvd":{"id":"EUVD-2022-6218","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rails-cve-2022-32224","children":[{"from":"CVE-2022-32224","to":"CVE-2022-44566","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"6.1.6.1","toFixed":"6.1.7.1","daysApart":66},{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"7.0.3.1","toFixed":"7.0.4.1","daysApart":66},{"kind":"same-code","provenance":"machine","files":["activerecord/lib/active_record.rb"],"commits":["https://github.com/rails/rails/commit/611990f1a6c137c2d56b1ba06b27e5d2434dcd6a","https://github.com/rails/rails/commit/4f44aa9d514e701ada92b5cf08beccf566eeaebf","https://github.com/rails/rails/commit/82bcdc011e2ff674e7dd8fd8cee3a831c908d29b"],"basis":"shared function","functions":["self"]}]}],"packageHistory":[{"cve":"CVE-2016-6317","published":"2016-09-07","fixed":"4.2.7.1","kev":false},{"cve":"CVE-2015-7577","published":"2016-02-16","fixed":"5.0.0.beta1.1","kev":false},{"cve":"CVE-2021-22880","published":"2021-02-11","fixed":"6.1.2.1","kev":false,"link":{"from":"CVE-2021-22880","to":"CVE-2022-32224","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"5.2.4.5","toFixed":"5.2.8.1","daysApart":662},{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"6.1.2.1","toFixed":"6.1.6.1","daysApart":662}]}},{"cve":"CVE-2022-32224","published":"2022-12-05","fixed":"7.0.3.1","kev":false},{"cve":"CVE-2022-44566","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-22794","published":"2023-02-09","fixed":"7.0.4.1","kev":false,"link":{"from":"CVE-2022-32224","to":"CVE-2023-22794","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"6.0.5.1","toFixed":"6.0.6.1","daysApart":66},{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"7.0.3.1","toFixed":"7.0.4.1","daysApart":66}]}},{"cve":"CVE-2025-55193","published":"2025-08-13","fixed":"8.0.2.1","kev":false}],"package":"RubyGems:activerecord"}}