CVE-2004-0836
CVSS10.0
发布时间 :2004-11-03 00:00:00
修订时间 :2016-10-17 22:49:22
NMCOPS    

[原文]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).


[CNNVD]MySQL mysql_real_connect()远程缓冲区溢出漏洞(CNNVD-200411-025)

        
        MySQL是一款开放源代码关系型数据库系统。
        MySQL包含的mysql_real_connect()存在一个问题,远程攻击者可以利用这个漏洞通过控制DNS来触发缓冲区溢出,精心构建提交数据可能以进程权限在系统上执行任意指令。
        Lukasz Wojtow报告MySQL当执行反向DNS查询时,没有充分验证经过DNS服务器提供的用户输入长度,就把主机地址填充到'sock_addr.sin_addr'缓冲区中,可导致发生缓冲区溢出。远程攻击者可以控制DNS或者伪造DNS服务器,来提供特殊的返回值,而可能以进程权限在系统上执行任意指令。
        

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: NETWORK [攻击者不需要获取内网访问权或本地访问权]
身份认证: NONE [漏洞利用无需身份认证]

- CWE (弱点类目)

CWE-119 [内存缓冲区边界内操作的限制不恰当]

- CPE (受影响的平台与产品)

cpe:/a:mysql:mysql:3.23.49MySQL MySQL 3.23.49
cpe:/a:mysql:mysql:4.0.21MySQL MySQL 4.0.21

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0836
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2004-0836
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200411-025
(官方数据源) CNNVD

- 其它链接及资源

http://bugs.mysql.com/bug.php?id=4017
(UNKNOWN)  MISC  http://bugs.mysql.com/bug.php?id=4017
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000892
(UNKNOWN)  CONECTIVA  CLA-2004:892
http://lists.mysql.com/internals/14726
(UNKNOWN)  MISC  http://lists.mysql.com/internals/14726
http://marc.info/?l=bugtraq&m=110140517515735&w=2
(UNKNOWN)  BUGTRAQ  20041125 [USN-32-1] mysql vulnerabilities
http://www.ciac.org/ciac/bulletins/p-018.shtml
(UNKNOWN)  CIAC  P-018
http://www.debian.org/security/2004/dsa-562
(PATCH)  DEBIAN  DSA-562
http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml
(UNKNOWN)  GENTOO  GLSA-200410-22
http://www.redhat.com/support/errata/RHSA-2004-597.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2004:597
http://www.redhat.com/support/errata/RHSA-2004-611.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2004:611
http://www.securityfocus.com/bid/10981
(UNKNOWN)  BID  10981
http://www.trustix.org/errata/2004/0054/
(VENDOR_ADVISORY)  TRUSTIX  2004-0054
http://xforce.iss.net/xforce/xfdb/17047
(VENDOR_ADVISORY)  XF  mysql-realconnect-bo(17047)

- 漏洞信息

MySQL mysql_real_connect()远程缓冲区溢出漏洞
危急 边界条件错误
2004-11-03 00:00:00 2005-10-20 00:00:00
远程  
        
        MySQL是一款开放源代码关系型数据库系统。
        MySQL包含的mysql_real_connect()存在一个问题,远程攻击者可以利用这个漏洞通过控制DNS来触发缓冲区溢出,精心构建提交数据可能以进程权限在系统上执行任意指令。
        Lukasz Wojtow报告MySQL当执行反向DNS查询时,没有充分验证经过DNS服务器提供的用户输入长度,就把主机地址填充到'sock_addr.sin_addr'缓冲区中,可导致发生缓冲区溢出。远程攻击者可以控制DNS或者伪造DNS服务器,来提供特殊的返回值,而可能以进程权限在系统上执行任意指令。
        

- 公告与补丁

        厂商补丁:
        MySQL AB
        --------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://www.mysql.com/

- 漏洞信息 (F34632)

