CVE-2009-4028 json
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…
published 2009-11-30 16 y ago modified 2026-06-16 4 mo ago also EUVD-2009-3999
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- mysql RHEL 5 5.0.77-4.el5_4.2
- mysql-test RHEL 5 5.0.77-4.el5_4.2
- mysql-bench RHEL 5 5.0.77-4.el5_4.2
- mysql-server RHEL 5 5.0.77-4.el5_4.2
red hat advisories RHSA-2010:0109
- mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
- lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
- python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
- mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
- mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10
- python-mysqlclient SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.4.6-150100.3.3.7
suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1
- mariadb openSUSE Tumbleweed 10.0.22-3.8
opensuse advisories openSUSE-SU-2024:10153-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-4028 updated cvss 2.9
mysql: client SSL certificate verification flaw
-
Red Hat Enterprise Linux (v. 5 server) mysql 5.0.77-4.el5_4.2, mysql-test 5.0.77-4.el5_4.2, mysql-bench 5.0.77-4.el5_4.2, mysql-server 5.0.77-4.el5_4.2 Red Hat Enterprise Linux Desktop (v. 5 client) mysql 5.0.77-4.el5_4.2, mysql-test 5.0.77-4.el5_4.2, mysql-bench 5.0.77-4.el5_4.2, mysql-server 5.0.77-4.el5_4.2 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) mysql 5.0.77-4.el5_4.2, mysql-test 5.0.77-4.el5_4.2, mysql-bench 5.0.77-4.el5_4.2, mysql-server 5.0.77-4.el5_4.2fixed: vendor fix RHSA-2010:0109
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.77% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- lists.mysql.com http://lists.mysql.com/commits/87446 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
lists.mysql.com
/commits/87446
mailing-list, exploit
-
redhat.com
/support/errata/RHSA-2010-0109.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-05/msg00001.html
vendor-advisory
-
vupen.com
/english/advisories/2010/1107
vdb-entry, vendor-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8510
vdb-entry, signature
-
openwall.com
/lists/oss-security/2009/11/19/3
mailing-list
- dev.mysql.com /doc/refman/5.1/en/news-5-1-41.html
- dev.mysql.com /doc/refman/5.0/en/news-5-0-88.html
-
marc.info
/?l=oss-security&m=125881733826437&w=2
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10940
vdb-entry, signature
- bugs.mysql.com /47320
-
openwall.com
/lists/oss-security/2009/11/23/16
mailing-list
Sources
- CVE List CVE-2009-4028
- NVD CVE-2009-4028
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.