Cryptographic Issues Affecting nodebb package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    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 ID SNYK-JS-NODEBB-3012888
  • published 1 Sep 2022
  • disclosed 1 Sep 2022
  • credit Eldar Zeynalli

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
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

9.8 critical