{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-42257",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php",
                "refsource": "MISC",
                "name": "https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php"
            },
            {
                "url": "https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path",
                "refsource": "MISC",
                "name": "https://www.claudiokuenzler.com/blog/1068/check_smart-6.9.1-security-fix-release-pseudo-device-path"
            },
            {
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1183057",
                "refsource": "MISC",
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1183057"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20211014 CVE-2021-42257: check_smart.pl: unprivileged user can alter hard drive settings",
                "url": "http://www.openwall.com/lists/oss-security/2021/10/14/2"
            },
            {
                "refsource": "MISC",
                "name": "https://nvd.nist.gov/vuln/detail/CVE-2021-42257",
                "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42257"
            }
        ]
    }
}