CVE-2022-24376
JavaScript vulnerability analysis and mitigation

Overview

All versions of the git-promise package are vulnerable to Command Injection (CVE-2022-24376). The vulnerability was discovered by Liran Tal and disclosed on March 28, 2022. This security issue affects the core functionality of the package, which is designed to run git commands using an intuitive syntax (Snyk Report).

Technical details

The vulnerability stems from an inappropriate fix of a prior command injection vulnerability. The fix attempted to separate command arguments using whitespace splitting logic, but this can be bypassed using alternative input methods. The vulnerability has a CVSS base score of 7.5, indicating high severity. The issue allows attackers to execute arbitrary commands by using either tab characters instead of spaces or by utilizing shell's predefined separator ${IFS} to bypass the whitespace splitting logic (GitHub Gist).

Impact

Successful exploitation of this vulnerability can lead to total loss of confidentiality, integrity, and availability of the affected system. An attacker can execute arbitrary commands, potentially gaining complete control over the system where the package is implemented (Snyk Report).

Mitigation and workarounds

There is no fixed version available for the git-promise package. The maintainers have updated the README file with a warning regarding this issue instead of providing a patch. Users are advised to consider alternative packages or implement additional security controls to mitigate the risk (Snyk Report).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management