CVE Catalog

GHSA-6jxj-px6v-747w

Unknown
Published: Translated: NVD NIST

Summary

Crass recursively parses CSS simple blocks and functions without a depth guard, allowing an attacker to cause stack overflow or excessive memory usage via deeply nested blocks.

Risk Assessment

An attacker can crash the application (SystemStackError) or exhaust memory resources, leading to denial of service (DoS).

Recommendation

Update the Crass library to the latest version that includes a depth guard to prevent recursive parsing.

Other vulnerabilities in Crass

See all
Original NVD description (English source)

## 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS