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`...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12ruby-crass |
All versions→ Not listed |
Not listed |
| Debian:13ruby-crass |
All versions→ Not listed |
Not listed |
| Debian:14ruby-crass |
< 1.0.7-1→ 1.0.7-1 |
1.0.7-1 |
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: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org