CVE-2017-16080: Hijacked Environment Variables in nodesass

nodesass Updated 02 Oct 2025

Summary

01/09/2020
No i
Moderate
Not published

CVE-2017-16080: Nodesass is malware. Affects nodesass 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The nodesass package is a popular npm package used for compiling Sass files to CSS. It provides a command-line interface and a JavaScript API for integrating Sass compilation into applications. The package has been widely adopted by developers for its ease of use and performance. However, all versions of nodesass have been found to contain malware that steals environment variables and sends them to attacker-controlled locations.

Vulnerability Detail

The vulnerability in nodesass allows an attacker to hijack environment variables, which can contain sensitive information such as database credentials, API keys, and other sensitive data. The malware embedded in the package steals these environment variables and sends them to the attacker's servers. This can lead to unauthorized access to sensitive systems and data, potentially resulting in data breaches and other security incidents.

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 known workaround for this vulnerability. It is essential to follow the recommended steps to fix the issue and mitigate the risk of further exploitation.

Conclusion

The nodesass package has been found to contain malware that steals environment variables. If you have this package installed in your environment, it is crucial to follow the recommended steps to remove it, clear your npm cache, regenerate credentials, and review any exposed services. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for nodesass →

Share this vulnerability

FAQ

The exact method of how the malware was injected into the nodesass package is unknown. It is possible that the package was compromised by an attacker who gained unauthorized access to the package maintainer's account or the package repository.

The consequences of this vulnerability can be severe. Attackers can gain unauthorized access to sensitive systems and data, leading to data breaches, unauthorized transactions, and other security incidents. It is crucial to take immediate action to mitigate the risk.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the package-lock.json file.

Unfortunately, once the environment variables have been stolen and sent to the attacker's servers, it is challenging to recover them. It is crucial to regenerate any sensitive credentials and review any services that may have been exposed.

There is no specific evidence of exploitation in the wild related to this vulnerability. However, it is essential to take immediate action to prevent any potential exploitation.

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