CVE-2013-4235 Race condition in shadow

Medium 4.7 Published Updated

A race condition in shadow utilities allows local attackers to escalate privileges by exploiting time-of-check time-of-use flaws during directory operations.

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-2013-4235?

CVE-2013-4235 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Dec 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees

Weakness: CWE-367

Which versions are affected by CVE-2013-4235?

It affects 4 products.

Linux distribution packages (39)
shadow SUSE:Enterprise Storage 7.1All versions4.8.1-150300.4.15.1
shadow SUSE:Enterprise Storage 7.1All versions4.8.1-150300.4.18.1
shadow SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.8.1-150300.4.15.1
shadow SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.8.1-150300.4.18.1
shadow SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions4.8.1-150400.10.18.1
shadow SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions4.8.1-150400.10.18.1
shadow SUSE:Linux Enterprise Micro 5.1All versions4.8.1-150300.4.15.1
shadow SUSE:Linux Enterprise Micro 5.1All versions4.8.1-150300.4.18.1
shadow SUSE:Linux Enterprise Micro 5.2All versions4.8.1-150300.4.15.1
shadow SUSE:Linux Enterprise Micro 5.2All versions4.8.1-150300.4.18.1
shadow SUSE:Linux Enterprise Micro 5.3All versions4.8.1-150400.10.18.1
shadow SUSE:Linux Enterprise Micro 5.3All versions4.8.1-150400.10.21.1
shadow SUSE:Linux Enterprise Micro 5.4All versions4.8.1-150400.3.12.1
shadow SUSE:Linux Enterprise Micro 5.4All versions4.8.1-150400.3.9.1
shadow SUSE:Linux Enterprise Micro 5.5All versions4.8.1-150500.3.6.1
shadow SUSE:Linux Enterprise Micro 5.5All versions4.8.1-150500.3.9.1
shadow SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions4.8.1-150400.10.18.1
shadow SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions4.8.1-150400.10.21.1
shadow SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions4.8.1-150600.17.3.1
shadow SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions4.8.1-150600.17.6.1
shadow SUSE:Linux Enterprise Server 12 SP5All versions4.2.1-36.12.1
shadow SUSE:Linux Enterprise Server 12 SP5All versions4.2.1-36.15.1
shadow SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions4.8.1-150300.4.15.1
shadow SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions4.8.1-150300.4.18.1
shadow SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions4.8.1-150400.10.18.1
shadow SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions4.2.1-36.12.1
shadow SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions4.2.1-36.15.1
shadow SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions4.8.1-150300.4.15.1
shadow SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions4.8.1-150300.4.18.1
shadow SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions4.8.1-150400.10.18.1
shadow SUSE:Manager Proxy 4.3All versions4.8.1-150400.10.18.1
shadow SUSE:Manager Server 4.3All versions4.8.1-150400.10.18.1
shadow openSUSE:Leap 15.5All versions4.8.1-150400.10.18.1
shadow openSUSE:Leap 15.5All versions4.8.1-150400.10.21.1
shadow openSUSE:Leap 15.6All versions4.8.1-150600.17.3.1
shadow openSUSE:Leap 15.6All versions4.8.1-150600.17.6.1
shadow openSUSE:Leap Micro 5.5All versions4.8.1-150500.3.6.1
shadow openSUSE:Leap Micro 5.5All versions4.8.1-150500.3.9.1
shadow openSUSE:TumbleweedAll versions4.11.1-1.1

Products include Debian Debian Linux, Debian Shadow, Fedoraproject Fedora, Redhat Enterprise Linux.

How do I fix CVE-2013-4235?

Apply the vendor's patch.

Is CVE-2013-4235 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CLSA-2022-1670260858, DEBIAN-CVE-2013-4235, GHSA-2q3w-h8mm-q9v3, MGASA-2022-0455, OESA-2023-1828, OESA-2023-1849 and 20 more.

Is CVE-2013-4235 in your software?

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

Check your SBOMs for free