GHSA-w749-p3v6-hccq

    Dashboard / Vulnerabilities / GHSA-w749-p3v6-hccq

    GHSA-w749-p3v6-hccq

    Published: 8 Mar 2022Last Modified: 13 Mar 2026

    Summary: Possible code injection vulnerability in Rails / Active Storage

    Details: The Active Storage module of Rails starting with version 5.2.0 is possibly vulnerable to code injection. This issue was patched in versions 5.2.6.3, 6.0.4.7, 6.1.4.7, and 7.0.2.3. To work around this issue, applications should implement a strict allow-list on accepted transformation methods or arguments. Additionally, a strict ImageMagick security policy will help mitigate this issue.

    Affected packages

    Package

    Name: activestorage

    Purl: pkg:gem/activestorage

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 5.2.0
    Fixed -5.2.6.3

    Affected versions

    5.2.0
    5.2.1
    5.2.1.1
    5.2.1.rc1
    5.2.2
    5.2.2.1
    5.2.2.rc1
    5.2.3
    5.2.3.rc1
    5.2.4
    5.2.4.1
    5.2.4.2
    5.2.4.3
    5.2.4.4
    5.2.4.5
    5.2.4.6
    5.2.4.rc1
    5.2.5
    5.2.6
    5.2.6.1
    5.2.6.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-w749-p3v6-hccq | CVE-DB