All CVEs / Node.bcrypt.js Project
CVE-2020-7689Node.bcrypt.js Project Node.bcrypt.js
High 7.5 No auth needed
Follow: this CVE · Node.bcrypt.js Project · Node.bcrypt.js Project Node.bcrypt.js We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Jul 1, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
Data is truncated wrong when its length is greater than 255 bytes.
What to do
- Apply the vendor's security update for Node.bcrypt.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | bcrypt |
< 5.0.0 |
5.0.0 |
npm install bcrypt@5.0.0 |
Per OSV / GitHub Advisories (GHSA-5wg4-74h6-q47v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| node.bcrypt.js_project | node.bcrypt.js | < 5.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Third Party Advisory