CVE-2017-16090: Directory Traversal in fsk-server
Summary
CVE-2017-16090: Directory Traversal in fsk-server. Affects fsk-server versions >= 0.0.0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The fsk-server package is an npm package used for local development. It provides functionality for serving files and directories over HTTP. However, it is vulnerable to a directory traversal vulnerability, which allows an attacker to access files outside of the intended directory root.
Vulnerability Detail
The vulnerability in fsk-server arises from the package resolving relative file paths without proper validation. This allows a malicious actor to construct a specially crafted request that includes directory traversal sequences, such as '../', to navigate to files outside of the intended directory. By exploiting this vulnerability, an attacker can potentially access sensitive files on the vulnerable system, leading to the disclosure of private information.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As there is no patch available, a workaround for this vulnerability is to avoid using fsk-server in production environments. Instead, consider using a different package that provides similar functionality but does not have the directory traversal vulnerability.
Conclusion
The fsk-server package is vulnerable to a directory traversal vulnerability that allows an attacker to access files outside of the intended directory root. While no patch is available, it is recommended to only use fsk-server for local development purposes. For production environments, consider switching to an alternative package that does not have this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for fsk-server →
FAQ
The vulnerability allows an attacker to access files outside of the intended directory root, potentially leading to the disclosure of sensitive information.
No, there is no patch available for this vulnerability at the moment.
Yes, it is still safe to use fsk-server for local development purposes. The vulnerability only poses a risk in production environments.
Yes, there are alternative packages available that provide similar functionality to fsk-server but do not suffer from the directory traversal vulnerability. It is recommended to explore these alternatives for production use.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the package-lock.json file.