RubySec

Providing security resources for the Ruby community

GHSA-6jxj-px6v-747w (crass): Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage

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

Published: June 25, 2026

SECURITY IDENTIFIERS

GEM

crass

PATCHED VERSIONS

>= 1.0.7

DESCRIPTION

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.

RELATED