Skip to content
High 8.9

Crassに大きな指数を含むCSSを処理させるとサービス妨害を受ける脆弱性

CVE-2026-61845 First seen on SecPulse

Summary

Crassは、CSSの数値の指数を上限なく計算してから値を制限するため、細工されたCSSを解析させるとCPUとメモリが過剰に使われ、処理が止まることがあります。影響を受けるのはRubyGemsのcrass 1.0.7より前の版で、1.0.7で修正されています。CSSを外部から受け取るアプリケーションでは、早めに1.0.7以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Crassは、CSSの数値の指数を上限なく計算してから値を制限するため、細工されたCSSを解析させるとCPUとメモリが過剰に使われ、処理が止まることがあります。影響を受けるのはRubyGemsのcrass 1.0.7より前の版で、1.0.7で修正されています。CSSを外部から受け取るアプリケーションでは、早めに1.0.7以降へ更新してください。

Affected packages

PackageAffected → Fixed
rubygemscrass
< 1.0.7→ 1.0.7
rgrovecrass —

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts CSS scientific notation number values with unbounded exponentiation before clamping 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, potentially resulting in a crash. This issue is fixed in version 1.0.7.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details