CVE-2017-16079: Hijacked Environment Variables in smb

smb Updated 02 Oct 2025

Summary

29/08/2018
No i
High
7.5

CVE-2017-16079: smb is malware. Affects smb 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The smb package is an npm package that provides functionality for interacting with the Server Message Block (SMB) protocol. It allows users to perform file and printer sharing, as well as access remote services. The package is vulnerable to a hijacking attack where environment variables are stolen and sent to attacker-controlled locations.

Vulnerability Detail

The smb package has been identified as malware that steals environment variables. This can have serious security implications as sensitive information, such as credentials and tokens, may be exposed. The package has been unpublished from the npm registry. If this package is found installed in an environment, it is important to investigate how it got there and take appropriate actions to mitigate the risk. Steps should be taken to delete the package, clear the npm cache, remove it from any package.json files, and regenerate sensitive credentials. Additionally, any services exposed via credentials in environment variables should be reviewed for compromise.

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 smb package has been identified as malware that steals environment variables. If this package is found installed in your environment, it is crucial to take immediate action to mitigate the risk. Delete the package, clear the npm cache, remove it from package.json files, and regenerate any exposed credentials. Review and secure any services that may have been compromised. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for smb →

Share this vulnerability

FAQ

You can check if the smb package is installed by running the command npm ls smb in your project directory. If the package is listed, it is installed in your environment.

If you find the smb package installed in your environment, you should immediately delete the package, clear the npm cache, remove it from any package.json files, and regenerate any sensitive credentials that may have been exposed.

To clear the npm cache, you can run the command npm cache clean --force.

In addition to deleting the smb package and clearing the npm cache, you should review and secure any services that may have been exposed via compromised credentials.

To prevent the smb package from being installed in your environment, you should regularly update your package.json files to use trusted packages and avoid installing packages from untrusted sources.

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