{"id":"GHSA-8pww-pp5r-rff8","summary":"Path Traversal in marscode","details":"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`.","aliases":["CVE-2020-7681"],"modified":"2023-11-08T04:04:04.462631Z","published":"2021-05-07T16:06:03Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-05-06T23:16:18Z","nvd_published_at":"2020-07-25T09:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7681"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-MARSCODE-590122"}],"affected":[{"package":{"name":"marscode","ecosystem":"npm","purl":"pkg:npm/marscode"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.1-0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-8pww-pp5r-rff8/GHSA-8pww-pp5r-rff8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}