CVE-2009-4028
Description
The vio_verify_callback 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.
How to fix
Sources list no fixed version or patch link for this vulnerability.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mysql mysql | v ≤ 5.0.87, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.5.0.21, 5.0.10, 5.0.15, 5.0.16, 5.0.17, 5.0.20, 5.0.22.1.0.1, 5.0.24, 5.0.30, 5.0.36, 5.0.44, 5.0.54, 5.0.56, 5.0.60, 5.0.66, 5.0.82, 5.0.84, 5.1.5, 5.1.23, 5.1.31, 5.1.32, 5.1.34, 5.1.37 | — |
| oracle mysql | 5.0.0, 5.0.3, 5.0.6, 5.0.7, 5.0.8, 5.0.11, 5.0.12, 5.0.13, 5.0.14, 5.0.18, 5.0.19, 5.0.21, 5.0.22, 5.0.23, 5.0.25, 5.0.26, 5.0.27, 5.0.30, 5.0.32, 5.0.33, 5.0.37, 5.0.38, 5.0.41, 5.0.42, 5.0.45, 5.0.50, 5.0.51, 5.0.52, 5.0.75, 5.0.77, 5.0.81, 5.0.83, 5.0.85, 5.0.86, 5.1, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.6, 5.1.7, 5.1.8, 5.1.9, 5.1.10, 5.1.11, 5.1.12, 5.1.13, 5.1.14, 5.1.15, 5.1.16, 5.1.17, 5.1.18, 5.1.19, 5.1.20, 5.1.21, 5.1.22, 5.1.23, 5.1.24, 5.1.25, 5.1.26, 5.1.27, 5.1.28, 5.1.29, 5.1.30, 5.1.31, 5.1.33, 5.1.34, 5.1.35, 5.1.36, 5.1.37, 5.1.38, 5.1.39, 5.1.40 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.