Description
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.
Remediation
References
https://github.com/hapijs/cryptiles/issues/34
https://github.com/hapijs/cryptiles/issues/35
Related Vulnerabilities
CVE-2021-21304 Vulnerability in npm package dynamoose
CVE-2022-35954 Vulnerability in npm package @actions/core
CVE-2022-24846 Vulnerability in maven package org.geowebcache:gwc-diskquota-jdbc
CVE-2018-20677 Vulnerability in npm package bootstrap-sass
CVE-2017-2611 Vulnerability in maven package org.jenkins-ci.main:jenkins-core