CVE-2004-0836

Buffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows remote DNS servers to cause a denial of service…

published October 16, 2004

CVSS
—
EPSS
10%
Percentile
95.5
In the wild
Unconfirmed
What it is

⚠️ A buffer overflow lurks in MySQL versions 3.x and 4.x that could let crafty DNS responses take control! Think of it like a restaurant that accepts any order without verifying the ingredients — a single oversized order could overwhelm the kitchen and lead to chaos! If a remote DNS server sends a response with an excessively large address length, it could cause a denial of service, potentially crashing the MySQL service or even worse, allowing arbitrary code execution! Imagine a rogue chef suddenly taking over your kitchen without a reservation.

Put simply

Think of it like a restaurant that accepts any order without verifying the ingredients — a single oversized order could overwhelm the kitchen and lead to chaos! The vulnerability in the mysql_real_connect function allows a specially crafted DNS response to overflow the buffer, due to improper handling of input size. This means an attacker could exploit this flaw to disrupt services or execute malicious code.

What to do

If a remote DNS server sends a response with an excessively large address length, it could cause a denial of service, potentially crashing the MySQL service or even worse, allowing arbitrary code execution! Imagine a rogue chef suddenly taking over your kitchen without a reservation. Upgrade MySQL to version 4.0.21 or higher for 4.x users, and 3.23.49 or higher for 3.x users. Regularly monitor your systems for any unusual DNS traffic as an extra precaution! You've got this! With these updates, you'll keep your database safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.09801 · 95.5th percentile
Published
2004-10-16T04:00Z
EPSS history
Timeline
  • 16 OCT 04:00Z
    Buffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows remote DNS servers to cause a denial of service…
    cvelistv5