{"id":"GHSA-69f2-4375-qv9h","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.","aliases":["CVE-2022-21810"],"modified":"2025-04-01T22:56:35Z","published":"2023-01-26T21:30:27Z","database_specific":{"github_reviewed_at":"2023-01-27T01:02:28Z","nvd_published_at":"2023-01-26T21:15:00Z","cwe_ids":["CWE-77","CWE-78"],"severity":"HIGH","github_reviewed":true},"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"}],"affected":[{"package":{"name":"smartctl","ecosystem":"npm","purl":"pkg:npm/smartctl"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-69f2-4375-qv9h/GHSA-69f2-4375-qv9h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}