Skip to content
Fencer Intel
medium 4.7

CVE-2013-4235 json

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

published 6y ago modified 26d ago also EUVD-2013-4139

cvss
4.7
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

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

Patch / fix

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • shadow Debian 14, Debian 13, Debian 12 1:4.12.3+dfsg1-1

debian advisories DEBIAN-CVE-2013-4235

  • shadow Ubuntu 22.04 LTS 1:4.8.1-2ubuntu2.1

ubuntu advisories UBUNTU-CVE-2013-4235

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • shadow SLE Module for Basesystem 15 SP7, openSUSE Leap 15.6 4.17.2-150600.17.18.1
  • shadow SLE Micro 5.2, SLE Micro 5.1, Enterprise Storage 7.1 +3 more 4.8.1-150300.4.18.1
  • shadow SLE Micro 5.5, openSUSE Leap Micro 5.5 4.8.1-150500.3.9.1
  • shadow SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 4.8.1-150600.17.6.1
  • shadow SLE Micro 5.4 4.8.1-150400.3.12.1
  • shadow SLES for SAP 12 SP5, SLES 12 SP5 4.2.1-36.15.1
  • shadow SLE Module for Basesystem 15 SP5, SLE Micro 5.3, openSUSE Leap 15.5 4.8.1-150400.10.21.1
  • shadow SLE Micro 5.5, openSUSE Leap Micro 5.5 4.8.1-150500.3.6.1

suse advisories SUSE-RU-2026:1228-1SUSE-SU-2025:0292-1SUSE-SU-2024:2809-1SUSE-SU-2024:2808-1SUSE-SU-2024:2807-1SUSE-SU-2024:2806-1

  • shadow openSUSE Tumbleweed 4.11.1-1.1

opensuse advisories openSUSE-SU-2024:11749-1

Is CVE-2013-4235 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-4235 updated cvss 4.4

shadow-utils: TOCTOU race conditions by copying and removing directory trees

  • Red Hat Enterprise Linux 5 shadow-utils Red Hat Enterprise Linux 6 shadow-utils
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 4.7

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 3.3 AV:L/AC:M/Au:N/C:N/I:P/A:P

Affected products

  • shadow shadow
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.