GHSA-6wmf-3r64-vcwv

    Dashboard / Vulnerabilities / GHSA-6wmf-3r64-vcwv

    GHSA-6wmf-3r64-vcwv

    Published: 20 Oct 2026Last Modified: 20 Oct 2026

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

    Details: ### 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

    Affected packages

    Package

    Name: crass

    Purl: pkg:gem/crass

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.0.7

    Affected versions

    0.0.1
    0.0.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-6wmf-3r64-vcwv | CVE-DB