CVEvulnerability
CVE-2021-42257
7.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-10-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CVSS 2.0 ([email protected])
- 3.6 LOW — AV:L/AC:L/Au:N/C:N/I:P/A:P
- Weaknesses
- CWE-20
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 configurations
• check smart project check smart (< 6.9.1)
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://www.openwall.com/lists/oss-security/2021/10/14/2 Exploit, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1183057 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-42257 nvd.nist.gov
- 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 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/10/14/2 Exploit, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1183057 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-42257 nvd.nist.gov
- 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 Third Party Advisory