{"api_version":"1","generated_at":"2026-07-24T21:28:53+00:00","cve":"CVE-2022-21810","urls":{"html":"https://cve.report/CVE-2022-21810","api":"https://cve.report/api/cve/CVE-2022-21810.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21810","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21810"},"summary":{"title":"CVE-2022-21810","description":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2023-01-26 21:15:00","updated_at":"2023-11-07 03:43:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613","name":"https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613","refsource":"MISC","tags":[],"title":"Command Injection in smartctl | CVE-2022-21810 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18","name":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18","refsource":"MISC","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js#L18","name":"MISC:https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18","refsource":"MITRE","tags":[],"title":"node-smartctl/index.js at f61266084d5b3e4baae9bd85f67ec4ec6a716736 · baslr/node-smartctl · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21810","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21810","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"21810","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"smartctl_project","cpe5":"smartctl","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-21810","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"All versions of the package smartctl are vulnerable to Command Injection via the info method due to improper input sanitization."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection","cweId":"CWE-78"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"smartctl","version":{"version_data":[{"version_value":"0","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613","refsource":"MISC","name":"https://security.snyk.io/vuln/SNYK-JS-SMARTCTL-3175613"},{"url":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18","refsource":"MISC","name":"https://github.com/baslr/node-smartctl/blob/f61266084d5b3e4baae9bd85f67ec4ec6a716736/index.js%23L18"}]},"credits":[{"lang":"en","value":"Junmin Zhu at SJTU"},{"lang":"en","value":"JHU System Security Lab"}],"impact":{"cvss":[{"version":"3.1","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.4,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"}]}},"nvd":{"publishedDate":"2023-01-26 21:15:00","lastModifiedDate":"2023-11-07 03:43:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:smartctl_project:smartctl:*:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}