{ "schema_version": "1.4.0", "id": "GHSA-69f2-4375-qv9h", "modified": "2025-04-01T22:56:35Z", "published": "2023-01-26T21:30:27Z", "aliases": [ "CVE-2022-21810" ], "summary": "Command injection in smartctl", "details": "All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "smartctl" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "1.0.0" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21810" }, { "type": "WEB", "url": "https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js#23L18" }, { "type": "WEB", "url": "https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18" }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613" } ], "database_specific": { "cwe_ids": [ "CWE-77", "CWE-78" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-01-27T01:02:28Z", "nvd_published_at": "2023-01-26T21:15:00Z" } }