SecurityContext

CVE-2023-40582: find-exec - Command Injection

  • Cve: CVE-2023-40582
  • Name: find-exec - Command Injection
  • Description: 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.
  • Impact: Attackers can execute arbitrary shell commands, potentially leading to system compromise or data breach.
  • Remediation: Upgrade to version 1.0.3 or later. If upgrade isn't possible, ensure all input is from trusted sources.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01801
  • Epss percentile: 0.78948
  • Assignee: [email protected]
  • Published at: 2023-08-30T18:15:09Z
  • Age in days: 1182
  • Modified at: 2026-06-17T06:18:34Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-40582
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

UrlSourceTags
https://github.com/shime/find-exec/commit/74fb108097c229b03d6dba4cce81e36aa364b51cnvdPatch
https://github.com/shime/find-exec/security/advisories/GHSA-95rp-6gqp-6622nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
find-exec_project:find-exec< 1.0.3nonvd/v1/products/find-exec_project/find-exec

Projects

RepositoryLink kindsIndexedUrl
shime/find-execcommit, fix, package, security_advisoryyes/v1/repositories/shime/find-exec

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts