CVE-2004-0972 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks in the lvmcreate_initrd script, potentially compromising system integrity.
- 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-0972?
CVE-2004-0972 is a low-severity path traversal vulnerability in Gentoo Linux, published on 20 Oct 2004. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The lvmcreate_initrd script in the lvm package in Trustix Secure Linux 1.5 through 2.1, and possibly other operating systems, allows local users to overwrite files via a symlink attack on temporary files.
Which versions are affected by CVE-2004-0972?
It affects 2 products.
Products include Gentoo Linux, Lvm Logical Volume Management Utilities.
How do I fix CVE-2004-0972?
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-0972 being exploited?
There is no known exploitation of CVE-2004-0972 in the wild and no public exploit code.
Other vulnerabilities in Gentoo Linux
Sources
Also known as DSA-583-1, GHSA-gmp4-x3hh-6gf4.