dsa-562.txt (PacketStormID:F34632)
2004-10-13 00:00:00
Lukasz Wojtow,Oleksandr Byelkin,Dean Ellis  debian.org
advisory,denial of service,overflow
linux,unix,debian
CVE-2004-0835,CVE-2004-0836,CVE-2004-0837
[点击下载]

Debian Security Advisory DSA 562-1 - Several problems have been discovered in MySQL, a commonly used SQL database on Unix servers, including a denial of service and buffer overrun vulnerability.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 562-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
October 11th, 2004                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : mysql
Vulnerability  : several vulnerabilities
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2004-0835 CAN-2004-0836 CAN-2004-0837 

Severl problems have been discovered in MySQL, a commonly used SQL
database on Unix servers.  The following problems have been identified
by the Common Vulnerabilities and Exposures Project:

CAN-2004-0835

    Oleksandr Byelkin noticed that ALTER TABLE ... RENAME checks
    CREATE/INSERT rights of the old table instead of the new one.

CAN-2004-0836

    Lukasz Wojtow noticed a buffer overrun in the mysql_real_connect
    function.

CAN-2004-0837

    Dean Ellis noticed that multiple threads ALTERing the same (or
    different) MERGE tables to change the UNION can cause the server
    to crash or stall.

For the stable distribution (woody) these problems have been fixed in
version 3.23.49-8.8.

For the unstable distribution (sid) these problems have been fixed in
version 4.0.21-1.

