Description
resolve-path node module before 1.4.0 suffers from a Path Traversal vulnerability due to lack of validation of paths with certain special characters, which allows a malicious user to read content of any file with known path.
Remediation
References
https://github.com/pillarjs/resolve-path/commit/fe5b8052cafd35fcdafe9210e100e9050b37d2a0
https://hackerone.com/reports/315760
Related Vulnerabilities
CVE-2020-6449 Vulnerability in maven package org.webjars.npm:electron
CVE-2022-31139 Vulnerability in maven package io.github.karlatemp:unsafe-accessor
CVE-2021-23451 Vulnerability in npm package otp-generator
CVE-2014-3604 Vulnerability in maven package ca.juliusdavies:not-yet-commons-ssl
CVE-2019-10795 Vulnerability in maven package org.webjars.npm:undefsafe