GitHub Advisoryadvisory · npm

GHSA-69f2-4375-qv9h Command injection in smartctl

HIGH Published 2023-01-26 Modified 2025-04-01 Official page ↗
Aliases
CVE-2022-21810
Ecosystem
npm
Packages
smartctl
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-77, CWE-78
Reviewed
2023-01-27

Affected packages

• npm smartctl: <= 1.0.0 (no fix yet)

Description

All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.

Related

Alias · CVE (1)

  • CVE-2022-21810 All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization. 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