CVE-2022-36045

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-36045
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36045.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-36045
Aliases
Related
Published
2022-08-31T15:15:08Z
Modified
2025-07-29T10:35:33.812425Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. utils.generateUUID, a helper function available in essentially all versions of NodeBB (as far back as v1.0.1 and potentially earlier) used a cryptographically insecure Pseudo-random number generator (Math.random()), which meant that a specially crafted script combined with multiple invocations of the password reset functionality could enable an attacker to correctly calculate the reset code for an account they do not have access to. This vulnerability impacts all installations of NodeBB. The vulnerability allows for an attacker to take over any account without the involvement of the victim, and as such, the remediation should be applied immediately (either via NodeBB upgrade or cherry-pick of the specific changeset. The vulnerability has been patched in version 2.x and 1.19.x. There is no known workaround, but the patch sets listed above will fully patch the vulnerability.

References

Affected packages

Git / github.com/nodebb/nodebb

Affected ranges

Type
GIT
Repo
https://github.com/nodebb/nodebb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

1.*

1.0.1-auto.0

v0.*

v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.1.0
v0.1.1
v0.2.0
v0.2.1
v0.3.0
v0.3.1
v0.3.2
v0.5.0-1
v0.5.0-2
v0.9.2

v1.*

v1.0.0
v1.14.1-beta.0
v1.14.1-beta.1
v1.14.1-beta.2
v1.14.1-beta.3
v1.14.2-beta.0
v1.14.2-beta.1
v1.14.3-beta.0
v1.14.3-beta.1
v1.14.3-beta.10
v1.14.3-beta.11
v1.14.3-beta.12
v1.14.3-beta.13
v1.14.3-beta.14
v1.14.3-beta.15
v1.14.3-beta.16
v1.14.3-beta.2
v1.14.3-beta.3
v1.14.3-beta.4
v1.14.3-beta.5
v1.14.3-beta.6
v1.14.3-beta.7
v1.14.3-beta.8
v1.14.3-beta.9
v1.15.0
v1.15.0-beta.0
v1.15.0-beta.1
v1.15.0-beta.10
v1.15.0-beta.11
v1.15.0-beta.12
v1.15.0-beta.13
v1.15.0-beta.14
v1.15.0-beta.15
v1.15.0-beta.16
v1.15.0-beta.17
v1.15.0-beta.18
v1.15.0-beta.19
v1.15.0-beta.2
v1.15.0-beta.20
v1.15.0-beta.21
v1.15.0-beta.22
v1.15.0-beta.23
v1.15.0-beta.24
v1.15.0-beta.25
v1.15.0-beta.26
v1.15.0-beta.27
v1.15.0-beta.28
v1.15.0-beta.29
v1.15.0-beta.3
v1.15.0-beta.30
v1.15.0-beta.4
v1.15.0-beta.5
v1.15.0-beta.6
v1.15.0-beta.7
v1.15.0-beta.8
v1.15.0-beta.9
v1.15.0-rc.0
v1.15.0-rc.1
v1.15.0-rc.2
v1.15.0-rc.3
v1.15.0-rc.4
v1.15.0-rc.5
v1.15.1
v1.15.1-beta.0
v1.15.2-beta.0
v1.15.2-beta.1
v1.15.3-beta.0
v1.16.1-beta.0
v1.16.2-beta.0
v1.17.0-beta.0
v1.17.0-beta.1
v1.17.0-beta.2
v1.17.0-beta.3
v1.17.0-beta.4
v1.17.0-beta.5
v1.19.0
v1.19.1
v1.19.2
v1.19.3
v1.19.4
v1.19.5
v1.19.6
v1.19.7
v1.5.3