GitHub Advisoryadvisory · npm
GHSA-69f2-4375-qv9h Command injection in smartctl
HIGH
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-21810 advisory
- https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js#23L18 web
- https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18 web
- https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613 web