Affected versions
Ubuntu16.04:LTS/ruby-crass
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/ruby-crass
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/ruby-crass
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/ruby-crass
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/ruby-crass
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/ruby-crass
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/ruby-crass
- Affected versions
- *
- Fixed version
- Not reported
Description
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.

