CVE-2022-24377
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-24377 affects the cycle-import-check package versions before 1.3.2. This security flaw was discovered and disclosed on December 6, 2022, and published on December 13, 2022. The vulnerability is related to a Command Injection issue in the writeFileToTmpDirAndOpenIt function (Snyk Security).

Technical details

The vulnerability is classified as a Command Injection (CWE-78) with a CVSS v3.1 base score of 7.4 (High) according to Snyk, while the NVD rates it at 9.8 (Critical). The vulnerability exists due to improper user-input sanitization in the writeFileToTmpDirAndOpenIt function. The attack vector is local, requiring high attack complexity, with no privileges required and no user interaction needed for exploitation. The scope is unchanged, but the potential impact on confidentiality, integrity, and availability is rated as high (Snyk Security).

Impact

If successfully exploited, this vulnerability can lead to a total loss of confidentiality, resulting in all resources within the impacted component being exposed to the attacker. Additionally, there is a potential for complete loss of integrity, allowing the attacker to modify protected files, and a total loss of availability that could result in full denial of access to resources (Snyk Security).

Mitigation and workarounds

The vulnerability has been fixed in version 1.3.2 of the cycle-import-check package. Users are advised to upgrade to version 1.3.2 or higher to mitigate this security risk. The fix involved removing the vulnerable writeFileToTmpDirAndOpenIt function, as evidenced by the commit changes (GitHub Commit).

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-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

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