CVE-2005-0004 Path traversal in n/a

Medium 4.6 Published Updated

Local attackers can overwrite arbitrary files or read temporary files via symlink attacks in the mysqlaccess script.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2005-0004?

CVE-2005-0004 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 20 Jan 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-59

Which versions are affected by CVE-2005-0004?

It affects 3 products.

Products include Debian Debian Linux, Mariadb Mariadb, Oracle Mysql.

How do I fix CVE-2005-0004?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2005-0004 being exploited?

There is no known exploitation of CVE-2005-0004 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DSA-647-1, GHSA-7f63-6j3v-p9vw.

Is CVE-2005-0004 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free