CVE & CISA-KEV Catalog

CVE-2022-36045

CRITICAL
9.0
CVSS v3
NVD

Description

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

Remediation Available
nodebbNVD
Affected:< 1.19.8Fixed in:1.19.8CVE-2022-36045derived from NVD

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

1.05%probability of exploitation in 30 days
61stpercentile

Moderate risk: more likely to be exploited than 61% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-330 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-5420Critical9.892%-Fix
CVE-2021-34646Critical9.851%--
CVE-2008-0087High7.532%--
CVE-2017-6026Critical9.132%--
CVE-2018-17888Critical9.830%--
CVE-2020-11901Critical9.021%-Fix
Embed a live status badge for CVE-2022-36045
CVE-2022-36045 severity badge

Markdown

[![CVE-2022-36045](https://tridentstack.com/cve/badge/CVE-2022-36045.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.