{"id":"CVE-2020-7681","aliases":["CVE-2020-7681","GHSA-8pww-pp5r-rff8"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal","summary":"This affects all versions of package marscode. There is no path sanitization in the path provided at fs.readFile in index.js.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions of package marscode. There is no path sanitization in the path provided at fs.readFile in index.js.","source":"cvelist"},{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete marscode. No presenta saneamiento de ruta en la ruta proporcionada en el archivo fs.readFile en index.js","source":"nvd"}],"published":"2020-07-25T08:35:19.851Z","modified":"2026-06-17T03:25:15.320Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"marscode","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.1-0"}],"ecosystem":"npm","package":"marscode","purl":"pkg:npm/marscode","source":"ghsa"},{"ranges":[],"vendor":"indo-mars","product":"marscode","cpe":"cpe:2.3:a:indo-mars:marscode:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MARSCODE-590122","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7681","tags":["advisory"],"sources":["ghsa"]}],"credits":["JHU System Security Lab"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7681","url":"https://www.cve.org/CVERecord?id=CVE-2020-7681","licence":"CVE Terms of Use","modified":"2024-09-16T17:38:44.120Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8pww-pp5r-rff8","url":"https://github.com/advisories/GHSA-8pww-pp5r-rff8","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:04.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7681","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7681","licence":"Public domain","modified":"2026-06-17T03:25:15.320Z"}],"updatedAt":"2026-11-25T22:57:53.627Z","epss":{"score":0.01738,"percentile":0.78186,"date":"2026-11-30T12:00:22.000Z"}}