{"id":"CVE-2021-42257","aliases":["EUVD-2021-29233","GHSA-xmf9-f5j5-mm5x"],"status":"published","title":"check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only...","description":"check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only checks for a substring match of a device path (the /dev/bus substring and a number), aka an unanchored regular expression.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00389,"percentile":0.33523,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2021-10-11T00:00:00Z","modified":"2026-06-17T04:09:31Z","products":[{"vendor":"check_smart_project","product":"check_smart"}],"references":[{"url":"https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php","tags":["x_transferred","Third Party Advisory"]},{"url":"https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path","tags":["x_transferred","Third Party Advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1183057","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/10/14/2","tags":["mailing-list","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42257","tags":["x_transferred"]},{"url":"https://github.com/advisories/GHSA-xmf9-f5j5-mm5x"}],"sources":{"cve":[{"id":"CVE-2021-42257","description":"check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only checks for a substring match of a device path (the /dev/bus substring and a number), aka an unanchored regular expression.","status":"published","published":"2021-10-11T00:00:00Z","modified":"2024-08-04T03:30:38.206Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29233","description":"check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only checks for a substring match of a device path (the /dev/bus substring and a number), aka an unanchored regular expression.","status":"published","published":"2021-10-11T00:00:00Z","modified":"2024-08-04T03:30:38Z","updated_at":"2026-11-03T03:24:16.217613Z"}],"ghsa":[{"id":"GHSA-xmf9-f5j5-mm5x","title":"check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only...","description":"check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only checks for a substring match of a device path (the /dev/bus substring and a number), aka an unanchored regular expression.","status":"published","published":"2022-05-24T19:17:08Z","modified":"2023-11-14T00:30:17Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:55:00.635955Z"}],"nvd":[{"id":"CVE-2021-42257","description":"check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only checks for a substring match of a device path (the /dev/bus substring and a number), aka an unanchored regular expression.","status":"published","published":"2021-10-11T20:15:07.373Z","modified":"2026-06-17T04:09:31.39Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:06:59.689345Z"}]}}