We recommend that you upgrade your mysql and related packages and
restart services linking against them (e.g. Apache/PHP).


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/m/mysql/mysql_3.23.49-8.8.dsc
      Size/MD5 checksum:      883 adab4c7e7fcde533254e37d99f8d832b
    http://security.debian.org/pool/updates/main/m/mysql/mysql_3.23.49-8.8.diff.gz
      Size/MD5 checksum:    66315 d376044fa0d6f8a501993ab02abc4a6b
    http://security.debian.org/pool/updates/main/m/mysql/mysql_3.23.49.orig.tar.gz
      Size/MD5 checksum: 11861035 a2820d81997779a9fdf1f4b3c321564a

  Architecture independent components:

    http://security.debian.org/pool/updates/main/m/mysql/mysql-common_3.23.49-8.8_all.deb
      Size/MD5 checksum:    17262 2e5ebe0702d91a53ec449146b01a573a
    http://security.debian.org/pool/updates/main/m/mysql/mysql-doc_3.23.49-8.5_all.deb
      Size/MD5 checksum:  1962992 a4cacebaadf9d5988da0ed1a336b48e6

  Alpha architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:   278096 4ac1bf890f801a32a87b9e304da35f41
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:   779166 2efba3f9821343f3863c8927352bd4b9
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:   163880 643c6c339b4d2dc131beff973cbbe7e2
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:  3634956 cd912ffbb52a4f58a5a2b98ec8526815

  ARM architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_arm.deb
      Size/MD5 checksum:   238696 1a96397e60328bc6f889660d94468261
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_arm.deb
      Size/MD5 checksum:   635036 41cbebd5050bf90fc1bed870310dc102
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_arm.deb
      Size/MD5 checksum:   124314 4ad3587a1423e1302f30a7c24e443dcf
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_arm.deb
      Size/MD5 checksum:  2806658 bd143a0f5e7bac001d8870f69ebe7d69

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_i386.deb
      Size/MD5 checksum:   235078 5ec7d023107015d11d0168e728864ef8
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_i386.deb
      Size/MD5 checksum:   576912 3672d903045723481241a8aa2c6adf49
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_i386.deb
      Size/MD5 checksum:   122896 c3bb667905a98b2fe0c1cbc3358ae3db
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_i386.deb
      Size/MD5 checksum:  2800926 710ec1b9eeb3af57db869dffe1b4f515

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:   315430 c6dd5c44f2e15a67d54c07a15fb00beb
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:   848868 cda6ede74af0cc7533583d123c3d8a91
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:   174122 d83187efff448d4e251ac2601b4c9a73
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:  4000236 3ce854b000b84f2bfcc7d3dcf171b82e

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:   281034 268ecb759196f6abf4ea1883d9e4171b
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:   744094 b20cd387dfc81a790bbee7c850c58240
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:   140948 d738b053864f5a589b57c02c9eaa96e2
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:  3514870 245a10f9e60311d363cbec4de95f32b8

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:   228104 ba7e5cf2deb86b3b44377e8885063944
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:   558120 6dc1ad3096fd0ada76ae9175ab461ba6
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:   118758 96054fb6609cdb0d4c8e93a04d7d433d
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:  2646786 c62a9ae47d6bca54440ef3a0096aba80

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_mips.deb
      Size/MD5 checksum:   251310 f9dac0e4197eccd211125f8e3edfd162
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_mips.deb
      Size/MD5 checksum:   689316 b2bb4838a961655527d2f8505ff3ec47
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_mips.deb
      Size/MD5 checksum:   134238 2e5f11a0c081b3c2cdc25761cabfba51
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_mips.deb
      Size/MD5 checksum:  2848592 ce156e918b0639de9413ad9b251b8e90

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:   250972 de4eb2f6ef3d26e90787a159d4b6a0ac
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:   688696 04bfb0883f8b2b4c55e7433120c99f61
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:   134574 1230a8e666f5196d4bf612de12c313fc
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:  2839476 55da45664aaedc7c376c2e5c58131633

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:   248122 cba1d3545afe87dcfc547849c9d59004
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:   653066 acdaf15ae0dfcced6c54159b56344030
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:   129780 c5fd168e75eff53b9289004674562272
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:  2823500 cec9d6704902e7ffe51a99aea1845abc

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_s390.deb
      Size/MD5 checksum:   250416 c0426b03788856721ca9f3c1564b250a
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_s390.deb
      Size/MD5 checksum:   607570 6d9902585915e0cacf4d0a9ebd65ef8c
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_s390.deb
      Size/MD5 checksum:   126768 b543d42acfdc0332d7ecf3e64092a3bb
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_s390.deb
      Size/MD5 checksum:  2691372 1700e8f3756d329a8b991dff82487154

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:   241594 a7d17678a6703ba32a9cccc677db7034
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:   616052 28c7e496d23b2af7cbdcc690e03b7d2e
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:   130728 c3be609ef840dd09a5c57e62728d2ad6
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:  2940040 c7e6aa60fa9772963bb2541d3a30336f


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBalFCW5ql+IAeqTIRAhHbAJ40jw3DMmfCWCjYe0lbJQ6qFbtPxwCffWhu
eg6U24PcRQPyKYWtvIG1OBU=
=VQFu
-----END PGP SIGNATURE-----

    

- 漏洞信息

10658
MySQL mysql_real_connect() Function Remote Overflow
Remote / Network Access Input Manipulation
Loss of Confidentiality, Loss of Integrity
Vendor Verified

- 漏洞描述

A remote overflow exists in MySQL. MySQL fails to perform proper bounds checking on the 'mysql_real_connect' function resulting in a buffer overflow. With a specially crafted request, an attacker may cause a remote buffer overflow resulting in a loss of confidentiality and/or integrity.

- 时间线

2004-06-04 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 4.0.21 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

- 漏洞信息

MySQL Mysql_real_connect Function Potential Remote Buffer Overflow Vulnerability
Boundary Condition Error 10981
Yes No
2004-08-20 12:00:00 2009-07-12 06:17:00
Discovery is credited to Lukasz Wojtow.

- 受影响的程序版本

