1. CVE archive
  2. 2008
  3. CVE-2008-3963

CVE-2008-3963

4 Medium severity CVSS v2.0 · source NVD AV:N/AC:L/Au:S/C:N/I:N/A:P 4 – Medium

Description

MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does not properly handle a b'' (b single-quote single-quote) token, aka an empty bit-string literal, which allows remote attackers to cause a denial of service (daemon crash) by using this token in a SQL statement.

Affected products

VendorProductVersionPlatform
mysql mysql 5.0.0 –
mysql mysql 5.0.1 –
mysql mysql 5.0.2 –
mysql mysql 5.0.3 –
mysql mysql 5.0.4 –
mysql mysql 5.0.5 –
mysql mysql 5.0.5.0.21 –
mysql mysql 5.0.10 –
mysql mysql 5.0.15 –
mysql mysql 5.0.16 –
mysql mysql 5.0.17 –
mysql mysql 5.0.20 –
mysql mysql 5.0.22.1.0.1 –
mysql mysql 5.0.24 –
mysql mysql 5.0.30 –
mysql mysql 5.0.36 –
mysql mysql 5.0.44 –
mysql mysql 5.0.54 –
mysql mysql 5.0.56 –
mysql mysql 5.0.60 –
mysql mysql 5.1.5 –
mysql mysql 5.1.23 –
oracle mysql 5.0.0 alpha –
oracle mysql 5.0.6 –
oracle mysql 5.0.23 –
oracle mysql 5.0.25 –
oracle mysql 5.0.26 –
oracle mysql 5.0.30 sp1 –
oracle mysql 5.0.32 –
oracle mysql 5.0.33 –
oracle mysql 5.0.38 –
oracle mysql 5.0.41 –
oracle mysql 5.0.42 –
oracle mysql 5.0.45 –
oracle mysql 5.0.50 –
oracle mysql 5.0.51 –
oracle mysql 5.0.52 –
oracle mysql 5.1 –
oracle mysql 5.1.1 –
oracle mysql 5.1.2 –
oracle mysql 5.1.3 –
oracle mysql 5.1.4 –
oracle mysql 5.1.6 –
oracle mysql 5.1.7 –
oracle mysql 5.1.8 –
oracle mysql 5.1.9 –
oracle mysql 5.1.10 –
oracle mysql 5.1.11 –
oracle mysql 5.1.12 –
oracle mysql 5.1.13 –
oracle mysql 5.1.14 –
oracle mysql 5.1.15 –
oracle mysql 5.1.16 –
oracle mysql 5.1.17 –
oracle mysql 5.1.18 –
oracle mysql 5.1.19 –
oracle mysql 5.1.20 –
oracle mysql 5.1.21 –
oracle mysql 5.1.22 –
oracle mysql 6.0.0 –
oracle mysql 6.0.1 –
oracle mysql 6.0.2 –
oracle mysql 6.0.3 –
oracle mysql 6.0.4 –
All 1,328 Oracle Mysql vulnerabilities
All 92 Mysql vulnerabilities

Vulnerability type

CWE-134 Use of Externally-Controlled Format String

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Impact on systems

ScopeImpact
Confidentiality Read Memory
Format string problems allow for information disclosure which can severely simplify exploitation of the program.
Integrity, Confidentiality, Availability Modify Memory, Execute Unauthorized Code or Commands
Format string problems can result in the execution of arbitrary code, buffer overflows, denial of service, or incorrect data representation.

How to prevent it

Requirements Choose a language that is not subject to this flaw.
Implementation Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings.
Build and Compilation Run compilers and linkers with high warning levels, since they may detect incorrect usage.

All 436 CWE-134 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org