Insecure Encryption

Affecting bcrypt package, versions <5.0.0

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

bcrypt is an A library to help you hash passwords.

Affected versions of this package are vulnerable to Insecure Encryption. Data is truncated wrong when its length is greater than 255 bytes.

Remediation

Upgrade bcrypt to version 5.0.0 or higher.

References

CVSS Score

7.5
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    High
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Credit
pool683
CVE
CVE-2020-7689
CWE
CWE-326
Snyk ID
SNYK-JS-BCRYPT-572911
Disclosed
21 Jun, 2020
Published
01 Jul, 2020