CVE-2021-42257
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- [oss-security] 20211014 CVE-2021-42257: check_smart.pl: unprivileged user can alter hard drive settings 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
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0f1d05201f620b13aa6274cb7f4b4ffde6051691368f02cc5dd262618161aceb
- Ingested
- 23 Sep 2026, 07:56:21 UTC
- Source record
- Official CVE record