CVE-2017-16047 mysqljs 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-16047?

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

Official description

mysqljs 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-16047?

2 open source packages ship an affected version, including mysqljs. It affects 1 product.

PackageAffectedFixed in
mysqljs npmFrom 0.0.0None
mysqljs npmFrom 0.0.0None

Products include Mysqljs Project Mysqljs.

How do I fix CVE-2017-16047?

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

Is CVE-2017-16047 being exploited?

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

Sources

Also known as GHSA-8gv6-g7vp-hr34.

Is CVE-2017-16047 in your software?

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

Check your SBOMs for free