CVE-2022-21810
Command injection in smartctl
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.4
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
- Record
CVE-2022-21810- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P - Weakness
- CWE-78, CWE-77
- Updated
- 2026-11-02
EUVDEUVD-2023-0358
7.4
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
- Record
EUVD-2023-0358- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-69f2-4375-qv9h
7.8
Command injection in smartctl
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
- Record
GHSA-69f2-4375-qv9h- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77, CWE-78
- Updated
- 2026-11-02
NVD
7.4
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
- Record
CVE-2022-21810- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78, CWE-77
- Updated
- 2026-11-02
OSVGHSA-69f2-4375-qv9h
7.8
Command injection in smartctl
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
- Record
GHSA-69f2-4375-qv9h- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77, CWE-78
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
smartctlnpm |
through 1.0.0 | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-21810 is a high vulnerability (CVSS 7.4) in Smartctl Project Smartctl, published January 25, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.23%, the 69th percentile. No source names a fixed version.
References
security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613
github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18
nvd.nist.gov/vuln/detail/CVE-2022-21810
github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js
github.com/advisories/GHSA-69f2-4375-qv9h