CVE-2017-16067: Hijacked Environment Variables in node-opencv

node-opencv Updated 02 Oct 2025

Summary

29/08/2018
No i
High
7.5

CVE-2017-16067: node-opencv is malware. Affects node-opencv versions < 1.0.2. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The node-opencv package is an open-source library that provides bindings for OpenCV, a computer vision and machine learning software library. It allows developers to use OpenCV functionalities in Node.js applications. However, all versions of this package have been found to contain malware that steals environment variables and sends them to attacker-controlled locations.

Vulnerability Detail

The vulnerability in node-opencv allows an attacker to hijack environment variables, which can contain sensitive information such as credentials and tokens. The malware within the package is designed to collect these environment variables and send them to the attacker's servers. This can lead to unauthorized access to sensitive systems and data. The package has been unpublished from the npm registry to prevent further distribution.

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 for this vulnerability. It is essential to remove the node-opencv package and follow the recommended steps to mitigate the risk.

Conclusion

The node-opencv package has been found to contain malware that steals environment variables. If you have this package installed, it is crucial to remove it from your project and take the necessary steps to mitigate the risk. For further support and assistance in vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for node-opencv →

Share this vulnerability

FAQ

The malware within node-opencv is designed to intercept and collect environment variables when the package is installed and executed. It then sends these variables to the attacker's controlled locations.

The hijacked environment variables can contain sensitive information such as credentials, tokens, and registry credentials. This can lead to unauthorized access to systems and data, potentially resulting in data breaches, unauthorized actions, and further compromise of the affected environment.

You can check if node-opencv is installed in your environment by examining your project's dependencies or searching for the package in your package.json file. Additionally, you can use vulnerability monitoring tools like Vulert to scan your application and detect the presence of this vulnerability.

If you find node-opencv installed in your environment, it is crucial to take immediate action. Delete the package, clear your npm cache, ensure it is not present in any other package.json files, and regenerate any exposed credentials. Review and secure any services that may have been accessed using the compromised credentials.

To prevent similar vulnerabilities, it is essential to regularly update and monitor your project's dependencies. Stay informed about security advisories and vulnerabilities related to the packages you use. Consider using vulnerability monitoring tools like Vulert to receive real-time alerts and ensure timely remediation.

Related vulnerabilities

Recent vulnerabilities recorded for node-opencv.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback