{"id":"CVE-2022-21810","aliases":["EUVD-2023-0358","GHSA-69f2-4375-qv9h"],"status":"published","title":"Command injection in smartctl","description":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01232,"percentile":0.69219,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77","CWE-78"],"published":"2023-01-25T05:00:03Z","modified":"2026-06-17T04:27:01Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"smartctl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"smartctl","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}]}],"products":[{"vendor":"smartctl_project","product":"smartctl"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18","tags":["x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21810","tags":["advisory"]},{"url":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js#23L18","tags":["web"]},{"url":"https://github.com/advisories/GHSA-69f2-4375-qv9h"}],"sources":{"cve":[{"id":"CVE-2022-21810","description":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.\r\r","status":"published","published":"2023-01-25T05:00:03.902Z","modified":"2025-04-01T14:49:31.407Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-78","CWE-77"],"updated_at":"2026-11-02T14:34:29.478363Z"}],"euvd":[{"id":"EUVD-2023-0358","description":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.\r\r","status":"published","published":"2023-01-25T05:00:03Z","modified":"2025-04-01T14:49:31Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high"}],"updated_at":"2026-11-02T20:52:45.844316Z"}],"ghsa":[{"id":"GHSA-69f2-4375-qv9h","title":"Command injection in smartctl","description":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.","status":"published","published":"2023-01-26T21:30:27Z","modified":"2025-04-01T22:56:38Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T14:38:37.325334Z"}],"nvd":[{"id":"CVE-2022-21810","description":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.\r\r","status":"published","published":"2023-01-26T21:15:28.803Z","modified":"2026-06-17T04:27:01.767Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-78","CWE-77"],"updated_at":"2026-11-02T14:07:35.561816Z"}],"osv":[{"id":"GHSA-69f2-4375-qv9h","title":"Command injection in smartctl","description":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.","status":"published","published":"2023-01-26T21:30:27Z","modified":"2025-04-01T22:56:35Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T15:46:39.618611Z"}]}}
