{"id":"CVE-2021-23359","aliases":[],"url":"https://o3.security/vulnerability/CVE-2021-23359","summary":"Code injection in port-killer","details":"This affects all versions of package port-killer. 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.","published":"2021-04-13T15:20:49Z","modified":"2023-11-08T04:05:05.126786Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"port-killer","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23359"},{"type":"WEB","url":"https://github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b185189c10329025b/index.js%23L19"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078533"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:05:05.126786Z"}}