CVE-2021-42257
7.1 HIGHcheck_smart before 6.9.1 allows unintended drive access by an unprivileged user because it only checks for a substring match of a device ...
Published: 2021-10-11 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 7.1 HIGH
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CWE
- CWE-20
Affected products
| Vendor | Product |
|---|---|
| check_smart_project | check_smart |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-42257
- [Exploit reference]http://www.openwall.com/lists/oss-security/2021/10/14/2
- [Patch]https://bugzilla.suse.com/show_bug.cgi?id=1183057
- [Other]https://nvd.nist.gov/vuln/detail/CVE-2021-42257
- [Other]https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path
- [Other]https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
- [Exploit reference]http://www.openwall.com/lists/oss-security/2021/10/14/2
- [Patch]https://bugzilla.suse.com/show_bug.cgi?id=1183057
- [Other]https://nvd.nist.gov/vuln/detail/CVE-2021-42257
- [Other]https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path
- [Other]https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
Related CVEs
Same CWE
- CVE-2026-12191 — A vulnerability was found in Comma AI Openpilot 0.11 (7.8 HIGH)
- CVE-2026-45013 — ApostropheCMS is an open-source Node.js content management system (8.1 HIGH)
- CVE-2026-54133 — jmespath.php allows users to use JMESPath, software for declaratively specifying how to extract elements from a JSON document, in PHP app... (9.8 CRITICAL)
- CVE-2026-47196 — Quest Bot is an opensource Discord Bot
- CVE-2026-50633 — A JNDI Injection vulnerability has been discovered in Apache CXF's JCA integration module, which can allow for code execution, if an atta... (8.1 HIGH)