CVE catalog

CVE-2022-21831

rails: CVE-2022-21831

[CVE catalog]

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

A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.

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-activestorage-7.0tumbleweed7.0.2.3-1.1fixed
Opensuserubygem-activestorage-7.0tumbleweed7.0.8.4-1.1fixed
Opensuseruby3.2-rubygem-activestorage-7.0tumbleweed7.0.4.3-1.1fixed
Opensuserubygem-activestorage-7.0tumbleweed7.0.8.6-1.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrailssourcesid2:6.1.4.7+dfsg-1not yet assignedNot reported[1011940]
Debianrailssourceforky2:6.1.4.7+dfsg-1not yet assignedNot reported[1011940]
Debianrailssourcetrixie2:6.1.4.7+dfsg-1not yet assignedNot reported[1011940]
Debianrailssourcebookworm2:6.1.4.7+dfsg-1not yet assignedNot reported[1011940]
Opensuserubygem-activestorage-7.0rpmtumbleweed7.0.2.3-1.1Not reportedOPENSUSE-SU-2024:11903-1Not reported
Opensuserubygem-activestorage-7.0rpmtumbleweed7.0.8.4-1.1Not reportedOPENSUSE-SU-2024:14070-1Not reported
Opensuseruby3.2-rubygem-activestorage-7.0rpmtumbleweed7.0.4.3-1.1Not reportedOPENSUSE-SU-2024:12880-1Not reported
Opensuserubygem-activestorage-7.0rpmtumbleweed7.0.8.6-1.3Not reportedOPENSUSE-SU-2025:15113-1Not reported

[Debian bug #1011940]

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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+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.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

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

      Fixed · Fixed: 2:6.1.4.7+dfsg-1

      dsa · rails · debian · bookworm

Observed:

References