GHSA-qc65-cgvr-93p6

Suggest an improvement
Source
https://github.com/advisories/GHSA-qc65-cgvr-93p6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-qc65-cgvr-93p6/GHSA-qc65-cgvr-93p6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qc65-cgvr-93p6
Aliases
  • CVE-2021-23356
Published
2021-03-19T21:19:18Z
Modified
2023-11-08T04:05:05Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Code injection in kill-process-by-name
Details

This affects all versions of package kill-process-by-name. 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 in the index.js file.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-03-16T22:24:54Z",
    "nvd_published_at":  "2021-03-15T17:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / kill-process-by-name

Package

Name
kill-process-by-name
View open source insights on deps.dev
Purl
pkg:npm/kill-process-by-name

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.0.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-qc65-cgvr-93p6/GHSA-qc65-cgvr-93p6.json"