Vulnerability Name:

CVE-2005-2558 (CCN-21737)

Assigned:2005-08-08
Published:2005-08-08
Updated:2019-12-17
Summary:Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
CVSS v3 Severity:5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
3.4 Low (Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
3.4 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: SCO
Type: UNKNOWN
SCOSA-2006.18

Source: CCN
Type: BugTraq Mailing List, Mon Aug 08 2005 - 17:38:02 CDT
Buffer Overflow in MySQL User Defined Functions

Source: CCN
Type: Full-Disclosure Mailing List, Mon Aug 08 2005 - 17:38:02 CDT
[AppSecInc Advisory MYSQL05-V0002] Buffer Overflow in MySQL User Defined Functions

Source: MITRE
Type: CNA
CVE-2005-2558

Source: FULLDISC
Type: Patch, Vendor Advisory
20050808 [AppSecInc Advisory MYSQL05-V0002] Buffer Overflow in MySQL User Defined Functions

Source: BUGTRAQ
Type: UNKNOWN
20050808 [AppSecInc Advisory MYSQL05-V0002] Buffer Overflow in MySQL User Defined Functions

Source: SECUNIA
Type: UNKNOWN
17027

Source: SECUNIA
Type: UNKNOWN
20381

Source: CCN
Type: SA29847
Sun Solaris MySQL Multiple Vulnerabilities

Source: SECUNIA
Type: UNKNOWN
29847

Source: SUNALERT
Type: UNKNOWN
236703

Source: CCN
Type: Sun Alert ID: 236703
Multiple Security Vulnerabilities May Affect MySQL 4.0.x Bundled With Solaris 10

Source: CCN
Type: ASA-2006-083
UnixWare MySQL User-Defined Function Buffer Overflow Vulnerability (SCOSA-2006.18)

Source: CCN
Type: ASA-2006-111
UnixWare MySQL User-Defined Function Buffer Overflow Vulnerability (SCOSA-2006.25)

Source: CCN
Type: ASA-2008-187
Multiple Security Vulnerabilities May Affect MySQL 4.0.x Bundled With Solaris 10 (Sun 236703)

Source: CCN
Type: SHATTER Team Security Alert
MySQL: Buffer Overflow in User Defined Functions

Source: MISC
Type: Patch, Vendor Advisory
http://www.appsecinc.com/resources/alerts/mysql/2005-002.html

Source: DEBIAN
Type: UNKNOWN
DSA-829

Source: DEBIAN
Type: UNKNOWN
DSA-831

Source: DEBIAN
Type: UNKNOWN
DSA-833

Source: DEBIAN
Type: DSA-829
mysql -- buffer overflow

Source: DEBIAN
Type: DSA-831
mysql-dfsg -- buffer overflow

Source: DEBIAN
Type: DSA-833
mysql-dfsg-4.1 -- buffer overflow

Source: MANDRIVA
Type: UNKNOWN
MDKSA-2005:163

Source: CCN
Type: MySQL Web site
MySQL- The world's most popular open source database

Source: SUSE
Type: UNKNOWN
SUSE-SR:2005:021

Source: CCN
Type: OpenPKG-SA-2005.024
MySQL

Source: CCN
Type: OSVDB ID: 18896
MySQL User-Defined Function init_syms() Function Overflow

Source: FEDORA
Type: UNKNOWN
FLSA-2006:167803

Source: BID
Type: Patch
14509

Source: CCN
Type: BID-14509
MySQL User-Defined Function Buffer Overflow Vulnerability

Source: CCN
Type: TLSA-2006-11
Multiple vulnerabilities exist in MySQL

Source: CCN
Type: USN-180-1
MySQL vulnerability

Source: CCN
Type: USN-180-2
MySQL 4.1 vulnerability

Source: VUPEN
Type: UNKNOWN
ADV-2008-1326

Source: XF
Type: UNKNOWN
mysql-user-defined-function-bo(21737)

Source: XF
Type: UNKNOWN
mysql-user-defined-function-bo(21737)

Source: SUSE
Type: SUSE-SR:2005:021
SUSE Security Summary Report

Source: UBUNTU
Type: UNKNOWN
USN-180-1

Source: UBUNTU
Type: UNKNOWN
USN-180-2

Vulnerable Configuration:Configuration 1:
  • cpe:/a:oracle:mysql:4.1.0:-:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.3:-:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.10:-:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:5.0.1:-:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:5.0.2:-:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:5.0.3:-:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:5.0.4:-:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.5a:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.7:gamma:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.8:gamma:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.9:gamma:*:*:*:*:*:*
  • 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.18:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.20:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.21:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.0.24:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.0:alpha:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.2:alpha:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.3:beta:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:oracle:mysql:4.0.25:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:mysql:4.1.13:-:*:*:*:*:*:*
  • AND
  • cpe:/o:debian:debian_linux:3.0:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:current:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:10.1:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:3.0:*:*:*:*:*:*:*
  • OR cpe:/o:sun:solaris:10::64bit:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:3.1:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:2.5:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:10.1::x86-64:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:3.0::x86_64:*:*:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:fuji:*:*:*:*:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:*:*:personal:*:*:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:*:*:home:*:*:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:*:*:multimedia:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20052558
    V
    CVE-2005-2558
    2015-11-16
    oval:org.debian:def:833
    V
    buffer overflow
    2013-01-21
    oval:org.debian:def:829
    V
    buffer overflow
    2005-09-30
    oval:org.debian:def:831
    V
    buffer overflow
    2005-09-30
    BACK
    mysql mysql 4.1.0
    mysql mysql 4.1.3
    mysql mysql 4.1.10
    mysql mysql 5.0.1
    mysql mysql 5.0.2
    mysql mysql 5.0.3
    mysql mysql 5.0.4
    oracle mysql 4.0.0
    oracle mysql 4.0.1
    oracle mysql 4.0.2
    oracle mysql 4.0.3
    oracle mysql 4.0.4
    oracle mysql 4.0.5
    oracle mysql 4.0.5a
    oracle mysql 4.0.6
    oracle mysql 4.0.7
    oracle mysql 4.0.7 gamma
    oracle mysql 4.0.8
    oracle mysql 4.0.8 gamma
    oracle mysql 4.0.9
    oracle mysql 4.0.9 gamma
    oracle mysql 4.0.10
    oracle mysql 4.0.11
    oracle mysql 4.0.11 gamma
    oracle mysql 4.0.12
    oracle mysql 4.0.13
    oracle mysql 4.0.14
    oracle mysql 4.0.15
    oracle mysql 4.0.18
    oracle mysql 4.0.20
    oracle mysql 4.0.21
    oracle mysql 4.0.24
    oracle mysql 4.1.0 alpha
    oracle mysql 4.1.2 alpha
    oracle mysql 4.1.3 beta
    oracle mysql 4.1.4
    oracle mysql 4.1.5
    oracle mysql 5.0.0 alpha
    mysql mysql 4.0.25
    mysql mysql 4.1.13
    debian debian linux 3.0
    openpkg openpkg current
    mandrakesoft mandrake linux 10.1
    mandrakesoft mandrake linux corporate server 3.0
    sun solaris 10
    debian debian linux 3.1
    openpkg openpkg 2.5
    mandrakesoft mandrake linux 10.1
    mandrakesoft mandrake linux corporate server 3.0
    turbolinux turbolinux fuji
    turbolinux turbolinux personal *
    turbolinux turbolinux home *
    turbolinux turbolinux multimedia *