Cryptographic Issues Affecting nodebb package, versions *


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.21% (60th percentile)

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-NODEBB-3012888
  • published1 Sept 2022
  • disclosed1 Sept 2022
  • creditEldar Zeynalli

Introduced: 1 Sep 2022

CVE-2022-36045  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

nodebb is a package that utilizes web sockets for instant interactions and real-time notifications.

Affected versions of this package are vulnerable to Cryptographic Issues due to the usage of insecure pseudo-random number generator Math.random() within the utils.generateUUID function. Exploiting this vulnerability allows an attacker to correctly calculate the reset code for an account they do not have access to, leading to account takeover.

Note:

To exploit this vulnerability, it is required that the target’s email address will be known and that user emails are protected values in NodeBB.

CVSS Scores

version 3.1