MEDIUM5.0
GHSA-pfj7-2qfw-vwgm
NodeBB vulnerable to path traversal in translator module
Quick fix
GHSA-pfj7-2qfw-vwgm — nodebb: upgrade to the fixed version with the command below.
npm install nodebb@1.18.5Details
### Impact Prior to v1.18.5, a path traversal vulnerability was present that allowed users to access JSON files outside of the expected `languages/` directory.
### Patches The vulnerability has been patched as of v1.18.5.
### Workarounds Cherry-pick commit hash `c8b2fc46dc698db687379106b3f01c71b80f495f` to receive this patch in lieu of a full upgrade.
### For more information If you have any questions or comments about this advisory: * Email us at [security@nodebb.org](mailto:security@nodebb.org)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-pfj7-2qfw-vwgm[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-43788[ADVISORY]
- https://github.com/NodeBB/NodeBB/commit/c8b2fc46dc698db687379106b3f01c71b80f495f[WEB]
- https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot[WEB]
- https://github.com/NodeBB/NodeBB[PACKAGE]
- https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5[WEB]