Every CVE Search/ Get API key

CVE-2017-16059

mssql-node is malware

7.5 High

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.11%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2017-16059
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-506, CWE-200
Updated
2026-11-02
CVE List No score

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

Record
CVE-2017-16059
Weakness
CWE-506
Updated
2026-11-02
EUVDEUVD-2018-0727 No score

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

Record
EUVD-2018-0727
Updated
2026-11-03
GitHub AdvisoriesGHSA-3p8f-j2vw-7hw9 7.5

mssql-node is malware

The mssql-node package is a piece of malware that steals environment variables and sends them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

As this module is malware, if you find it installed in your environment, the real security concern is determining how it got there.

If you have found this installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your registry credentials, tokens, and any other sensitive credentials that may have been present in your environment variables.

Additionally, any service which may have been exposed via credentials in your environment variables, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-3p8f-j2vw-7hw9
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-506
Updated
2026-11-02
OSVGHSA-3p8f-j2vw-7hw9 7.5

mssql-node is malware

The mssql-node package is a piece of malware that steals environment variables and sends them to attacker controlled locations.

All versions have been unpublished from the npm registry.

Recommendation

As this module is malware, if you find it installed in your environment, the real security concern is determining how it got there.

If you have found this installed in your environment, you should:

  1. Delete the package
  2. Clear your npm cache
  3. Ensure it is not present in any other package.json files on your system
  4. Regenerate your registry credentials, tokens, and any other sensitive credentials that may have been present in your environment variables.

Additionally, any service which may have been exposed via credentials in your environment variables, such as a database, should be reviewed for indicators of compromise as well.

Record
GHSA-3p8f-j2vw-7hw9
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-506
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mssql-node
npm
through 1.0.2 None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-16059 is a high vulnerability (CVSS 7.5) in Mssql-node Project Mssql-node, published June 7, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.11%, the 66th percentile. No source names a fixed version.

References

MoveEnter Open