{"id":"UBUNTU-CVE-2013-4235","details":"shadow: TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees","modified":"2026-01-30T00:30:43.474630Z","published":"2019-12-03T15:15:00Z","related":["USN-5745-1","USN-5745-2"],"upstream":["CVE-2013-4235"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2013-4235"},{"type":"REPORT","url":"https://github.com/shadow-maint/shadow/issues/317"},{"type":"REPORT","url":"https://github.com/shadow-maint/shadow/pull/545"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5745-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5745-2"},{"type":"REPORT","url":"https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1998169"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2013-4235"}],"affected":[{"package":{"name":"shadow","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.1.5.1-1ubuntu9.5+esm4?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.1.5.1-1ubuntu6","1:4.1.5.1-1ubuntu7","1:4.1.5.1-1ubuntu8","1:4.1.5.1-1ubuntu9","1:4.1.5.1-1ubuntu9.1","1:4.1.5.1-1ubuntu9.2","1:4.1.5.1-1ubuntu9.4","1:4.1.5.1-1ubuntu9.5","1:4.1.5.1-1ubuntu9.5+esm1","1:4.1.5.1-1ubuntu9.5+esm2","1:4.1.5.1-1ubuntu9.5+esm3","1:4.1.5.1-1ubuntu9.5+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"login","binary_version":"1:4.1.5.1-1ubuntu9.5+esm4"},{"binary_name":"passwd","binary_version":"1:4.1.5.1-1ubuntu9.5+esm4"},{"binary_name":"uidmap","binary_version":"1:4.1.5.1-1ubuntu9.5+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-4235.json"}},{"package":{"name":"shadow","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.2-3.1ubuntu5.5+esm4?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.1.5.1-1.1ubuntu7","1:4.2-3.1ubuntu1","1:4.2-3.1ubuntu2","1:4.2-3.1ubuntu3","1:4.2-3.1ubuntu4","1:4.2-3.1ubuntu5","1:4.2-3.1ubuntu5.2","1:4.2-3.1ubuntu5.3","1:4.2-3.1ubuntu5.4","1:4.2-3.1ubuntu5.5+esm1","1:4.2-3.1ubuntu5.5+esm2","1:4.2-3.1ubuntu5.5+esm3","1:4.2-3.1ubuntu5.5+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"login","binary_version":"1:4.2-3.1ubuntu5.5+esm4"},{"binary_name":"passwd","binary_version":"1:4.2-3.1ubuntu5.5+esm4"},{"binary_name":"uidmap","binary_version":"1:4.2-3.1ubuntu5.5+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-4235.json"}},{"package":{"name":"shadow","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.5-1ubuntu2.5+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.2-3.2ubuntu4","1:4.5-1ubuntu1","1:4.5-1ubuntu2","1:4.5-1ubuntu2.2","1:4.5-1ubuntu2.3","1:4.5-1ubuntu2.4","1:4.5-1ubuntu2.5","1:4.5-1ubuntu2.5+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"login","binary_version":"1:4.5-1ubuntu2.5+esm1"},{"binary_name":"passwd","binary_version":"1:4.5-1ubuntu2.5+esm1"},{"binary_name":"uidmap","binary_version":"1:4.5-1ubuntu2.5+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-4235.json"}},{"package":{"name":"shadow","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.8.1-1ubuntu5.20.04.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.5-1.1ubuntu4","1:4.8-1ubuntu1","1:4.8.1-1ubuntu1","1:4.8.1-1ubuntu2","1:4.8.1-1ubuntu3","1:4.8.1-1ubuntu4","1:4.8.1-1ubuntu5","1:4.8.1-1ubuntu5.20.04","1:4.8.1-1ubuntu5.20.04.1","1:4.8.1-1ubuntu5.20.04.2","1:4.8.1-1ubuntu5.20.04.3","1:4.8.1-1ubuntu5.20.04.4","1:4.8.1-1ubuntu5.20.04.5"],"ecosystem_specific":{"binaries":[{"binary_name":"login","binary_version":"1:4.8.1-1ubuntu5.20.04.5"},{"binary_name":"passwd","binary_version":"1:4.8.1-1ubuntu5.20.04.5"},{"binary_name":"uidmap","binary_version":"1:4.8.1-1ubuntu5.20.04.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-4235.json"}},{"package":{"name":"shadow","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.8.1-2ubuntu2.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.8.1-2ubuntu2.1"}]}],"versions":["1:4.8.1-1ubuntu9","1:4.8.1-1ubuntu10","1:4.8.1-2ubuntu1","1:4.8.1-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"login","binary_version":"1:4.8.1-2ubuntu2.1"},{"binary_name":"passwd","binary_version":"1:4.8.1-2ubuntu2.1"},{"binary_name":"uidmap","binary_version":"1:4.8.1-2ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-4235.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"low"}]}