CVE-2021-42257
HIGHcheck_smart < 6.9.1 - Unauthenticated Unintended Drive Access via Unanchored Regular Expression
Title source: llmDescription
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.
References (5)
Core 5
Core References
Exploit, Third Party Advisory mailing-list
http://www.openwall.com/lists/oss-security/2021/10/14/2
Exploit, Issue Tracking, Patch, Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1183057
Third Party Advisory
https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path
Third Party Advisory
https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
Various Sources
https://nvd.nist.gov/vuln/detail/CVE-2021-42257
Scores
CVSS v3
7.1
EPSS
0.0038
EPSS Percentile
29.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Details
CWE
CWE-20
Status
published
Products (1)
check_smart_project/check_smart
< 6.9.1
Published
Oct 11, 2021
Tracked Since
Feb 18, 2026