CVE-2017-16053: Hijacked Environment Variables in fabric-js

fabric-js Updated 02 Oct 2025

Summary

23/07/2018
No i
High
7.5

CVE-2017-16053: fabric-js is malware. Affects fabric-js 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 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

fabric-js is an npm package that is used for fabric manipulation in JavaScript. It provides functionality for creating and modifying fabric objects. However, all versions of fabric-js have been found to contain malware that steals environment variables and sends them to attacker-controlled locations.

Vulnerability Detail

The vulnerability in fabric-js allows an attacker to hijack environment variables and extract sensitive information. This can lead to unauthorized access to systems and compromise of sensitive data. The malware present in fabric-js is designed to collect environment variables and send them to the attacker's servers. This can include credentials, tokens, and other sensitive information that may be present in the environment variables. The impact of this vulnerability depends on the specific environment variables and the systems they provide access to.

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. The best course of action is to follow the steps mentioned in the 'how_to_fix' section to remove the fabric-js package and mitigate any potential damage caused by the hijacked environment variables.

Conclusion

The fabric-js package has been found to contain malware that steals environment variables. If you have this package installed in your environment, it is crucial to remove it and take necessary steps to secure your systems and credentials. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for fabric-js →

Share this vulnerability

FAQ

You can check if fabric-js is installed by running 'npm ls fabric-js' in your project directory. If it is listed as a dependency, it is installed in your environment.

No, updating fabric-js will not fix the vulnerability as all versions of the package are affected. You need to completely remove the package from your environment.

You can search for fabric-js in all package.json files using a command-line tool like 'grep' or by manually inspecting the files. Look for any references to 'fabric-js' in the dependencies or devDependencies sections.

If you find fabric-js installed, follow the steps mentioned in the 'how_to_fix' section to remove the package and mitigate any potential damage. Additionally, review and secure any services that may have been exposed via the compromised environment variables.

To prevent similar vulnerabilities, it is important to regularly update and review the packages used in your projects. Stay informed about security advisories and vulnerabilities in the packages you depend on. Consider using tools like Vulert (https://vulert.com) to monitor and alert for open-source vulnerabilities in your software.

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