CVE-2010-2008
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a login. Limited direct impact.
- Exploit odds
- 9.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 9.0% in the next 30 days (EPSS).
- Severity: 3.5 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 9.0% · EPSS, next 30 days
- Weakness
- CWE-77 · Command injection
- Record status
- Modified
Affected
- Oracle MySQL < 5.1.48
- Canonical Ubuntu Linux 6.06
- Canonical Ubuntu Linux 8.04
- Canonical Ubuntu Linux 9.10
- Canonical Ubuntu Linux 10.04
- Canonical Ubuntu Linux 10.10
- Canonical Ubuntu Linux 11.04
- Canonical Ubuntu Linux 11.10
Attack profile CVSS 2.0 · 3.5
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:S/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-2008.md and follow it. Check whether this project is affected by CVE-2010-2008. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://bugs.mysql.com/bug.php?id=53804
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-July/044546.html
- http://secunia.com/advisories/40333
- http://secunia.com/advisories/40762
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:155
- http://www.securityfocus.com/bid/41198
- http://www.securitytracker.com/id?1024160
- http://www.ubuntu.com/usn/USN-1017-1
- http://www.ubuntu.com/usn/USN-1397-1
- http://www.vupen.com/english/advisories/2010/1918
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11869
- http://bugs.mysql.com/bug.php?id=53804
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-48.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-July/044546.html
- http://secunia.com/advisories/40333
- http://secunia.com/advisories/40762
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:155
- http://www.securityfocus.com/bid/41198
- http://www.securitytracker.com/id?1024160
- http://www.ubuntu.com/usn/USN-1017-1
- http://www.ubuntu.com/usn/USN-1397-1
- http://www.vupen.com/english/advisories/2010/1918
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11869