Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. exec-local-bin
  4. ›
  5. CVE-2022-25923

CVE-2022-25923: exec-local-bin vulnerable to Command Injection

January 6, 2023 (updated April 10, 2025)

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.

References

  • github.com/advisories/GHSA-f259-h6m8-hm8m
  • github.com/saeedseyfi/exec-local-bin
  • github.com/saeedseyfi/exec-local-bin/blob/92db00bde9d6e2d83410849f898df12f075b73b0/index.js%23L9
  • github.com/saeedseyfi/exec-local-bin/commit/d425866375c85038133a6f79db2aac66c0a72624
  • nvd.nist.gov/vuln/detail/CVE-2022-25923
  • security.snyk.io/vuln/SNYK-JS-EXECLOCALBIN-3157956

Code Behaviors & Features

Detect and mitigate CVE-2022-25923 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.0

Fixed versions

  • 1.2.0

Solution

Upgrade to version 1.2.0 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/exec-local-bin/CVE-2022-25923.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:12 +0000.