CVE-2021-23360 Arbitrary Command Injection

High 7.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2021-23360?

CVE-2021-23360 is a high-severity vulnerability in killport, published on 21 Mar 2021.

Official description

This affects the package killport before 1.0.2. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.

Weakness: CWE-78

Which versions are affected by CVE-2021-23360?

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

PackageAffectedFixed in
killport npmAll versions1.0.2
killport npmAll versions1.0.2

Products include Killport Project Killport.

How do I fix CVE-2021-23360?

Upgrade killport to 1.0.2 or later.

Is CVE-2021-23360 being exploited?

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

Sources

Also known as GHSA-fc42-h7q4-qp8h, SNYK-JS-KILLPORT-1078535.

Is CVE-2021-23360 in your software?

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

Check your SBOMs for free