GHSA-j9f8-8h89-j69x Remote Code Execution in node-os-utils
Attackers can execute arbitrary commands on servers using the node-os-utils library due to insufficient input validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-j9f8-8h89-j69x?
GHSA-j9f8-8h89-j69x is a command injection vulnerability in node-os-utils, published on 11 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of node-os-utils prior to 1.1.0 are vulnerable to Remote Code Execution. Due to insufficient input validation an attacker could run arbitrary commands on the server thus rendering the package vulnerable to Remote Code Execution.
Recommendation
Upgrade to version 1.1.0 or later.
Which versions are affected by GHSA-j9f8-8h89-j69x?
2 open source packages ship an affected version, including node-os-utils.
| Package | Affected | Fixed in |
|---|---|---|
node-os-utils npm | All versions | 1.1.0 |
node-os-utils npm | All versions | 1.1.0 |
How do I fix GHSA-j9f8-8h89-j69x?
Upgrade node-os-utils to 1.1.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is GHSA-j9f8-8h89-j69x being exploited?
There is no known exploitation of GHSA-j9f8-8h89-j69x in the wild and no public exploit code.