nodebb
Affected
- introduced
2.5.0, fixed2.8.7(semver)
Fixed versions
2.8.7
Fix
- Fixed version
2.8.7npm install [email protected]
Advisory
Also known as: CVE-2023-26045
Path traversal and code execution via prototype vulnerability
Impact
Due to the use of the object destructuring assignment syntax in the user export code path, combined with a path traversal vulnerability, a specially crafted payload could invoke the user export logic to arbitrarily execute javascript files on the local disk.
Patches
Patched in v2.8.7
Workarounds
Site maintainers can cherry pick ec58700f6dff8e5b4af1544f6205ec362b593092 into their codebase to patch the exploit.
Critical Basis: The source's own band: CRITICAL
2.5.0, fixed 2.8.7 (semver)2.8.7
2.8.7npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0