CVE-2009-4028: Input Validation
The vioverifycallback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2009-4028?
CVE-2009-4028 is classified as a high-severity vulnerability due to the potential for man-in-the-middle attacks.
How do I fix CVE-2009-4028?
To fix CVE-2009-4028, upgrade to MySQL version 5.0.88 or later, or 5.1.41 or later.
What impact does CVE-2009-4028 have on MySQL servers?
CVE-2009-4028 allows attackers to spoof arbitrary SSL-based MySQL servers.
Which versions of MySQL are affected by CVE-2009-4028?
CVE-2009-4028 affects MySQL versions prior to 5.0.88 and 5.1.41.
Is there a workaround for CVE-2009-4028?
A recommended workaround is to avoid using OpenSSL in affected MySQL versions until an upgrade can be performed.