All reports
Critical

Insufficient Entropy in cryptiles

Affected versions

Affected versions
>= 3.1.0, < 3.1.3
Fixed version
3.1.3
Affected versions
>= 4.0.0, < 4.1.2
Fixed version
4.1.2
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-1000620

Probability of exploitation in the next 30 days: 1.66%

FIRST EPSS · 2026-11-22

Description

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.

Links

Credits

  • jkmartindale
  • KleRkUS