LiveActive security incident?Get immediate response
CVE Record

CVE-2017-16056: mssql.js was a malicious module published with the intent to hijack environment variables.

mssql.js was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This CVE describes a malicious npm package, `mssql.js`, published to hijack environment variables. It was not a normal software flaw; it was a supply-chain package intended to steal or misuse runtime configuration data. npm has unpublished it, but older projects, lockfiles, or internal mirrors may still contain it.

Executive priority

Treat as a targeted supply-chain cleanup and secrets-risk issue. Priority is highest for systems that executed this package in CI, production, or deployment contexts with credentials in environment variables.

Technical view

CVE-2017-16056 maps to CWE-506 for embedded malicious code. The affected artifact is the `mssql.js` Node module, all versions. The public bundle does not provide CVSS scoring, detailed behavior, patch versions, or proof of active exploitation. The relevant risk is historical installation and execution in Node.js, CI, or deployment environments.

Likely exposure

Exposure is most likely in Node.js projects that installed `mssql.js` directly or retained it in old lockfiles, artifacts, internal registries, or deployment images. Do not assume the similarly named `mssql` package is affected without separate evidence.

Exploitation context

The source says the module was malicious and intended to hijack environment variables. KEV is false, and the provided sources do not document active exploitation campaigns, victim counts, or exploit mechanics. Risk depends on whether the package executed in environments containing sensitive variables.

Researcher notes

The record is sparse: no CVSS, no technical payload details, and no named remediation beyond npm unpublishing. Validate exact package identity and installation history before expanding scope. Avoid conflating this with unrelated SQL Server client packages.

Mitigation direction

  • Remove `mssql.js` from dependencies, lockfiles, images, and internal package mirrors.
  • Check vendor or registry guidance before selecting any replacement package.
  • Rotate secrets exposed in environments where the package may have executed.
  • Review CI, build, and runtime environments for historical package use.
  • Block future installation of `mssql.js` in dependency policy tooling.

Validation and detection

  • Search dependency manifests and lockfiles for exact package name `mssql.js`.
  • Review SCA results for CVE-2017-16056 or CWE-506 findings.
  • Check internal npm proxies or artifact stores for cached copies.
  • Identify systems where the package ran with environment variables present.
  • Confirm secret rotation for affected build, CI, and runtime scopes.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-506: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-16056 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HackerOnemssql.js node moduleAll versionsListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.