GitHub Advisoryadvisory · npm

GHSA-xr8h-53xr-jhcm Path Traversal in marked-tree

HIGH Published 2021-05-07 Modified 2021-05-06 Official page ↗
Aliases
CVE-2020-7682
Ecosystem
npm
Packages
marked-tree
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2021-05-06

Affected packages

• npm marked-tree: <= 0.8.1 (no fix yet)

Description

This affects all versions up to and including version 0.8.1 of package marked-tree. There is no path sanitization in the path provided at fs.readFile in index.js.

Related

Alias · CVE (1)

  • CVE-2020-7682 This affects all versions of package marked-tree. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References