Skip to main content
← All vulnerabilities
CVE-2022-32224GHSA-3HHC-QP5V-9P2J

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.3.1, 6.1.6.1, 6.0.5.1, 5.2.8.1
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a https://github.com/rails/rails

    Version range not reported

  • activerecordRubyGems

    From 7.0.0 · fixed in 7.0.3.1

  • activerecordRubyGems

    From 6.1.0 · fixed in 6.1.6.1

  • activerecordRubyGems

    From 6.0.0 · fixed in 6.0.5.1

  • activerecordRubyGems

    fixed in 5.2.8.1

References 3

GitHub Advisory Database

groups.google.com

GitHub · ooooooo-q/cve-2022-32224-rails