CVE-2014-10068: Hidden Directories Always Served in inert
Summary
CVE-2014-10068: Hidden Directories Always Served in inert. Affects inert versions < 1.1.1. Fixed in 1.1.1. 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 inert package is an npm package that provides a static file and directory handler for Hapi.js, a rich framework for building applications and services. It allows developers to serve static files and directories with ease. However, versions 1.1.1 and earlier of inert are vulnerable to an information leakage vulnerability.
Vulnerability Detail
The vulnerability in inert allows files in hidden directories to be served, even when the showHidden option is set to false. This means that sensitive files or directories that are intended to be hidden from public access can be accessed by an attacker. The directory handler in inert does not properly enforce the showHidden option, resulting in the leakage of hidden files. This vulnerability has a moderate severity rating and is classified under CWE-22.
How To Fix
Minimum fixed version
1.1.1
This is the first release that contains the fix.
npm install inert@1.1.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. Updating to the fixed version is the only solution.
Conclusion
The inert package, versions 1.1.1 and earlier, is vulnerable to an information leakage vulnerability that allows hidden directories to be served. To fix this vulnerability, it is crucial to update to version 1.1.1 or later. There are no known workarounds for this issue. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for inert →
FAQ
This vulnerability allows an attacker to access files or directories that are intended to be hidden from public access. This can lead to unauthorized disclosure of sensitive information.
There is no known exploit for this vulnerability at the moment. However, it is important to update to the fixed version to prevent any potential exploitation.
No, only versions 1.1.1 and earlier of inert are affected. Updating to version 1.1.1 or later will fix the vulnerability.
No, the issue lies within the inert package itself. Updating to the fixed version is the recommended solution.
You can find more information about this vulnerability in the GitHub Advisory Database: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-g4xp-36c3-f7mr/GHSA-g4xp-36c3-f7mr.json