Command Injection The advisory has been revoked - it doesn't affect any version of package wc-cmd  (opens in a new tab)


Threat Intelligence

EPSS
0.24% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-WCCMD-1050423
  • published23 Feb 2021
  • disclosed11 Dec 2020
  • creditJHU System Security Lab

Introduced: 11 Dec 2020

CVE-2020-28431  (opens in a new tab)
CWE-78  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for wc-cmd.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Command Injection via the index.js file.

PoC:

var a =require("wc-cmd");
a("touch JHU")

Note:

CVE-2020-28431 has been retracted because it was found to be invalid.