Description
This affects all versions of package marscode. There is no path sanitization in the path provided at fs.readFile in index.js.
Remediation
References
https://snyk.io/vuln/SNYK-JS-MARSCODE-590122
Related Vulnerabilities
CVE-2022-37734 Vulnerability in maven package com.graphql-java:graphql-java
CVE-2022-29257 Vulnerability in npm package electron
CVE-2022-21213 Vulnerability in maven package org.webjars:mout
CVE-2021-23430 Vulnerability in npm package startserver
CVE-2020-11971 Vulnerability in maven package org.apache.camel:camel-spring