CVE-2022-36045
CRITICALDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 62% of all known CVEs.
References
Related Vulnerabilities
Other CWE-330 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-5420 | Critical | 9.8 | 92% | - | Fix |
| CVE-2021-34646 | Critical | 9.8 | 51% | - | - |
| CVE-2008-0087 | High | 7.5 | 32% | - | - |
| CVE-2017-6026 | Critical | 9.1 | 32% | - | - |
| CVE-2018-17888 | Critical | 9.8 | 30% | - | - |
| CVE-2020-11901 | Critical | 9.0 | 21% | - | Fix |
Common questions
How do I fix CVE-2022-36045?
Upgrade nodebb to 1.19.8 or later.
Is CVE-2022-36045 being actively exploited?
Not that we know of. CVE-2022-36045 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.1% is the estimated probability that it will be exploited in the next 30 days. That is higher than 62% of all scored CVEs.
How severe is CVE-2022-36045?
CVE-2022-36045 has a CVSS v3 base score of 9.0, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2022-36045 affect?
Published advisories record a fix for nodebb (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2022-36045
Markdown
[](https://tridentstack.com/cve/CVE-2022-36045)HTML
<a href="https://tridentstack.com/cve/CVE-2022-36045"><img src="https://tridentstack.com/cve/badge/CVE-2022-36045.svg" alt="CVE-2022-36045"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.