CVE-2016-10572: Insecure Download of Resources in mongodb-instance
Summary
CVE-2016-10572: Downloads Resources over HTTP in mongodb-instance. Affects mongodb-instance versions < 0.0.3. Fixed in 0.0.3. 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 mongodb-instance package is an npm package used for managing MongoDB instances. It provides functionality for downloading and running MongoDB executables. This package is vulnerable to an insecure download of resources over an unencrypted HTTP connection.
Vulnerability Detail
The affected versions of mongodb-instance insecurely download an executable over an unencrypted HTTP connection. This means that if an attacker has a privileged network position, they can intercept the response and replace the executable with a malicious one. This could result in code execution on the system running mongodb-instance. The vulnerability has a severity rating of HIGH and is identified by the Common Weakness Enumeration (CWE) ID CWE-311.
How To Fix
Minimum fixed version
0.0.3
This is the first release that contains the fix.
npm install mongodb-instance@0.0.3
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
In conclusion, the mongodb-instance package is vulnerable to an insecure download of resources over an unencrypted HTTP connection. To mitigate this vulnerability, it is recommended to update to version 0.0.3 or later. For more information and support, please contact DevNack.com.
See every vulnerability recorded for mongodb-instance →
FAQ
The impact of this vulnerability is that an attacker can replace the downloaded MongoDB executable with a malicious one, potentially leading to code execution on the system.
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for vulnerabilities in real-time.
There are no known workarounds for this vulnerability. It is recommended to update to the latest version of the mongodb-instance package.
You can find more information about this vulnerability in the GitHub Advisory Database at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-7r8m-45gc-m2c8/GHSA-7r8m-45gc-m2c8.json
For further support on vulnerability remediation, you can contact info@devnack.com.