CVE-2022-21810
Smartctl Project Smartctl vulnerability
All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.
Affected products
Smartctl. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Smartctl Project Smartctl runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613 · Exploit
- github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L1
- nvd.nist.gov/vuln/detail/CVE-2022-21810
- github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js#23L1
- github.com/advisories/GHSA-69f2-4375-qv9h
- nvd.nist.gov/vuln/detail/CVE-2022-21810
- cve.org/CVERecord?id=CVE-2022-21810
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.