1 matches found
GHSA-4C7Q-4928-8445 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.00175EPSS
SaveExploits0References6
20