CVE-2018-1000620
CRITICAL 9.8CVSS 3.1Insufficient Entropy in cryptiles
Eran Hammer cryptiles version 4.1.1 earlier contains a CWE-331: Insufficient Entropy vulnerability in randomDigits() method that can result in An attacker is more likely to be able to brute force something that was supposed to be random.. This attack appear to be exploitable via Depends upon the calling application.. This vulnerability appears to have been fixed in 4.1.2.
- Published
- 9 Jul 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-331
- Also known as
- GHSA-rq8g-5pc5-wrhr
- Sources
- NVDJSONOSV GHSA-rq8g-5pc5-wrhrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cryptiles_project | cryptilescpe:2.3:a:cryptiles_project:cryptiles:*:*:*:*:*:*:*:* |
< 3.1.3 | 3.1.3 |
| NVD | cryptiles_project | cryptilescpe:2.3:a:cryptiles_project:cryptiles:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.2 | 4.1.2 |
| OSV | npm | cryptiles | >= 4.0.0, < 4.1.2 | 4.1.2 |
| OSV | npm | cryptiles | >= 3.1.0, < 3.1.3 | 3.1.3 |
References
- https://github.com/hapijs/cryptiles/issues/34 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/hapijs/cryptiles/issues/35 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000620 · ADVISORY
- https://github.com/hapijs/cryptiles/commit/6bdcd0f6ee8ade96e7b30350bad39ee0c2ef0f9b · WEB
- https://github.com/hapijs/cryptiles/commit/9332d4263a32b84e76bf538d7470d01ea63fa047 · WEB
- https://github.com/hapijs/cryptiles/commit/cb6bd642816e0cb8341d2b3896fd9e7c57e94f56 · WEB
- https://github.com/hapijs/cryptiles · PACKAGE
- https://github.com/nodejs/security-wg/blob/master/vuln/npm/476.json · WEB
- https://www.npmjs.com/advisories/1464 · WEB
- https://www.npmjs.com/advisories/720 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 9 Jul 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Sep 2018)