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-5hmpJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12aDJnLTZjNHgtNWhtcM4AA04I
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: about 1 year 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
EPSS Percentage: 0.00126
EPSS Percentile: 0.47764
Identifiers: GHSA-vh2g-6c4x-5hmp, CVE-2023-26045
References:
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-vh2g-6c4x-5hmp
- https://nvd.nist.gov/vuln/detail/CVE-2023-26045
- https://github.com/NodeBB/NodeBB/commit/ec58700f6dff8e5b4af1544f6205ec362b593092
- https://security.netapp.com/advisory/ntap-20230831-0004/
- https://github.com/advisories/GHSA-vh2g-6c4x-5hmp
Blast Radius: 4.8
Affected Packages
npm:nodebb
Dependent packages: 1Dependent repositories: 3
Downloads: 79 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