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-2022-24759 Vulnerability in npm package @chainsafe/libp2p-noise
CVE-2021-4178 Vulnerability in maven package io.fabric8:kubernetes-client
CVE-2020-36187 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2022-41340 Vulnerability in npm package @lionello/secp256k1-js
CVE-2020-10758 Vulnerability in maven package org.keycloak:keycloak-wildfly-server-subsystem