{
    "id": "CVE-2006-4227",
    "published": "2006-08-18 20:04:00",
    "last_modified": "2026-06-16 22:28:40",
    "cvss_score": "6.5",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
    "cwe": "CWE-20",
    "description": "MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of the routine's caller, which allows remote authenticated users to gain privileges through a routine that has been made available using GRANT EXECUTE.",
    "epss_score": "0.13570",
    "epss_percentile": "0.96332",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-27 18:17:05",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "mysql",
            "product": "mysql"
        },
        {
            "vendor": "oracle",
            "product": "mysql"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "28398",
            "title": "MySQL 4/5 - SUID Routine Miscalculation Arbitrary DML Statement Execution",
            "date": "2006-08-17",
            "url": "https://www.exploit-db.com/exploits/28398"
        }
    ],
    "refs_list": [
        "http://bugs.mysql.com/bug.php?id=18630",
        "http://dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html",
        "http://lists.mysql.com/commits/7918",
        "http://secunia.com/advisories/21506",
        "http://secunia.com/advisories/21770",
        "http://secunia.com/advisories/22080",
        "http://secunia.com/advisories/30351",
        "http://securitytracker.com/id?1016709",
        "http://www.novell.com/linux/security/advisories/2006_23_sr.html",
        "http://www.redhat.com/support/errata/RHSA-2007-0083.html",
        "http://www.redhat.com/support/errata/RHSA-2008-0364.html",
        "http://www.securityfocus.com/bid/19559",
        "http://www.ubuntu.com/usn/usn-338-1",
        "http://www.vupen.com/english/advisories/2006/3306",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/28442",
        "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10105",
        "http://bugs.mysql.com/bug.php?id=18630",
        "http://dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html",
        "http://lists.mysql.com/commits/7918",
        "http://secunia.com/advisories/21506",
        "http://secunia.com/advisories/21770",
        "http://secunia.com/advisories/22080",
        "http://secunia.com/advisories/30351",
        "http://securitytracker.com/id?1016709",
        "http://www.novell.com/linux/security/advisories/2006_23_sr.html"
    ]
}