CVE-2009-4019: Medium severity mysql vulnerability

Published Nov 4, 2009
·
Updated

Multiple denial of service flaws were found in MySQL SQL database server. Quoting from upstream 5.0.88 release notes:

Error handling was missing for SELECT statements containing subqueries in the WHERE clause and that assigned a SELECT result to a user variable. The server could crash as a result. (Bug#48291)

If the first argument to GeomFromWKB() function was a geometry value, the function just returned its value. However, it failed to preserve the argument's nullvalue flag, which caused an unexpected NULL value to be returned to the caller, resulting in a server crash. (Bug#47780)

References: ----------- http://dev.mysql.com/doc/refman/5.0/en/news-5-0-88.html (there are more DoS issues mentioned in the release notes, but this CVE was assigned to these two)

http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html http://bugs.mysql.com/47780 http://bugs.mysql.com/48291

Upstream patches: ----------------- For Bug #48291 crash with row() operator,select into @var, and subquery returning multiple rows: http://lists.mysql.com/commits/88409 http://lists.mysql.com/commits/88741

For Bug #47780: crash when comparing GIS items from subquery: http://lists.mysql.com/commits/87591 http://lists.mysql.com/commits/88069

Other sources

mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT statements with subqueries, and does not (2) preserve certain nullvalue flags during execution of statements that use the GeomFromWKB function, which allows remote authenticated users to cause a denial of service (daemon crash) via a crafted statement.

Red Hat

Affected Software

82 affected componentsFixes available
redhat/mysql<0:5.0.77-4.el5_4.2
0:5.0.77-4.el5_4.2
MySQL mysql=5.0.0
MySQL mysql=5.0.1
MySQL mysql=5.0.2
MySQL mysql=5.0.3
MySQL mysql=5.0.4
MySQL mysql=5.0.5
MySQL mysql=5.0.5.0.21
MySQL mysql=5.0.10
MySQL mysql=5.0.15
MySQL mysql=5.0.16
MySQL mysql=5.0.17
MySQL mysql=5.0.20
MySQL mysql=5.0.22.1.0.1
MySQL mysql=5.0.24
MySQL mysql=5.0.30
MySQL mysql=5.0.36
MySQL mysql=5.0.44
MySQL mysql=5.0.54
MySQL mysql=5.0.56
MySQL mysql=5.0.60
MySQL mysql=5.0.66
MySQL mysql=5.0.82
MySQL mysql=5.1.5
MySQL mysql=5.1.23
MySQL mysql=5.1.32
Oracle MySQL=5.0.0-alpha
Oracle MySQL=5.0.3-beta
Oracle MySQL=5.0.6
Oracle MySQL=5.0.7
Oracle MySQL=5.0.8
Oracle MySQL=5.0.11
Oracle MySQL=5.0.12
Oracle MySQL=5.0.13
Oracle MySQL=5.0.14
Oracle MySQL=5.0.18
Oracle MySQL=5.0.19
Oracle MySQL=5.0.21
Oracle MySQL=5.0.22
Oracle MySQL=5.0.23
Oracle MySQL=5.0.25
Oracle MySQL=5.0.26
Oracle MySQL=5.0.27
Oracle MySQL=5.0.30-sp1
Oracle MySQL=5.0.32
Oracle MySQL=5.0.33
Oracle MySQL=5.0.37
Oracle MySQL=5.0.38
Oracle MySQL=5.0.41
Oracle MySQL=5.0.42
Oracle MySQL=5.0.45
Oracle MySQL=5.0.50
Oracle MySQL=5.0.51
Oracle MySQL=5.0.51a
Oracle MySQL=5.0.52
Oracle MySQL=5.0.75
Oracle MySQL=5.0.77
Oracle MySQL=5.0.81
Oracle MySQL=5.0.83
Oracle MySQL=5.1
Oracle MySQL=5.1.1
Oracle MySQL=5.1.2
Oracle MySQL=5.1.3
Oracle MySQL=5.1.4
Oracle MySQL=5.1.6
Oracle MySQL=5.1.7
Oracle MySQL=5.1.8
Oracle MySQL=5.1.9
Oracle MySQL=5.1.10
Oracle MySQL=5.1.11
Oracle MySQL=5.1.12
Oracle MySQL=5.1.13
Oracle MySQL=5.1.14
Oracle MySQL=5.1.15
Oracle MySQL=5.1.16
Oracle MySQL=5.1.17
Oracle MySQL=5.1.18
Oracle MySQL=5.1.19
Oracle MySQL=5.1.20
Oracle MySQL=5.1.21
Oracle MySQL=5.1.22
Oracle MySQL=5.1.30

Event History

Nov 4, 2009
CVE Published
via Red Hat·12:00 AM
Nov 24, 2009
Data Sourced
via Red Hat·01:55 PM
DescriptionSeverityAffected Software
Nov 30, 2009
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2009-4019?

CVE-2009-4019 has a severity rating classified as high due to its potential impact on remote authentication.

2

How do I fix CVE-2009-4019?

To fix CVE-2009-4019, upgrade your MySQL server to version 5.0.88, 5.1.41 or higher.

3

Which MySQL versions are affected by CVE-2009-4019?

CVE-2009-4019 affects MySQL versions prior to 5.0.88 and 5.1.41.

4

What are the risks associated with CVE-2009-4019?

The risks associated with CVE-2009-4019 include possible remote code execution and unauthorized access to sensitive data.

5

Is there a workaround for CVE-2009-4019 if I can't upgrade MySQL?

There are no reliable workarounds for CVE-2009-4019, so upgrading is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203