Live threats

All CVEs / Node.bcrypt.js Project

CVE-2020-7689Node.bcrypt.js Project Node.bcrypt.js

High 7.5 No auth needed

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
Weakness (CWE)
CWE-190, CWE-327
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.bcrypt.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
node.bcrypt.js_projectnode.bcrypt.js< 5.0.0

Official sources

References

Links published by the sources. Open them with care.