PT-2020-19704 · Marscode · Marscode

Published

2020-07-25

·

Updated

2021-05-07

·

CVE-2020-7681

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions marscode versions up to and including 1.0.1-0
Description The issue is related to a lack of path sanitization in the path provided at fs.readFile in index.js. This could potentially lead to unauthorized access to files.
Recommendations For versions up to and including 1.0.1-0, consider implementing path sanitization for the fs.readFile function in index.js to prevent unauthorized file access. As a temporary workaround, restrict access to sensitive files until a proper fix is applied.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-7681
GHSA-8PWW-PP5R-RFF8

Affected Products

Marscode