6 matches found
Crass : Large numeric exponents cause CPU and memory denial of service
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...
GHSA-6WMF-3R64-VCWV Crass : Large numeric exponents cause CPU and memory denial of service
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...
Uncontrolled Recursion
Overview Affected versions of this package are vulnerable to Uncontrolled Recursion in the Parser class. An attacker can cause a stack overflow or excessive memory consumption by supplying deeply nested CSS blocks or functions. Remediation Upgrade crass to version 1.0.7 or higher. References -...
Uncontrolled Recursion
Overview Affected versions of this package are vulnerable to Uncontrolled Recursion in scanner.rb. An attacker can cause a stack overflow and crash the application by supplying CSS input containing numerous adjacent comments. Remediation Upgrade crass to version 1.0.7 or higher. References -...
Allocation of Resources Without Limits or Throttling
Overview Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in tokenizer.rb process. An attacker can cause excessive CPU and memory consumption by submitting CSS strings with large numeric exponents. Remediation Upgrade crass to version 1.0.7 ...
Uncontrolled Recursion
Overview Affected versions of this package are vulnerable to Uncontrolled Recursion when failing to apply :preservecomments for a stylesheet containing a very large number of adjacent CSS comments. An attacker can cause a stack overflow and crash the application. Remediation Upgrade crass to...