An open index of dependabot pull requests across open source projects.

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

RSS Feed MODERATE
GHSA-6jxj-px6v-747w CVE-2026-61846
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.

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
Ecosystem Package Vulnerable Versions Patched Version
rubygems crass < 1.0.7
1.0.7
Advisory Details
Published: October 29, 2026 24 days ago
Updated: November 22, 2026 about 20 hours ago
CVSS Score: 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
EPSS: 0.45% 40th percentile
Source: Github
Classification: GENERAL
UUID: GSA_kwCzR0hTQS02anhqLXB4NnYtNzQ3d84AB_9U
PR Statistics
PR Status
Open 1 (50.0%)
Merged 0 (0.0%)
Closed 1 (50.0%)
Update Types
Patch 2 (100.0%)