{"id":"CVE-2021-23363","state":"PUBLISHED","title":"Arbitrary Command Injection","description":"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.","publishedAt":"2021-03-30T15:00:15.284Z","updatedAt":"2024-09-17T01:56:52.764Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","source":"snyk"},"assigner":"snyk","products":["n/a kill-by-port"],"affected":[{"vendor":"n/a","product":"kill-by-port","versions":[{"version":"unspecified","status":"affected","lessThan":"0.0.2","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531","https://github.com/GuyMograbi/kill-by-port/blob/16dcbe264b6b4a5ecf409661b42836dd286fd43f/index.js%23L8","https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23363.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23363","state":"PUBLISHED","datePublished":"2021-03-30T15:00:15.284Z","dateUpdated":"2024-09-17T01:56:52.764Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Arbitrary Command Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"kill-by-port","versions":[{"version":"unspecified","status":"affected","lessThan":"0.0.2","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531","tags":["x_refsource_MISC"]},{"url":"https://github.com/GuyMograbi/kill-by-port/blob/16dcbe264b6b4a5ecf409661b42836dd286fd43f/index.js%23L8","tags":["x_refsource_MISC"]},{"url":"https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"LOW","privilegesRequired":"LOW","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","scope":"UNCHANGED","temporalScore":6,"temporalSeverity":"MEDIUM","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Arbitrary Command Injection","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-03-30T15:00:15.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"OmniTaint"}],"datePublic":"2021-03-30T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-03-30T14:56:07.068607Z","ID":"CVE-2021-23363","STATE":"PUBLIC","TITLE":"Arbitrary Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"kill-by-port","version":{"version_data":[{"version_affected":"<","version_value":"0.0.2"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"OmniTaint"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Arbitrary Command Injection"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531"},{"name":"https://github.com/GuyMograbi/kill-by-port/blob/16dcbe264b6b4a5ecf409661b42836dd286fd43f/index.js%23L8","refsource":"MISC","url":"https://github.com/GuyMograbi/kill-by-port/blob/16dcbe264b6b4a5ecf409661b42836dd286fd43f/index.js%23L8"},{"name":"https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4","refsource":"MISC","url":"https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/GuyMograbi/kill-by-port/blob/16dcbe264b6b4a5ecf409661b42836dd286fd43f/index.js%23L8","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:05:55.604Z"}}]}}}