CVE-2022-21810
HIGH 7.8CVSS 3.1Command injection in smartctl
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
- Published
- 26 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-69f2-4375-qv9h
- Sources
- NVDJSONOSV GHSA-69f2-4375-qv9hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | smartctl_project | smartctlcpe:2.3:a:smartctl_project:smartctl:*:*:*:*:*:*:*:* |
all versions | |
| OSV | npm | smartctl | <= 1.0.0 |
References
- https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18 · Broken Link, WEB
- https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21810 · ADVISORY
- https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js#23L18 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Jan 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Jan 2023)