CVE-2012-5630 Race condition in libuser
A time-of-check time-of-use race condition in libuser allows attackers to manipulate directory tree operations, potentially leading to privilege escalation or data modification.
- 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-2012-5630?
CVE-2012-5630 is a medium-severity vulnerability in Fedoraproject Fedora, published on 25 Nov 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
Weakness: CWE-367
Which versions are affected by CVE-2012-5630?
It affects 3 products.
Products include Fedoraproject Fedora, Libuser Project Libuser, Redhat Enterprise Linux.
How do I fix CVE-2012-5630?
Apply the vendor's patch.
Is CVE-2012-5630 being exploited?
There is no known exploitation of CVE-2012-5630 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2012-5630, GHSA-4674-qwpx-v98w, UBUNTU-CVE-2012-5630.