CVE-2023-40582 Command Injection Vulnerability in find-exec
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2023-40582?
CVE-2023-40582 is a critical vulnerability in shime find-exec, published on 30 Aug 2023.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2023-40582?
2 open source packages ship an affected version, including find-exec. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
find-exec npm | All versions | 1.0.3 |
find-exec npm | All versions | 1.0.3 |
Products include Find-Exec Project Find-Exec.
How do I fix CVE-2023-40582?
Upgrade find-exec to 1.0.3 or later.
Is CVE-2023-40582 being exploited?
There is no known exploitation of CVE-2023-40582 in the wild and no public exploit code.
Sources
Also known as GHSA-95rp-6gqp-6622.