CVE-2013-4235
MediumCVSS 4.7Exploitation Probability (EPSS)
Low risk22th percentile - higher than 22% of all known CVEs
Summary
shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
Risk Assessment
A local attacker could exploit the race condition to manipulate files or directories, potentially leading to privilege escalation or data corruption. The risk applies to systems where directory tree operations are performed with elevated privileges.
Recommendation
Update the shadow package to a version containing the fix for CVE-2013-4235. Restrict the ability of unprivileged users to perform directory tree operations.
Other vulnerabilities in shadow
See all- CVE-2016-6252High
Integer overflow in shadow 4.2.1 allows local users to gain privileges via crafted input to newuidmap.
- CVE-2017-12424Critical
In the newusers tool in shadow before version 4.5, there is a possibility to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors.
Original NVD description (English source)
shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

