1 matches found
chmod: --preserve-root bypassed by any path that resolves to root (e.g. /../)
Chmoder::chmod only compares the literal argument against Path::new"/", so the --preserve-root guard is bypassed by any path that resolves to root — a symlink to / or simply /../. if self.recursive && self.preserveroot && file == Path::new"/" return ErrChmodError::PreserveRoot"/".tostring.into; P...
7.3CVSS6AI score0.00199EPSS
SaveExploits0References6Affected Software1
20