## Crass : Large numeric exponents cause CPU and memory denial of service

- 種別: advisory
- 重大度: high
- 関連技術: ruby, github
- CVE: CVE-2026-61845
- 公開日時: 2026-10-20T14:32:39.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-6wmf-3r64-vcwv)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-6wmf-3r64-vcwv

影響: rubygems:crass < 1.0.7 → 1.0.7
Impact Crass converts CSS scientific notation number values with unbounded exponentiation before it clamps the result to Float::MAX. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, possibly resulting in a crash. Patches This is fixed in Crass 1.0.7. Related - https://github.com/rubysec/ruby-advisory-db/blob/master/gems/crass/GHSA-6wmf-3r64-vcwv.yml