Cryptographic Issues Affecting bcrypt package, versions <5.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BCRYPT-575033
  • published1 Jul 2020
  • disclosed13 Jan 2020
  • creditFelix

Introduced: 13 Jan 2020

CVE NOT AVAILABLE CWE-310  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade bcrypt to version 5.0.0 or higher.

Overview

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.

CVSS Scores

version 3.1