GHSA-fc42-h7q4-qp8h

Suggest an improvement
Source
https://github.com/advisories/GHSA-fc42-h7q4-qp8h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-fc42-h7q4-qp8h/GHSA-fc42-h7q4-qp8h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fc42-h7q4-qp8h
Aliases
Published
2021-04-13T15:16:20Z
Modified
2025-01-14T08:57:07.491494Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command Injection in killport
Details

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.

Database specific
{
    "severity": "HIGH",
    "github_reviewed_at": "2021-03-22T18:24:32Z",
    "nvd_published_at": "2021-03-21T16:15:00Z",
    "cwe_ids": [
        "CWE-77"
    ],
    "github_reviewed": true
}
References

Affected packages

npm / killport

Package

Affected ranges

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