CVE-2017-16065: Hijacked Environment Variables in openssl.js

openssl.js Updated 02 Oct 2025

Summary

29/08/2018
No i
High
7.5

CVE-2017-16065: openssl.js is malware. Affects openssl.js versions >= 0.0.0. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The openssl.js package is an npm package that provides functionality related to OpenSSL. It is used for cryptographic operations and secure communication. However, all versions of openssl.js have been found to be compromised and contain malware. This malware steals environment variables and sends them to attacker-controlled locations. The package has been unpublished from the npm registry to prevent further distribution.

Vulnerability Detail

The vulnerability in openssl.js allows an attacker to hijack environment variables and exfiltrate them to their own servers. This can lead to the exposure of sensitive information such as credentials, tokens, and other sensitive data stored in environment variables. The malware present in openssl.js poses a significant security risk as it can compromise the entire system and potentially lead to further attacks.

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 →

Conclusion

The openssl.js package has been found to contain malware that steals environment variables. If you have this package installed in your environment, it is critical to take immediate action to remove it, clear your npm cache, and secure any exposed credentials. Regularly monitoring for vulnerabilities and following best practices for package management can help prevent similar incidents in the future. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for openssl.js →

Share this vulnerability

FAQ

You can check if openssl.js is installed in your environment by inspecting your package.json file or by running the 'npm ls openssl.js' command in your terminal.

If you find openssl.js installed in your environment, you should immediately delete the package, clear your npm cache, and regenerate any sensitive credentials that may have been exposed.

The origin of openssl.js in your environment should be investigated. It is possible that it was installed as a direct dependency or as a transitive dependency of another package. Review your package.json files and dependency tree to identify the source.

While openssl.js itself is the compromised package, it is essential to review other packages in your system for potential vulnerabilities. The presence of openssl.js raises concerns about the overall security of your environment.

To prevent similar vulnerabilities, it is crucial to regularly update and patch your dependencies. Stay informed about security advisories and follow best practices for secure coding and package management.

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