CVE catalog

CVE-2022-32224

rails: CVE-2022-32224

[CVE catalog]

Severity
High · CVSS 8.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.60% · Oct 22, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrailssid2:7.2.4+dfsg-2fixed
Debianrailsforky2:7.2.4+dfsg-1fixed
Debianrailstrixie2:7.2.2.2+dfsg-2~deb13u1fixed
Debianrailstrixie-security2:7.2.2.2+dfsg-2~deb13u2fixed
Debianrailsbookworm2:6.1.7.10+dfsg-1~deb12u2fixed
Debianrailsbookworm-security2:6.1.7.10+dfsg-1~deb12u3fixed
Opensuserubygem-activerecord-7.0tumbleweed7.0.3.1-1.1fixed
Opensuseruby3.2-rubygem-activerecord-7.0tumbleweed7.0.4.3-1.1fixed
Suserubygem-activerecord-5.2package hub 15 sp45.2.3-bp154.2.3.1fixed
Opensuserubygem-activerecord-5.2leap 15.45.2.3-bp154.2.3.1fixed
Opensuserubygem-activerecord-7.0tumbleweed7.0.8.4-1.1fixed
Opensuserubygem-activerecord-7.0tumbleweed7.0.8.6-1.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrailssourcesid2:6.1.6.1+dfsg-1not yet assignedNot reported[1016140]
Debianrailssourceforky2:6.1.6.1+dfsg-1not yet assignedNot reported[1016140]
Debianrailssourcetrixie2:6.1.6.1+dfsg-1not yet assignedNot reported[1016140]
Debianrailssourcebookworm2:6.1.6.1+dfsg-1not yet assignedNot reported[1016140]
Opensuserubygem-activerecord-7.0rpmtumbleweed7.0.3.1-1.1Not reportedOPENSUSE-SU-2024:12244-1Not reported
Opensuseruby3.2-rubygem-activerecord-7.0rpmtumbleweed7.0.4.3-1.1Not reportedOPENSUSE-SU-2024:12879-1Not reported
Suserubygem-activerecord-5.2rpmpackage hub 15 sp45.2.3-bp154.2.3.1Not reportedOPENSUSE-SU-2023:0009-1Not reported
Opensuserubygem-activerecord-5.2rpmleap 15.45.2.3-bp154.2.3.1Not reportedOPENSUSE-SU-2023:0009-1Not reported
Opensuserubygem-activerecord-7.0rpmtumbleweed7.0.8.4-1.1Not reportedOPENSUSE-SU-2024:14069-1Not reported
Opensuserubygem-activerecord-7.0rpmtumbleweed7.0.8.6-1.3Not reportedOPENSUSE-SU-2025:15112-1Not reported

[Debian bug #1016140]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [rails]Fixed
    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • [ruby-rails]Fixed

    Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

  • Source package: [rails]

    Details (4)
    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

    • 2:6.1.7.10+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 2:6.1.6.1+dfsg-1

      dsa · rails · debian · bookworm

Observed:

References