Vulnerability Name:

CVE-2004-0836 (CCN-17047)

Assigned:2004-08-20
Published:2004-08-20
Updated:2019-12-17
Summary: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 and possibly execute arbitrary code via a DNS response with a large address length (h_length).
CVSS v3 Severity:10.0 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:10.0 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: CCN
Type: MySQL Bugs, Bug #4017
mysql_real_connect buffer overflow

Source: MISC
Type: Exploit, Vendor Advisory
http://bugs.mysql.com/bug.php?id=4017

Source: MITRE
Type: CNA
CVE-2004-0836

Source: CONECTIVA
Type: Broken Link
CLA-2004:892

Source: CCN
Type: Conectiva Linux Security Announcement CLSA-2004:892
Fixes for several mysql vulnerabilities

Source: MISC
Type: Vendor Advisory
http://lists.mysql.com/internals/14726

Source: BUGTRAQ
Type: Mailing List, Third Party Advisory
20041125 [USN-32-1] mysql vulnerabilities

Source: CCN
Type: RHSA-2004-597
mysql security update

Source: CCN
Type: RHSA-2004-611
mysql-server security update

Source: CCN
Type: SA12305
MySQL "mysql_real_connect()" Function Buffer Overflow Vulnerability

Source: SECUNIA
Type: Third Party Advisory
12305

Source: CCN
Type: CIAC Information Bulletin P-018
Red Hat Update MySQL Packages Fix Security Issues and Bugs

Source: CIAC
Type: Broken Link
P-018

Source: DEBIAN
Type: Third Party Advisory
DSA-562

Source: DEBIAN
Type: DSA-562
mysql -- several vulnerabilities

Source: CCN
Type: GLSA-200410-22
MySQL: Multiple vulnerabilities

Source: GENTOO
Type: Third Party Advisory
GLSA-200410-22

Source: CCN
Type: Fedora Update Notification FEDORA-2004-530
Fedora: mysql-3.23.58-9.1 update

Source: CCN
Type: OpenPKG-SA-2004.045
MySQL

Source: REDHAT
Type: Patch, Vendor Advisory
RHSA-2004:597

Source: REDHAT
Type: Patch, Vendor Advisory
RHSA-2004:611

Source: BID
Type: Third Party Advisory, VDB Entry
10981

Source: CCN
Type: BID-10981
MySQL Mysql_real_connect Function Potential Remote Buffer Overflow Vulnerability

Source: CCN
Type: Trustix Secure Linux Security Advisory #2004-0054
Multiple security vulnerabilities

Source: TRUSTIX
Type: Vendor Advisory
2004-0054

Source: CCN
Type: TLSA-2005-23
Multiple vulnerabilities have been discovered in MySQL

Source: CCN
Type: USN-32-1
mysql vulnerabilities

Source: XF
Type: Third Party Advisory, VDB Entry
mysql-realconnect-bo(17047)

Source: XF
Type: UNKNOWN
mysql-realconnect-bo(17047)

Source: SUSE
Type: SUSE-SR:2004:001
SUSE Security Summary Report

