Eran Hammer cryptiles version 4.1.1 earlier contains a CWE-331: Insufficient Entropy…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | cryptiles (npm) | 4.0.0 to before 4.1.2 | 4.1.2 | Patch available | GHSA-rq8g-5pc5-wrhr |
| — | cryptiles (npm) | 3.1.0 to before 3.1.3 | 3.1.3 | Patch available | GHSA-rq8g-5pc5-wrhr |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- cryptiles (npm) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-rq8g-5pc5-wrhr
- cryptiles (npm) Vendor— Affected 3.1.0 to before 3.1.3 Fixed in 3.1.3 Patch available GHSA-rq8g-5pc5-wrhr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cryptiles_project:cryptiles:*:*:*:*:*:*:*:* | before 3.1.3; 4.1.0 to before 4.1.2 | Vulnerable | Cryptiles Project |
- cpe:2.3:a:cryptiles_project:cryptiles:*:*:*:*:*:*:*:* Versions before 3.1.3; 4.1.0 to before 4.1.2 Vulnerable ·Cryptiles Project
Remediation
- Fix · GHSA-rq8g-5pc5-wrhr cryptiles (npm) Fixed in 4.1.2 Advisory →
- Fix · GHSA-rq8g-5pc5-wrhr cryptiles (npm) Fixed in 3.1.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Quay 3 | Affected | No fix yet: Fix deferred |
Not affected: 3 products
- Red Hat Mobile Application Platform 4
- Red Hat OpenShift Enterprise 3
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1000620
- 2026-10-03 Alias added: GHSA-rq8g-5pc5-wrhr
References
Other 8
- https://github.com/hapijs/cryptiles/issues/35
- 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
- https://github.com/nodejs/security-wg/blob/master/vuln/npm/476.json
- https://www.npmjs.com/advisories/1464
- https://www.npmjs.com/advisories/720
Sources
- CVE-2018-1000620 · CVE Program
- CVE-2018-1000620 · NVD
- FIRST EPSS
- GHSA-rq8g-5pc5-wrhr · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1000620 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences