Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. cycle-import-check
  4. ›
  5. CVE-2022-24377

CVE-2022-24377: cycle-import-check vulnerable to Command Injection

December 14, 2022 (updated August 8, 2023)

The package cycle-import-check before 1.3.2 is vulnerable to Command Injection via the writeFileToTmpDirAndOpenIt function due to improper user-input sanitization.

References

  • github.com/Soontao/cycle-import-check/commit/1ca97b59df7e9c704471fcb4cf042ce76d7c9890
  • github.com/advisories/GHSA-995x-33wq-8gc9
  • nvd.nist.gov/vuln/detail/CVE-2022-24377
  • security.snyk.io/vuln/SNYK-JS-CYCLEIMPORTCHECK-3157955

Code Behaviors & Features

Detect and mitigate CVE-2022-24377 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.3.2

Fixed versions

  • 1.3.2

Solution

Upgrade to version 1.3.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

npm/cycle-import-check/CVE-2022-24377.yml

Spotted a mistake? Edit the file on GitLab.

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

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