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.
References
Link | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2021/10/14/2 | Exploit Third Party Advisory |
https://bugzilla.suse.com/show_bug.cgi?id=1183057 | Exploit 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-path | Third Party Advisory |
https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php | Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-10-11T00:00:00
Updated: 2023-11-13T23:19:20.188844
Reserved: 2021-10-11T00:00:00
Link: CVE-2021-42257
JSON object: View
NVD Information
Status : Modified
Published: 2021-10-11T20:15:07.373
Modified: 2023-11-14T00:15:07.430
Link: CVE-2021-42257
JSON object: View
Redhat Information
No data.
CWE