GHSA-6jxj-px6v-747w

    Dashboard / Vulnerabilities / GHSA-6jxj-px6v-747w

    GHSA-6jxj-px6v-747w

    Published: 29 Oct 2026Last Modified: 29 Oct 2026

    Summary: Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage

    Details: ### Impact Crass recursively parses CSS simple blocks and functions without a depth guard. An attacker-controlled value containing many deeply nested blocks can recurse until Ruby raises `SystemStackError: stack level too deep`, or can cause excessive memory usage. ### Patches This is fixed in Crass 1.0.7, which adds a configurable depth limit with a conservative default. ### Workarounds Add `SystemStackError` handling around Crass calls in your application. Buy more RAM.

    Affected packages

    Package

    Name: crass

    Purl: pkg:gem/crass

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.0.7

    Affected versions

    0.0.1
    0.0.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-6jxj-px6v-747w | CVE-DB