Advisory

GHSA-rq8g-5pc5-wrhr

Also known as: CVE-2018-1000620

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-09-11 18:22 UTC
Modified
2026-06-08 16:00 UTC

Affected packages and fixes

cryptiles

npm · All systems

Affected

  • introduced 4.0.0, fixed 4.1.2 (semver)

Fixed versions

4.1.2

Fix

cryptiles

npm · All systems

Affected

  • introduced 3.1.0, fixed 3.1.3 (semver)

Fixed versions

3.1.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences