Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. nodebb
  4. ›
  5. CVE-2021-43788

CVE-2021-43788: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

November 29, 2021 (updated October 27, 2022)

Nodebb is an open source Node.js based forum software. A path traversal vulnerability was present that allowed users to access JSON files outside of the expected languages/ directory.

References

  • github.com/NodeBB/NodeBB/commit/c8b2fc46dc698db687379106b3f01c71b80f495f
  • github.com/NodeBB/NodeBB/releases/tag/v1.18.5
  • github.com/NodeBB/NodeBB/security/advisories/GHSA-pfj7-2qfw-vwgm
  • nvd.nist.gov/vuln/detail/CVE-2021-43788

Code Behaviors & Features

Detect and mitigate CVE-2021-43788 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.4 up to 1.18.4

Fixed versions

  • 1.18.5

Solution

Upgrade to version 1.18.5 or above.

Impact 5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/nodebb/CVE-2021-43788.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:52 +0000.