{"id":"CVE-2019-5414","aliases":["CVE-2019-5414","GHSA-pmv6-gf98-p3r5"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in kill-port","summary":"If an attacker can control the port, which in itself is a very sensitive value, they can inject arbitrary OS commands due to the usage of the exec function in a third-party module kill-port < 1.3.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"If an attacker can control the port, which in itself is a very sensitive value, they can inject arbitrary OS commands due to the usage of the exec function in a third-party module kill-port < 1.3.2.","source":"cvelist"},{"lang":"en","text":"Versions of `kill-port` prior to 1.3.2 are vulnerable to Command Injection. The package does not validate user input on the `kill` function. This may allow attackers to run arbitrary commands in the system if user input (such as the port number) is passed directly to the function.\n\n\n## Recommendation\n\nUpgrade to version 1.3.2 or later.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Si un atacante puede controlar el puerto, que en sí mismo es un valor muy sensible, puede inyectar comandos arbitrarios del sistema operativo debido al uso de la función exec en un módulo kill-port de terceros.","source":"nvd"}],"published":"2019-03-17T19:42:05.000Z","modified":"2026-06-17T02:37:38.700Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","score":9.3,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"version":"< 1.3.2","status":"affected"}],"product":"kill-port","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.2"}],"ecosystem":"npm","package":"kill-port","purl":"pkg:npm/kill-port","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.2"}],"vendor":"kill-port_project","product":"kill-port","cpe":"cpe:2.3:a:kill-port_project:kill-port:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/389561","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5414","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-pmv6-gf98-p3r5","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/966","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"hackerone","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-5414","url":"https://www.cve.org/CVERecord?id=CVE-2019-5414","licence":"CVE Terms of Use","modified":"2024-08-04T19:54:53.466Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pmv6-gf98-p3r5","url":"https://github.com/advisories/GHSA-pmv6-gf98-p3r5","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:35.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-5414","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-5414","licence":"Public domain","modified":"2026-06-17T02:37:38.700Z"}],"updatedAt":"2026-11-25T22:57:44.074Z","epss":{"score":0.01887,"percentile":0.80125,"date":"2026-12-01T12:00:22.000Z"}}