CVE-2018-1000620 json
Insufficient Entropy in cryptiles
published 2018-07-09 8 y ago modified 2026-06-17 4 mo ago also GHSA-rq8g-5pc5-wrhr , EUVD-2018-0467
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm cryptiles 3.1.3, 4.1.2
- cryptiles_project cryptiles 3.1.3, 4.1.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1000620 updated cvss 3.7
nodejs-cryptiles: Insecure randomness causes the randomDigits() function returns a pseudo-random data string biased to certain digits
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available “Fix deferred”
-
Red Hat Mobile Application Platform 4 nodejs-cryptiles Red Hat OpenShift Enterprise 3 nodejs-cryptiles Red Hat Software Collections rh-nodejs8-npm, rh-nodejs8-nodejs, rh-nodejs6-nodejs-cryptilesnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.68% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | cryptiles | >=4.0.0, <4.1.2 >=3.1.0, <3.1.3 |
4.1.2 3.1.3 |
Classification
- Weakness
-
- CWE-331 Insufficient Entropy
References
-
github.com
/hapijs/cryptiles/issues/34
web, issue-tracking, patch, third-party-advisory
-
github.com
/hapijs/cryptiles/commit/6bdcd0f6ee8ade96e7b30350bad39ee0c2ef0f9b
web
-
github.com
/hapijs/cryptiles/commit/9332d4263a32b84e76bf538d7470d01ea63fa047
web
-
github.com
/hapijs/cryptiles/commit/cb6bd642816e0cb8341d2b3896fd9e7c57e94f56
web
-
github.com
/hapijs/cryptiles/issues/35
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-1000620
advisory
-
github.com
/hapijs/cryptiles
package
-
github.com
/nodejs/security-wg/blob/master/vuln/npm/476.json
web
-
npmjs.com
/advisories/1464
web
-
npmjs.com
/advisories/720
web
Sources
- CVE List CVE-2018-1000620
- GitHub Advisory GHSA-rq8g-5pc5-wrhr
- NVD CVE-2018-1000620
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.