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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:check_smart_project:check_smart:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:27

Type Values Removed Values Added
References () http://www.openwall.com/lists/oss-security/2021/10/14/2 - Exploit, Third Party Advisory () http://www.openwall.com/lists/oss-security/2021/10/14/2 - Exploit, Third Party Advisory
References () https://bugzilla.suse.com/show_bug.cgi?id=1183057 - Exploit, Issue Tracking, Patch, Third Party Advisory () https://bugzilla.suse.com/show_bug.cgi?id=1183057 - Exploit, Issue Tracking, Patch, Third Party Advisory
References () https://nvd.nist.gov/vuln/detail/CVE-2021-42257 - () https://nvd.nist.gov/vuln/detail/CVE-2021-42257 -
References () https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path - Third Party Advisory () https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path - Third Party Advisory
References () https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php - Third Party Advisory () https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php - Third Party Advisory

14 Nov 2023, 00:15

Type Values Removed Values Added
References
  • () https://nvd.nist.gov/vuln/detail/CVE-2021-42257 -

Information

Published : 2021-10-11 20:15

Updated : 2024-11-21 06:27


NVD link : CVE-2021-42257

Mitre link : CVE-2021-42257

CVE.ORG link : CVE-2021-42257


JSON object : View

Products Affected

check_smart_project

  • check_smart
CWE
CWE-20

Improper Input Validation