{"id":"CVE-2022-21810","aliases":["CVE-2022-21810","GHSA-69f2-4375-qv9h"],"related":[],"kind":"vulnerability","state":"published","title":"Command injection in smartctl","summary":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.","source":"cvelist"},{"lang":"es","text":"Todas las versiones del paquete smartctl son vulnerables a la inyección de comandos a través del método info debido a una sanitización de entrada inadecuada.","source":"nvd"}],"published":"2023-01-25T05:00:03.902Z","modified":"2026-06-17T04:27:01.767Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"smartctl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.0"}],"ecosystem":"npm","package":"smartctl","purl":"pkg:npm/smartctl","source":"ghsa"},{"ranges":[],"vendor":"smartctl_project","product":"smartctl","cpe":"cpe:2.3:a:smartctl_project:smartctl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21810","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js#23L18","tags":["web"],"sources":["ghsa"]}],"credits":["Junmin Zhu at SJTU","JHU System Security Lab"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-01T14:48:41.879Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21810","url":"https://www.cve.org/CVERecord?id=CVE-2022-21810","licence":"CVE Terms of Use","modified":"2025-04-01T14:49:31.407Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-69f2-4375-qv9h","url":"https://github.com/advisories/GHSA-69f2-4375-qv9h","licence":"CC-BY-4.0","modified":"2025-04-01T22:56:35.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21810","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21810","licence":"Public domain","modified":"2026-06-17T04:27:01.767Z"}],"updatedAt":"2026-11-25T22:58:18.324Z","epss":{"score":0.0118,"percentile":0.68558,"date":"2026-12-01T12:00:22.000Z"}}