CVE-2017-16192: Directory Traversal in getcityapi.yoehoehne
Summary
CVE-2017-16192: Directory Traversal in getcityapi.yoehoehne. Affects getcityapi.yoehoehne 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 getcityapi.yoehoehne package is an npm package used for local development. It provides functionality related to retrieving city information. However, this package is vulnerable to a directory traversal vulnerability, which allows an attacker to access files outside of the intended directory root. This can lead to the disclosure of sensitive files on the vulnerable system.
Vulnerability Detail
The vulnerability in getcityapi.yoehoehne 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 scope. For example, an attacker can send a GET request with a modified file path to retrieve the /etc/passwd file. This can result in the exposure of sensitive information, such as user credentials.
This vulnerability has a severity rating of HIGH and is classified under CWE-22.
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 getcityapi.yoehoehne package in production environments. Instead, consider using a different package that provides similar functionality but does not suffer from the directory traversal vulnerability.
Conclusion
The getcityapi.yoehoehne 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 this package for local development purposes. If the package is required for production, it is advised to find an alternative package that does not have this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for getcityapi.yoehoehne →
FAQ
The impact of this vulnerability is that an attacker can access sensitive files on the vulnerable system, potentially leading to the exposure of confidential information.
No, there is no patch available for this vulnerability at the moment.
Yes, this vulnerability can be exploited remotely by sending a specially crafted request to the vulnerable system.
This vulnerability has a severity rating of HIGH.
There are no known instances of this vulnerability being exploited in the wild.