Ubuntu Ubuntu Linux 4.1 ppc
Ubuntu Ubuntu Linux 4.1 ia64
Ubuntu Ubuntu Linux 4.1 ia32
Trustix Secure Linux 2.1
Trustix Secure Linux 2.0
Trustix Secure Linux 1.5
Trustix Secure Enterprise Linux 2.0
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
S.u.S.E. Linux 8.1
S.u.S.E. Linux 8.0
RedHat Enterprise Linux WS 3
RedHat Enterprise Linux ES 3
RedHat Desktop 3.0
Red Hat Fedora Core1
Red Hat Enterprise Linux AS 3
OpenPKG OpenPKG 2.2
OpenPKG OpenPKG 2.1
OpenPKG OpenPKG Current
MySQL AB MySQL 5.0 .0-alpha
MySQL AB MySQL 5.0 .0-0
MySQL AB MySQL 4.1.3 -beta
MySQL AB MySQL 4.1.3 -0
MySQL AB MySQL 4.1.2 -alpha
MySQL AB MySQL 4.0.20
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
+ Ubuntu Ubuntu Linux 4.1 ppc
+ Ubuntu Ubuntu Linux 4.1 ia64
+ Ubuntu Ubuntu Linux 4.1 ia32
MySQL AB MySQL 4.0.18
+ MandrakeSoft Corporate Server 3.0 x86_64
+ MandrakeSoft Corporate Server 3.0
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
MySQL AB MySQL 4.0.15
MySQL AB MySQL 4.0.14
MySQL AB MySQL 4.0.13
MySQL AB MySQL 4.0.12
MySQL AB MySQL 4.0.11 -gamma
MySQL AB MySQL 4.0.11
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
MySQL AB MySQL 4.0.10
MySQL AB MySQL 4.0.9 -gamma
MySQL AB MySQL 4.0.9
MySQL AB MySQL 4.0.8 -gamma
MySQL AB MySQL 4.0.8
MySQL AB MySQL 4.0.7 -gamma
MySQL AB MySQL 4.0.7
MySQL AB MySQL 4.0.6
MySQL AB MySQL 4.0.5 a
MySQL AB MySQL 4.0.5
MySQL AB MySQL 4.0.4
MySQL AB MySQL 4.0.3
MySQL AB MySQL 4.0.2
MySQL AB MySQL 4.0.1
MySQL AB MySQL 4.0 .0
MySQL AB MySQL 3.23.58
+ Conectiva Linux 9.0
+ Red Hat Enterprise Linux AS 2.1
+ Red Hat Fedora Core2
+ RedHat Enterprise Linux ES 2.1
+ RedHat Enterprise Linux WS 2.1
+ RedHat Linux Advanced Work Station 2.1
+ Sun Linux 5.0.7
+ Sun Linux 5.0.6
+ Sun Linux 5.0.5
+ Sun Linux 5.0.3
+ Sun Linux 5.0
+ Turbolinux Appliance Server 1.0 Workgroup Edition
+ Turbolinux Appliance Server 1.0 Hosting Edition
+ Turbolinux Appliance Server Hosting Edition 1.0
+ Turbolinux Appliance Server Workgroup Edition 1.0
+ Turbolinux Home
+ Turbolinux Turbolinux Desktop 10.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Workstation 8.0
MySQL AB MySQL 3.23.56
MySQL AB MySQL 3.23.55
MySQL AB MySQL 3.23.54 a
+ OpenPKG OpenPKG 1.2
+ OpenPKG OpenPKG Current
+ RedHat Linux 9.0 i386
MySQL AB MySQL 3.23.54
+ Sun Cobalt RaQ 550
+ Trustix Secure Linux 1.5
MySQL AB MySQL 3.23.53 a
MySQL AB MySQL 3.23.53
+ OpenPKG OpenPKG Current
+ Sun Cobalt Qube 3
MySQL AB MySQL 3.23.52
+ Conectiva Linux Enterprise Edition 1.0
+ Mandriva Linux Mandrake 9.0
+ OpenPKG OpenPKG 1.1
+ RedHat Linux 8.0 i386
+ RedHat Linux 8.0
+ S.u.S.E. Linux 8.1
+ Trustix Secure Linux 1.5
MySQL AB MySQL 3.23.51
MySQL AB MySQL 3.23.50
MySQL AB MySQL 3.23.49
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ RedHat Linux 7.3 i686
+ RedHat Linux 7.3 i386
+ RedHat Linux 7.3
MySQL AB MySQL 3.23.48
MySQL AB MySQL 3.23.47
MySQL AB MySQL 3.23.46
MySQL AB MySQL 3.23.45
MySQL AB MySQL 3.23.44
+ S.u.S.E. Linux 7.3 sparc
+ S.u.S.E. Linux 7.3 ppc
+ S.u.S.E. Linux 7.3 i386
+ S.u.S.E. Linux 7.3
MySQL AB MySQL 3.23.43
MySQL AB MySQL 3.23.42
MySQL AB MySQL 3.23.41
MySQL AB MySQL 3.23.40
MySQL AB MySQL 3.23.39
MySQL AB MySQL 3.23.38
MySQL AB MySQL 3.23.37
MySQL AB MySQL 3.23.36
+ Conectiva Linux 7.0
+ Conectiva Linux 6.0
+ EnGarde Secure Linux 1.0.1
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
+ RedHat Linux 7.1 ia64
+ RedHat Linux 7.1 i686
+ RedHat Linux 7.1 i586
+ RedHat Linux 7.1 i386
+ RedHat Linux 7.1
MySQL AB MySQL 3.23.34
- Debian Linux 2.2 sparc
- Debian Linux 2.2 powerpc
- Debian Linux 2.2 arm
- Debian Linux 2.2 alpha
- Debian Linux 2.2 68k
- Debian Linux 2.2
- FreeBSD FreeBSD 4.2
- FreeBSD FreeBSD 3.5.1
- HP HP-UX 11.11
- HP HP-UX 11.0
- IBM AIX 4.3.3
- IBM AIX 4.3.2
- Mandriva Linux Mandrake 7.2
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- OpenBSD OpenBSD 2.8
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- RedHat Linux 7.0 i386
- RedHat Linux 7.0 alpha
- RedHat Linux 6.2 sparc
- RedHat Linux 6.2 i386
- RedHat Linux 6.2 alpha
- RedHat Linux 5.2 sparc
- RedHat Linux 5.2 i386
- RedHat Linux 5.2 alpha
- S.u.S.E. Linux 7.1
- S.u.S.E. Linux 7.0
- S.u.S.E. Linux 6.4
- Sun Solaris 8_x86
- Sun Solaris 8_sparc
- Sun Solaris 7.0_x86
- Sun Solaris 7.0
- Sun Solaris 2.6_x86
- Sun Solaris 2.6
MySQL AB MySQL 3.23.33
+ S.u.S.E. Linux 7.1 x86
+ S.u.S.E. Linux 7.1 sparc
+ S.u.S.E. Linux 7.1 ppc
+ S.u.S.E. Linux 7.1 alpha
+ S.u.S.E. Linux 7.1
MySQL AB MySQL 3.23.32
+ Wirex Immunix OS 7+
MySQL AB MySQL 3.23.31
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 7.2
MySQL AB MySQL 3.23.30
MySQL AB MySQL 3.23.29
MySQL AB MySQL 3.23.28 gamma
MySQL AB MySQL 3.23.28
MySQL AB MySQL 3.23.27
MySQL AB MySQL 3.23.26
MySQL AB MySQL 3.23.25
MySQL AB MySQL 3.23.24
MySQL AB MySQL 3.23.23
MySQL AB MySQL 3.23.22
+ RedHat Linux 7.0 sparc
+ RedHat Linux 7.0 alpha
+ RedHat Linux 7.0
MySQL AB MySQL 3.23.10
MySQL AB MySQL 3.23.9
MySQL AB MySQL 3.23.8
MySQL AB MySQL 3.23.5
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ Trustix Secure Linux 1.5
MySQL AB MySQL 3.23.4
MySQL AB MySQL 3.23.3
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
MySQL AB MySQL 3.23.2
MySQL AB MySQL 3.23 .x
MySQL AB MySQL 3.22.32
MySQL AB MySQL 3.22.30
MySQL AB MySQL 3.22.29
MySQL AB MySQL 3.22.28
MySQL AB MySQL 3.22.27
MySQL AB MySQL 3.22.26
MySQL AB MySQL 3.22 .x
MySQL AB MySQL 3.21 .x
MySQL AB MySQL 3.20.32 a
MySQL AB MySQL 3.20 .x
MySQL AB MySQL 4.1.0.0-alpha
MySQL AB MySQL 4.1.0-0
Mandriva Linux Mandrake 10.1 x86_64
Mandriva Linux Mandrake 10.1
Mandriva Linux Mandrake 10.0 AMD64
Mandriva Linux Mandrake 10.0
Mandriva Linux Mandrake 9.2 amd64
Mandriva Linux Mandrake 9.2
MandrakeSoft Corporate Server 2.1 x86_64
MandrakeSoft Corporate Server 2.1
Conectiva Linux 10.0
Conectiva Linux 9.0

