CVE-2017-16139: Directory Traversal in jikes
Summary
CVE-2017-16139: Directory Traversal in jikes. Affects jikes versions 0.0.1. 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 jikes package is an npm package used for local development. It provides functionality for resolving relative file paths. The package is vulnerable to a directory traversal vulnerability, which allows a malicious actor to access files outside of the intended directory root. This can lead to the disclosure of private files on the vulnerable system.
Vulnerability Detail
The vulnerability in jikes arises from the package's resolution of relative file paths. By manipulating the file path in a specific way, an attacker can traverse directories and access files outside of the intended directory root. For example, an attacker can send a GET request with a crafted file path to retrieve sensitive files, such as the /etc/passwd file. This vulnerability poses a moderate risk as it can result in the unauthorized disclosure of private files.
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 the jikes package in production environments. Instead, consider using a different package that provides similar functionality but does not have the directory traversal vulnerability.
Conclusion
The jikes package is vulnerable to a directory traversal vulnerability that allows an attacker to access files outside of the intended directory root. No patch is available for this vulnerability, so it is recommended to only use the package for local development purposes. If the functionality provided by jikes is required for production, it is advised to use an alternative package that does not have this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for jikes →
FAQ
The vulnerability allows an attacker to access files outside of the intended directory root, potentially leading to the disclosure of private files on the vulnerable system.
No, there is no patch available for this vulnerability in the jikes package.
Yes, this vulnerability can be exploited remotely by sending a crafted request to the vulnerable system.
If the functionality provided by jikes is required for production, it is recommended to use an alternative package that does not suffer from this vulnerability.
The only known mitigation is to avoid using the jikes package in production environments.