CVE-2017-16081 cross-env.js is malware

High 7.5 Published Updated

A malicious npm package hijacked environment variables, allowing attackers to steal sensitive data or 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-16081?

CVE-2017-16081 is a high-severity vulnerability in HackerOne cross-env.js 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

cross-env.js 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-16081?

2 open source packages ship an affected version, including cross-env.js. It affects 1 product.

PackageAffectedFixed in
cross-env.js npmFrom 0.0.0None
cross-env.js npmFrom 0.0.0None

Products include Cross-Env.js Project Cross-Env.js.

How do I fix CVE-2017-16081?

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

Is CVE-2017-16081 being exploited?

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

Sources

Also known as GHSA-hwhq-3hrj-v6v5.

Is CVE-2017-16081 in your software?

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

Check your SBOMs for free