Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS12aDJnLTZjNHgtNWhtcM4AA04I

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.

Permalink: https://github.com/advisories/GHSA-vh2g-6c4x-5hmp
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12aDJnLTZjNHgtNWhtcM4AA04I
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 9 months ago
Updated: 6 months ago


CVSS Score: 10.0
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Identifiers: GHSA-vh2g-6c4x-5hmp, CVE-2023-26045
References: Repository: https://github.com/NodeBB/NodeBB
Blast Radius: 4.8

Affected Packages

npm:nodebb
Dependent packages: 1
Dependent repositories: 3
Downloads: 140 last month
Affected Version Ranges: >= 2.5.0, < 2.8.7
Fixed in: 2.8.7
All affected versions:
All unaffected versions: 0.4.3, 0.6.1, 0.7.0, 0.8.2, 1.4.0