GHSA-5wg4-74h6-q47v
Dashboard / Vulnerabilities / GHSA-5wg4-74h6-q47v
GHSA-5wg4-74h6-q47v
Published: 20 Aug 2020Last Modified: 8 Jul 2026
Aliases:
Summary: Integer Overflow or Wraparound and Use of a Broken or Risky Cryptographic Algorithm in bcrypt
Details: In bcrypt (npm package) before version 5.0.0, data is truncated wrong when its length is greater than 255 bytes.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-7689, 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
Affected packages
Package
Name: bcrypt
Purl: pkg:npm/bcrypt
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -5.0.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
