GitHub Advisoryadvisory · npm

GHSA-995x-33wq-8gc9 cycle-import-check vulnerable to Command Injection

CRITICAL Published 2022-12-14 Modified 2023-08-08 Official page ↗
Aliases
CVE-2022-24377
Ecosystem
npm
Packages
cycle-import-check
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-77, CWE-78
Reviewed
2022-12-14

Affected packages

• npm cycle-import-check: < 1.3.2 → fixed in 1.3.2

Description

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

Related

Alias · CVE (1)

  • CVE-2022-24377 The package cycle-import-check before 1.3.2 are vulnerable to Command Injection via the writeFileToTmpDirAndOpenIt function due to improper… vulnerability

Weakness · CWE (2)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References