{"id":"CVE-2018-1000620","aliases":["CLSA-2026-1778201072","GHSA-rq8g-5pc5-wrhr"],"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 s...","published_at":"2018-07-09T20:00:00Z","modified_at":"2026-10-16T19:00:02.139355Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01655000075697899,"percentile":0.7710800170898438,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"NVD","package":"cryptiles_project:cryptiles","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.2"}]}],"fixed":["3.1.3","4.1.2"],"provider":"nvd","source":"CVE-2018-1000620","relation":"self"},{"ecosystem":"TuxCare:npm","package":"cryptiles","purl":"pkg:npm/cryptiles","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.1-tuxcare.0"},{"fixed":"3.2.1-tuxcare.1"}]}],"versions":["3.2.1"],"fixed":["3.2.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1778201072","relation":"self"},{"ecosystem":"npm","package":"cryptiles","purl":"pkg:npm/cryptiles","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.1.2"}]}],"fixed":["4.1.2"],"provider":"osv","source":"GHSA-rq8g-5pc5-wrhr","relation":"self"},{"ecosystem":"npm","package":"cryptiles","purl":"pkg:npm/cryptiles","ranges":[{"type":"SEMVER","events":[{"introduced":"3.1.0"},{"fixed":"3.1.3"}]}],"fixed":["3.1.3"],"provider":"osv","source":"GHSA-rq8g-5pc5-wrhr","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Mobile Application Platform 4","cpe":"cpe:/a:redhat:mobile_application_platform:4","status":"not_affected","packages":["nodejs-cryptiles"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-1000620"},{"vendor":"Red Hat","product":"Red Hat OpenShift Enterprise 3","cpe":"cpe:/a:redhat:openshift:3","status":"not_affected","packages":["nodejs-cryptiles"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-1000620"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2018-1000620"},{"vendor":"Red Hat","product":"Red Hat Software Collections","cpe":"cpe:/a:redhat:rhel_software_collections:3","status":"not_affected","packages":["rh-nodejs6-nodejs-cryptiles","rh-nodejs8-nodejs","rh-nodejs8-nodejs-devel","rh-nodejs8-nodejs-docs","rh-nodejs8-npm"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-1000620"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2018-1000620","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000620","license":"CC-BY-4.0","published_at":"2018-07-09T20:00:00Z","modified_at":"2024-09-16T18:45:19.03Z","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 s...","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/hapijs/cryptiles/issues/34"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/issues/35"}]},{"provider":"nvd","source_id":"CVE-2018-1000620","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000620","severity":[],"affected":[{"ecosystem":"NVD","package":"cryptiles_project:cryptiles","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.2"}]}],"fixed":["3.1.3","4.1.2"],"provider":"nvd","source":"CVE-2018-1000620","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1778201072","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1778201072","published_at":"2026-08-04T14:52:30Z","modified_at":"2026-10-16T19:00:02.139355Z","withdrawn_at":"2026-10-16T16:42:57Z","summary":"TuxCare security update for cryptiles (1 CVE)","details":"TuxCare rebuilt cryptiles to address 1 CVE. Fixed in 3.2.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"cryptiles","purl":"pkg:npm/cryptiles","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.1-tuxcare.0"},{"fixed":"3.2.1-tuxcare.1"}]}],"versions":["3.2.1"],"fixed":["3.2.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1778201072","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-rq8g-5pc5-wrhr","relation":"self","url":"https://osv.dev/vulnerability/GHSA-rq8g-5pc5-wrhr","license":"CC-BY-4.0","published_at":"2018-09-11T18:22:50Z","modified_at":"2026-06-08T16:00:10.048324Z","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.\n\n\n## Recommendation\n\nUpgrade 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":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-rq8g-5pc5-wrhr"}],"affected":[{"ecosystem":"npm","package":"cryptiles","purl":"pkg:npm/cryptiles","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.1.2"}]}],"fixed":["4.1.2"],"provider":"osv","source":"GHSA-rq8g-5pc5-wrhr","relation":"self"},{"ecosystem":"npm","package":"cryptiles","purl":"pkg:npm/cryptiles","ranges":[{"type":"SEMVER","events":[{"introduced":"3.1.0"},{"fixed":"3.1.3"}]}],"fixed":["3.1.3"],"provider":"osv","source":"GHSA-rq8g-5pc5-wrhr","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000620"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/issues/34"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/issues/35"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/commit/6bdcd0f6ee8ade96e7b30350bad39ee0c2ef0f9b"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/commit/9332d4263a32b84e76bf538d7470d01ea63fa047"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/commit/cb6bd642816e0cb8341d2b3896fd9e7c57e94f56"},{"type":"PACKAGE","url":"https://github.com/hapijs/cryptiles"},{"type":"WEB","url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/476.json"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1464"},{"type":"WEB","url":"https://www.npmjs.com/advisories/720"}]},{"provider":"redhat-vex","source_id":"CVE-2018-1000620","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2018-1000620","license":"CC-BY-4.0","published_at":"2018-07-19T00:00:00Z","modified_at":"2021-03-19T06:22:10Z","summary":"nodejs-cryptiles: Insecure randomness causes the randomDigits() function returns a pseudo-random data string biased to certain digits","details":"A flaw was found in the nodejs-cryptiles library prior to version 4.1.2.  Previous versions do not implement cryptographically secure randomness resulting in the randomDigits() function returning a pseudo-random data string biased to certain digits. An attacker could exploit this to guess the generated digits.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CVE-2018-1000620"},{"type":"Red Hat","score":"Moderate","source":"CVE-2018-1000620"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Mobile Application Platform 4","cpe":"cpe:/a:redhat:mobile_application_platform:4","status":"not_affected","packages":["nodejs-cryptiles"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-1000620"},{"vendor":"Red Hat","product":"Red Hat OpenShift Enterprise 3","cpe":"cpe:/a:redhat:openshift:3","status":"not_affected","packages":["nodejs-cryptiles"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-1000620"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2018-1000620"},{"vendor":"Red Hat","product":"Red Hat Software Collections","cpe":"cpe:/a:redhat:rhel_software_collections:3","status":"not_affected","packages":["rh-nodejs6-nodejs-cryptiles","rh-nodejs8-nodejs","rh-nodejs8-nodejs-devel","rh-nodejs8-nodejs-docs","rh-nodejs8-npm"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-1000620"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-1000620.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-1000620"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1608153"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000620"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000620"}]}],"references":[{"type":"WEB","url":"https://github.com/hapijs/cryptiles/issues/34"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/issues/35"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000620"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/commit/6bdcd0f6ee8ade96e7b30350bad39ee0c2ef0f9b"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/commit/9332d4263a32b84e76bf538d7470d01ea63fa047"},{"type":"WEB","url":"https://github.com/hapijs/cryptiles/commit/cb6bd642816e0cb8341d2b3896fd9e7c57e94f56"},{"type":"PACKAGE","url":"https://github.com/hapijs/cryptiles"},{"type":"WEB","url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/476.json"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1464"},{"type":"WEB","url":"https://www.npmjs.com/advisories/720"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-1000620.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-1000620"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1608153"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000620"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2018-1000620","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000620","license":"CC-BY-4.0","modified_at":"2024-09-16T18:45:19.03Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2018-1000620","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000620","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1778201072","url":"https://osv.dev/vulnerability/CLSA-2026-1778201072","modified_at":"2026-10-16T19:00:02.139355Z","relation":"self"},{"provider":"osv","source_id":"GHSA-rq8g-5pc5-wrhr","url":"https://osv.dev/vulnerability/GHSA-rq8g-5pc5-wrhr","license":"CC-BY-4.0","modified_at":"2026-06-08T16:00:10.048324Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2018-1000620","url":"https://access.redhat.com/security/cve/CVE-2018-1000620","license":"CC-BY-4.0","modified_at":"2021-03-19T06:22:10Z","relation":"self"}]}
