What’s Vulnerable › Vulnerabilities
CVE-2021-42257
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-10-11 · updated 2026-06-17
- Weakness: 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 products
- Check Smart Project Check Smart: before 6.9.1 — fixed in 6.9.1
How to fix
Upgrade to a fixed version: Check Smart Project Check Smart 6.9.1. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2021/10/14/2
- https://bugzilla.suse.com/show_bug.cgi?id=1183057
- https://nvd.nist.gov/vuln/detail/CVE-2021-42257
- https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path
- https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
- http://www.openwall.com/lists/oss-security/2021/10/14/2
- https://bugzilla.suse.com/show_bug.cgi?id=1183057
- https://nvd.nist.gov/vuln/detail/CVE-2021-42257
- https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path
- https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
Get alerted when CVE-2021-42257 or the next vulnerability affects your stack