CVE-2018-1000620
nodejs-cryptiles: Insecure randomness causes the randomDigits() function returns a pseudo-random data string biased to certain digits
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Node.js Security WG. Plus basse selon Red Hat (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| npm::GitHub Security Advisory npm | cryptiles | 4.1.2, 3.1.3 |
| npm::Node.js Ecosystem Security Working Group | cryptiles | >=4.1.2 |
Références
- https://access.redhat.com/security/cve/CVE-2018-1000620
- https://github.com/hapijs/cryptiles
- https://github.com/hapijs/cryptiles/commit/6bdcd0f6ee8ade96e7b30350bad39ee0c2ef0f9b
- https://github.com/hapijs/cryptiles/commit/9332d4263a32b84e76bf538d7470d01ea63fa047
- https://github.com/hapijs/cryptiles/commit/cb6bd642816e0cb8341d2b3896fd9e7c57e94f56
- https://github.com/hapijs/cryptiles/issues/34
- https://github.com/hapijs/cryptiles/issues/35
- https://github.com/nodejs/security-wg/blob/master/vuln/npm/476.json