CVE-2017-16059 mssql-node is malware

High 7.5 Published Updated

A malicious npm package hijacked environment variables, allowing attackers to steal sensitive data and execute code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-16059?

CVE-2017-16059 is a high-severity vulnerability in HackerOne mssql-node node module, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-200, CWE-506

Which versions are affected by CVE-2017-16059?

2 open source packages ship an affected version, including mssql-node. It affects 1 product.

PackageAffectedFixed in
mssql-node npmAll versions to 1.0.2None
mssql-node npmAll versions to 1.0.2None

Products include Mssql-Node Project Mssql-Node.

How do I fix CVE-2017-16059?

No fix has been published for CVE-2017-16059 yet. Limit exposure of the affected software until one is available.

Is CVE-2017-16059 being exploited?

There is no known exploitation of CVE-2017-16059 in the wild and no public exploit code.

Sources

Also known as GHSA-3p8f-j2vw-7hw9.

Is CVE-2017-16059 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free