What’s Vulnerable › Vulnerabilities
CVE-2020-7689: Insecure Encryption
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-07-01 · updated 2026-06-17
- Weakness: CWE-190
Description
Data is truncated wrong when its length is greater than 255 bytes.
Affected products
- bcrypt: before 5.0.0 — fixed in 5.0.0
How to fix
Upgrade to a fixed version: bcrypt 5.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/kelektiv/node.bcrypt.js/issues/776
- https://github.com/kelektiv/node.bcrypt.js/pull/806
- https://github.com/kelektiv/node.bcrypt.js/pull/807
- https://snyk.io/vuln/SNYK-JS-BCRYPT-572911
- https://github.com/kelektiv/node.bcrypt.js/issues/776
- https://github.com/kelektiv/node.bcrypt.js/pull/806
- https://github.com/kelektiv/node.bcrypt.js/pull/807
- https://snyk.io/vuln/SNYK-JS-BCRYPT-572911
Get alerted when CVE-2020-7689 or the next vulnerability affects your stack