CVE-2021-42257
check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
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.
- Record
CVE-2021-42257- CVSS 3.1
- 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
- 3.6 Low
AV:L/AC:L/Au:N/C:N/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-42257- Updated
- 2026-11-02
EUVDEUVD-2021-29233 No score
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.
- Record
EUVD-2021-29233- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xmf9-f5j5-mm5x
7.1
check_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only...
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.
- Record
GHSA-xmf9-f5j5-mm5x- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-42257 is a high vulnerability (CVSS 7.1) in Check Smart Project Smart, published October 11, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. No source names a fixed version.
References
claudiokuenzler.com/monitoring-plugins/check_smart.php
claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path
bugzilla.suse.com/show_bug.cgi?id=1183057
openwall.com/lists/oss-security/2021/10/14/2
nvd.nist.gov/vuln/detail/CVE-2021-42257
github.com/advisories/GHSA-xmf9-f5j5-mm5x