bcrypt@0.7.0 vulnerabilities

A bcrypt library for NodeJS.

Direct Vulnerabilities

Known vulnerabilities in the bcrypt package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cryptographic Issues

bcrypt is an A library to help you hash passwords.

Affected versions of this package are vulnerable to Cryptographic Issues. When hashing a password containing an ASCII NUL character, that character acts as the string terminator. Any following characters are ignored.

How to fix Cryptographic Issues?

Upgrade bcrypt to version 5.0.0 or higher.

<5.0.0
  • H
Insecure Encryption

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.

How to fix Insecure Encryption?

Upgrade bcrypt to version 5.0.0 or higher.

<5.0.0