GitHub Advisoryadvisory · npm

GHSA-8pww-pp5r-rff8 Path Traversal in marscode

HIGH Published 2021-05-07 Modified 2023-09-05 Official page ↗
Aliases
CVE-2020-7681
Ecosystem
npm
Packages
marscode
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 marscode: <= 1.0.1-0 (no fix yet)

Description

This affects all versionsup to and including version 1.0.1-0 of package marscode. There is no path sanitization in the path provided at `fs.readFile` in `index.js`.

Related

Alias · CVE (1)

  • CVE-2020-7681 This affects all versions of package marscode. vulnerability

Weakness · CWE (1)

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

References