{"id":"CVE-2023-40582","published":"2023-08-30T17:39:20Z","modified":"2024-10-01T18:13:41Z","title":"Command Injection Vulnerability in find-exec","vendor":"shime","product":"find-exec","tier":"tail","description":{"text":"find-exec is a utility to discover available shell commands. Versions prior to 1.0.3 did not properly escape user input and are vulnerable to Command Injection via an attacker controlled parameter. As a result, attackers may run malicious shell commands in the context of the running process. This issue has been addressed in version 1.0.3. users are advised to upgrade. Users unable to upgrade should ensure that all input passed to find-exec comes from a trusted source.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02869,"percentile":0.87506,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/shime/find-exec/security/advisories/GHSA-95rp-6gqp-6622","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/shime/find-exec/commit/74fb108097c229b03d6dba4cce81e36aa364b51c","tags":["x_refsource_MISC"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":17.5},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"shime","affectedVersions":[{"vendor":"shime","product":"find-exec","versions":["< 1.0.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-01T18:13:32.639859Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"find-exec","vulnerableRanges":["<1.0.3"],"patched":["1.0.3"],"from":["GHSA-95rp-6gqp-6622"],"provenance":"source"}],"summary":{"text":"The find-exec utility, a shime package for discovering available shell commands, fails to properly escape user input in versions prior to 1.0.3, exposing a command injection flaw in how it handles attacker-controlled parameters. An attacker who can supply that parameter can run arbitrary shell commands in the context of the running process, with no authentication or user interaction required and access over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:17Z"},"euvd":{"id":"EUVD-2023-2252","exploited":false,"provenance":"source"}}