CVE-2017-0930: Directory Traversal in augustine
Summary
CVE-2017-0930: Directory Traversal in augustine. Affects augustine versions < 0.2.3. 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
Augustine is an npm package that functions as a static file server. It allows users to serve static files over HTTP. The package is vulnerable to a directory traversal vulnerability, where it resolves relative file paths incorrectly. This vulnerability enables malicious actors to access files outside of the intended directory root, potentially leading to the disclosure of private files on the vulnerable system.
Vulnerability Detail
The directory traversal vulnerability in augustine arises from its incorrect resolution of relative file paths. By exploiting this vulnerability, an attacker can traverse directories and access files outside of the intended directory root. This can result in the unauthorized disclosure of sensitive information stored on the system. An example proof of concept for this vulnerability is:
GET /etc/passwd HTTP/1.1
host: foo
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
There is no specific workaround provided for this vulnerability.
Conclusion
The augustine package is vulnerable to a directory traversal vulnerability that allows attackers to access files outside of the intended directory root. To mitigate this vulnerability, it is recommended to use an alternative static file server package. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for augustine →
FAQ
The vulnerability allows attackers to access files outside of the intended directory root, potentially leading to the disclosure of private files on the vulnerable system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
No, there is currently no direct patch available for this vulnerability. The recommended mitigation is to use an alternative static file server package.
This vulnerability has a severity rating of HIGH.
CWE-22 is a Common Weakness Enumeration category that refers to improper limitation of a pathname to a restricted directory ('Path Traversal').