Vulnerable Configuration:Configuration 1:
  • cpe:/a:oracle:mysql:*:*:*:*:*:*:*:* (Version >= 3.20 and < 3.23.49)
  • OR cpe:/a:oracle:mysql:*:*:*:*:*:*:*:* (Version >= 4.0.0 and < 4.0.21)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:3.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:oracle:mysql:3.22.29:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.22.27:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.20:beta:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.49:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.18:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.20:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.17:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.20:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.20.32a:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.21:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.22:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.22.26:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.22.28:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.22.30:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.22.32:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.0:alpha:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.1:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.10:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.11:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.12:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.13:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.14:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.15:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.16:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.17:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.18:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.19:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.2:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.20:beta:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.21:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.22:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.23:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.24:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.25:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.26:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.27:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.28:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.28:gamma:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.29:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.3:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.30:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.31:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.32:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.33:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.34:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.35:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.36:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.37:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.38:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.39:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.4:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.40:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.41:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.42:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.43:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.44:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.45:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.46:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.47:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:3.23.48:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.10:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.11:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.11:gamma:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.12:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.13:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.14:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.15:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.16:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.19:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.2:*:*:*:*:*:*:*
  • AND
  • cpe:/o:trustix:secure_linux:1.5:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:3.0:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:current:*:*:*:*:*:*:*
  • OR cpe:/o:gentoo:linux:*:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:2.1:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:2.1:*:as:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:2.1:*:es:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:2.1:*:ws:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:2.1:*:aw:*:*:*:*:*
  • OR cpe:/o:trustix:secure_linux:2.0:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:9.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::ws:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::es:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::as:*:*:*:*:*
  • OR cpe:/o:trustix:secure_linux:2.1:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::desktop:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora_core:2:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:2.1:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:2.2:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:10.1:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:linux_advanced_workstation:2.1::itanium:*:*:*:*:*
  • OR cpe:/a:redhat:rhel_extras:3:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:10.1::x86-64:*:*:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:*:*:home:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:9.2::amd64:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:10.0::amd64:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:2.1::x86_64:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20040836
    V
    CVE-2004-0836
    2015-11-16
    oval:org.debian:def:562
    V
    several vulnerabilities
    2004-10-11
    BACK
    oracle mysql *
    oracle mysql *
    debian debian linux 3.0
    mysql mysql 3.22.29
    mysql mysql 3.22.27
    mysql mysql 3.23.20 beta
    mysql mysql 3.23.49
    mysql mysql 3.23
    mysql mysql 4.0.18
    mysql mysql 4.0.20
    mysql mysql 4.0.17
    mysql mysql 3.20
    mysql mysql 3.20.32a
    mysql mysql 3.21
    mysql mysql 3.22
    mysql mysql 3.22.26
    mysql mysql 3.22.28
    mysql mysql 3.22.30
    mysql mysql 3.22.32
    mysql mysql 3.23.0 alpha
    mysql mysql 3.23.1
    mysql mysql 3.23.10
    mysql mysql 3.23.11
    mysql mysql 3.23.12
    mysql mysql 3.23.13
    mysql mysql 3.23.14
    mysql mysql 3.23.15
    mysql mysql 3.23.16
    mysql mysql 3.23.17
    mysql mysql 3.23.18
    mysql mysql 3.23.19
    mysql mysql 3.23.2
    mysql mysql 3.23.20 beta
    mysql mysql 3.23.21
    mysql mysql 3.23.22
    mysql mysql 3.23.23
    mysql mysql 3.23.24
    mysql mysql 3.23.25
    mysql mysql 3.23.26
    mysql mysql 3.23.27
    mysql mysql 3.23.28
    mysql mysql 3.23.28 gamma
    mysql mysql 3.23.29
    mysql mysql 3.23.3
    mysql mysql 3.23.30
    mysql mysql 3.23.31
    mysql mysql 3.23.32
    mysql mysql 3.23.33
    mysql mysql 3.23.34
    mysql mysql 3.23.35
    mysql mysql 3.23.36
    mysql mysql 3.23.37
    mysql mysql 3.23.38
    mysql mysql 3.23.39
    mysql mysql 3.23.4
    mysql mysql 3.23.40
    mysql mysql 3.23.41
    mysql mysql 3.23.42
    mysql mysql 3.23.43
    mysql mysql 3.23.44
    mysql mysql 3.23.45
    mysql mysql 3.23.46
    mysql mysql 3.23.47
    mysql mysql 3.23.48
    mysql mysql 4.0.0
    mysql mysql 4.0.1
    mysql mysql 4.0.10
    mysql mysql 4.0.11
    mysql mysql 4.0.11 gamma
    mysql mysql 4.0.12
    mysql mysql 4.0.13
    mysql mysql 4.0.14
    mysql mysql 4.0.15
    mysql mysql 4.0.16
    mysql mysql 4.0.19
    mysql mysql 4.0.2
    trustix secure linux 1.5
    debian debian linux 3.0
    openpkg openpkg current
    gentoo linux *
    mandrakesoft mandrake linux corporate server 2.1
    redhat enterprise linux 2.1
    redhat enterprise linux 2.1
    redhat enterprise linux 2.1
    redhat enterprise linux 2.1
    trustix secure linux 2.0
    mandrakesoft mandrake linux 9.2
    redhat enterprise linux 3
    redhat enterprise linux 3
    redhat enterprise linux 3
    trustix secure linux 2.1
    mandrakesoft mandrake linux 10.0
    redhat enterprise linux 3
    fedoraproject fedora core 2
    openpkg openpkg 2.1
    openpkg openpkg 2.2
    mandrakesoft mandrake linux 10.1
    redhat linux advanced workstation 2.1
    redhat rhel extras 3
    mandrakesoft mandrake linux 10.1
    turbolinux turbolinux home *
    mandrakesoft mandrake linux 9.2
    mandrakesoft mandrake linux 10.0
    mandrakesoft mandrake linux corporate server 2.1