7.1high
checksmart before 6.9.1 allows unintended drive access by an unprivileged user because it only checks for a substring match of a device pat…
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| check_smart_project check_smart | before 6.9.1 | NVD |
All scores
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 3.6low CVSS:2.0 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
check_smart versiones anteriores a 6.9.1, permite un acceso involuntario a unidades de disco por parte de un usuario sin privilegios porque sólo comprueba la coincidencia de una subcadena de una ruta de dispositivo (la subcadena /dev/bus y un número), también se conoce como una expresión regular no anclada
References
| https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php | third-party-advisory | |
| https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path | third-party-advisory | |
| https://bugzilla.suse.com/show_bug.cgi?id=1183057 | exploit, issue-tracking, patch, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2021/10/14/2 | exploit, mailing-list, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-42257 | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42257 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-42257 changed 2026-06-17 | Public domain |