CVE-2004-0381 Path traversal in n/a

Low 2.1 Published Updated

Local attackers can overwrite arbitrary files via a symlink attack on a temporary file in the mysqlbug utility.

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-2004-0381?

CVE-2004-0381 is a low-severity path traversal vulnerability in Mysql Mysql, published on 6 Apr 2004. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack on the failed-mysql-bugreport temporary file.

Which versions are affected by CVE-2004-0381?

It affects 2 products.

Products include Mysql Mysql, Oracle Mysql.

How do I fix CVE-2004-0381?

Apply the vendor's patch.

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

Is CVE-2004-0381 being exploited?

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

All Mysql Mysql vulnerabilities

Sources

Also known as GHSA-q6cx-wgqr-cmmx.

Is CVE-2004-0381 in your software?

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

Check your SBOMs for free