CVE-2022-25923
exec-local-bin vulnerable to Command Injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
Versions of the package exec-local-bin before 1.2.0 are vulnerable to Command Injection via the theProcess() functionality due to improper user-input sanitization.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | exec-local-bin | 1.2.0 |
References
- https://github.com/saeedseyfi/exec-local-bin
- https://github.com/saeedseyfi/exec-local-bin/blob/92db00bde9d6e2d83410849f898df12f075b73b0/index.js%23L9
- https://github.com/saeedseyfi/exec-local-bin/commit/d425866375c85038133a6f79db2aac66c0a72624
- https://nvd.nist.gov/vuln/detail/CVE-2022-25923
- https://security.snyk.io/vuln/SNYK-JS-EXECLOCALBIN-3157956