Crass 是一个完全符合 CSS 语法第 3 级规范的 Ruby CSS 解析器。在 1.0.7 版本之前,当 Crass 解析包含非 ASCII 字符的输入时,由于对多字节字符位置跟踪机制存在效率问题,会导致解析时间呈超线性增长。因此,由攻击者控制的、包含大量非 ASCII 字符的 CSS 输入可能导致 CPU 过度消耗,进而引发拒绝服务(DoS)攻击。该问题已在 1.0.7 版本中修复。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-61845 | 8.9 HIGH | Crass: Large numeric exponents cause CPU and memory denial of service |
| CVE-2026-61846 | 6.3 MEDIUM | Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive |
| CVE-2026-61847 | 6.3 MEDIUM | Crass: A large number of adjacent CSS comments can trigger a SystemStackError |