All vulnerabilities

Servers and applications

CVE-2010-2008

MySQL before 5.1.48 allows remote authenticated users with alter database privileges to cause a denial of service (server crash and database loss) via an ALTER DATABASE command with a #mysql50# string followed by a . (dot), .. (dot dot), ../ (dot dot slash) or similar sequence, and an UPGRADE DATA DIRECTORY NAME command, which causes MySQL to move certain directories to the server data directory.

Severity
Low 3.5
Published
13 Jul 2010
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
5.1.48
Exploit chance
9% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Command injection (CWE-77)
Attack
Over the network · Needs a login
Attacker can
Slow it down
CVSS vector
AV:N/AC:M/Au:S/C:N/I:N/A:P
Sources
NVD

Affected software

SoftwareAffected versions
MySQLServers and applications · cpe:a:oracle:mysql
  • Every version before 5.1.48

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2010-2008
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2010-2008