{"id":"CVE-2013-4235","title":"shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees","summary":"shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees","severity":"medium","cvss":4.7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","cwe":["CWE-367"],"vendor":"debian","product":"shadow","affected":["shadow","debian_linux = 8.0","debian_linux = 9.0","debian_linux = 10.0","fedora = 16","fedora = 17","enterprise_linux = 5","enterprise_linux = 6.0"],"published":"2019-12-03","updated":"2026-10-14","sourceUpdated":"2026-10-14T07:16:36.180","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2013-4235","references":[{"url":"https://access.redhat.com/security/cve/cve-2013-4235","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4235","label":"secalert@redhat.com"},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","label":"secalert@redhat.com"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-4235","label":"secalert@redhat.com"},{"url":"https://security.gentoo.org/glsa/202210-26","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/cve-2013-4235","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4235","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-4235","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202210-26","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2013/cve-2013-4235.json"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=884658"},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4235"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4235"}],"tags":["nvd","csaf","vex","red-hat","cve.org"],"epss":0.00305,"epssPercentile":0.2159,"ingestedAt":"2026-10-14T07:21:04.824Z","scores":{"nvd":4.7,"vendor":4.4},"slug":"CVE-2013-4235","body":"## Overview\n\nshadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees\n\n## Affected\n\n- `shadow`\n- `debian_linux = 8.0`\n- `debian_linux = 9.0`\n- `debian_linux = 10.0`\n- `fedora = 16`\n- `fedora = 17`\n- `enterprise_linux = 5`\n- `enterprise_linux = 6.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6 · no fix planned: Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6 · updated 2026-10-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2013/cve-2013-4235.json)","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":25.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}