GHSA-mm4f-47ch-f7hx

Suggest an improvement
Source
https://github.com/advisories/GHSA-mm4f-47ch-f7hx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-mm4f-47ch-f7hx/GHSA-mm4f-47ch-f7hx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-mm4f-47ch-f7hx
Aliases
Published
2021-04-13T15:32:43Z
Modified
2025-01-08T10:42:03.919016Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Arbitrary code execution in kill-by-port
Details

This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.

Database specific
{
    "nvd_published_at": "2021-03-30T15:15:00Z",
    "github_reviewed_at": "2021-03-31T20:18:57Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

npm / kill-by-port

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.2