GHSA-rq8g-5pc5-wrhr

    Dashboard / Vulnerabilities / GHSA-rq8g-5pc5-wrhr

    GHSA-rq8g-5pc5-wrhr

    Published: 11 Sept 2018Last Modified: 8 Jun 2026

    Summary: Insufficient Entropy in cryptiles

    Details: Versions of `cryptiles` prior to 4.1.2 are vulnerable to Insufficient Entropy. The `randomDigits()` method does not provide sufficient entropy and its generates digits that are not evenly distributed. ## Recommendation Upgrade to version 4.1.2. The package is deprecated and has been moved to `@hapi/cryptiles` and it is strongly recommended to use the maintained package.

    Affected packages

    Package

    Name: cryptiles

    Purl: pkg:npm/cryptiles

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 4.0.0
    Fixed -4.1.2

    Affected versions

    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