VulnerabilityModified
CVE-2021-42257
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.
HIGH 7.1EPSS 0.39%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.1 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- EPSS
- 0.39% probability · 32th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- check smart project/check smart
- Source
- cve@mitre.org
References
- http://www.openwall.com/lists/oss-security/2021/10/14/2Exploit, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1183057Exploit, Issue Tracking, Patch, Third Party Advisory
- 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-pathThird Party Advisory
- https://www.claudiokuenzler.com/monitoring-plugins/check_smart.phpThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/10/14/2Exploit, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1183057Exploit, Issue Tracking, Patch, Third Party Advisory
- 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-pathThird Party Advisory
- https://www.claudiokuenzler.com/monitoring-plugins/check_smart.phpThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.