- 漏洞讨论

MySQL is prone to a potential remote buffer overflow vulnerability. This issue occurs due to insufficient boundary checks performed by the 'mysql_real_connect' function.

The 'mysql_real_connect' function does not verify the length of the IP address returned through a DNS response from a server. Immediate consequences of an attack may result in a denial of service condition. It is conjectured that this issue could allow for arbitrary code execution, however, this has not been confirmed.

It is also reported that the glibc library verifies the length of an IP address, however, other libraries may obtain the length from a DNS response packet. Computers using glibc on Linux and BSD platforms may not be vulnerable to this issue.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

The vendor has reported that this issue will be addressed in the next release (4.0.21) of MySQL.

Conectiva Linux has released advisory CLA-2004:892 along with fixes to address this and other issues. Please see the referenced advisory for further information.

Debian has issued an advisory for this and other MySQL vulnerabilities. See DSA 562-1 in the reference section.

Trustix Secure Linux has released advisory TSLSA-2004-0054 along with fixes to address this issue. Please see the referenced advisory for further information.

Gentoo has released an advisory (GLSA 200410-22) to address various issues in MySQL. Please see the referenced advisory for more information. Gentoo users may carry out the following actions to update their computers:

emerge sync
emerge -pv ">=dev-db/mysql-4.0.21"
emerge ">=dev-db/mysql-4.0.21"

