CVE-2007-0895: Sun Solaris

Low severity, CVSS 2.6. EPSS: 0.3% chance of exploitation in the next 30 days.

Race condition in recursive directory deletion with the (1) -r or (2) -R option in rm in Solaris 8 through 10 before 20070208 allows local users to delete files and directories as the user running rm by moving a low-level directory to a higher level as it is being deleted, which causes rm to chdir to a ".." directory that is higher than expected, possibly up to the root file system, a related issue to CVE-2002-0435.

Affected products

  • Sun Solaris: version 9.0 only; version 10.0 only
  • Sun Sunos: version 5.8 only

Published 2007-02-13. Last modified 2026-06-16.