What’s Vulnerable › Vulnerabilities
CVE-2005-0004
- Severity: medium (CVSS 4.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2005-04-14 · updated 2026-06-16
- Weakness: CWE-59
Description
The mysqlaccess script in MySQL 4.0.23 and earlier, 4.1.x before 4.1.10, 5.0.x before 5.0.3, and other versions including 3.x, allows local users to overwrite arbitrary files or read temporary files via a symlink attack on temporary files.
Affected products
- Debian Linux: 3.0
- MariaDB: from 5.5.0 before 5.5.66 — fixed in 5.5.66
- MySQL Server: from 4.0.0 before 4.0.23; from 4.1.0 before 4.1.10; from 5.0.0 before 5.0.3 — fixed in 4.0.23, 4.1.10, 5.0.3
How to fix
Upgrade to a fixed version: MariaDB 5.5.66; MySQL Server 4.0.23, 4.1.10, 5.0.3. Check the vendor advisory for mitigations.
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000947
- http://lists.mysql.com/internals/20600
- http://marc.info/?l=bugtraq&m=110608297217224&w=2
- http://mysql.osuosl.org/doc/mysql/en/News-4.1.10.html
- http://secunia.com/advisories/13867
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-101864-1
- http://www.debian.org/security/2005/dsa-647
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:036
- http://www.securityfocus.com/bid/12277
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18922
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000947
- http://lists.mysql.com/internals/20600
Get alerted when CVE-2005-0004 or the next vulnerability affects your stack