RedHat has released advisory RHSA-2004:611-04 along with fixes to address various issues in MySQL for RedHat Enterprise Linux operating systems. Please see the referenced advisory for further information.

OpenPKG has released advisory OpenPKG-SA-2004.045 to address various issues in MySQL. Please see the referenced advisory for further information.

Mandrake Linux has released advisory MDKSA-2004:119 along with fixes dealing with this and other issues. Please see the referenced advisory for more information.

SuSE has released a security summary report (SUSE-SR:2004:001) to address this and other issues. The report indicates that a fix for this issue is available on the SuSE FTP server and also through the YaST Online Update utility. Customers are advised to peruse the referenced advisory for further details regarding obtaining and applying appropriate fixes.

Ubuntu Linux has released advisory USN-32-1 along with fixes to address this, and other issues. Please see the referenced advisory for further information.

RedHat Fedora has made an advisory available (FEDORA-2004-530) dealing with this and other issues. Please see the referenced advisory for more information.

TurboLinux has released Security Announcement 17/Feb/2005 dealing with this and other issues; please see the reference section for more information.

A Fedora Legacy advisory FLSA:2129 is available to address this issue in Red Hat Linux 7.3, Red Hat Linux 9, and Fedora Core 1 for the i386 architecture. Please see the referenced advisory for more information.


MySQL AB MySQL 3.23.49

MySQL AB MySQL 3.23.52

MySQL AB MySQL 3.23.54 a

MySQL AB MySQL 3.23.56

MySQL AB MySQL 3.23.58

MySQL AB MySQL 4.0.18

MySQL AB MySQL 4.0.20

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站