Quantum Secular Labs / Blog / Advisories
CVE-2004-0836: Oracle Mysql: Buffer overflow
CVE-2004-0836 has a CVSS v2 base score of 10.0 (the maximum on that scale) and affects Oracle Mysql, along with 1 other product in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
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).
Severity breakdown
CVSS v2.0 10.0: AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access vector: Network. Exploitable remotely over the network.
- Access complexity: Low. No special conditions are required.
- Authentication: None. No authentication is needed.
- Confidentiality impact: Complete. Total information disclosure.
- Integrity impact: Complete. Total loss of integrity.
- Availability impact: Complete. Total shutdown of the component.
Underlying weakness
CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
Affected products
- Oracle Mysql: from 3.20 before 3.23.49; from 4.0.0 before 4.0.21
- Debian Linux: 3.0
References
- http://www.redhat.com/support/errata/RHSA-2004-597.html
- http://www.redhat.com/support/errata/RHSA-2004-611.html
- http://bugs.mysql.com/bug.php?id=4017
- http://lists.mysql.com/internals/14726
- http://www.trustix.org/errata/2004/0054/
- http://marc.info/?l=bugtraq&m=110140517515735&w=2
- http://secunia.com/advisories/12305/
- http://www.debian.org/security/2004/dsa-562
- http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml
- http://www.securityfocus.com/bid/10981
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17047
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000892
- http://www.ciac.org/ciac/bulletins/p-018.shtml