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.
https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path
https://nvd.nist.gov/vuln/detail/CVE-2021-42257
https://bugzilla.suse.com/show_bug.cgi?id=1183057
http://www.openwall.com/lists/oss-security/2021/10/14/2
Source: Mitre, NVD
Published: 2021-10-11
Updated: 2026-06-17
Base Score: 3.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:P
Severity: Low
Base Score: 7.1
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Severity: High
EPSS: 0.00124