An unfortunate regression in rpm 4.14.2 causes --setperms to behave incorrectly on symbolic links: file and directory permissions become world writable and executable on symlink targets. A similar flaw exists in --setugids, but it is less exploitable.
If you have used --setperms (or --setugids, or --restore) with rpm 4.14.2, you should ensure system integrity with rpm --verify before proceeding to correct any mixed up permissions and ownerships to avoid possibly giving suid capabilities to a modified binary.
Further details of the --setperms bug available upstream: http://rpm.org/wiki/Releases/220.127.116.11
Note that this update can not automatically fix possible damage done by using –setperms, –setugids or –restore with rpm 4.14.2, it merely fixes the functionlity itself. Any damage needs to be investigated and fixed manually, such as using –verify and –restore or reinstalling packages.
sudo dnf upgrade --refresh --advisory=FEDORA-2018-2c9120d494
Please login to add feedback.
This update has been submitted for testing by pmatilai.
This update has been pushed to testing.
pmatilai edited this update.
works for me in a VM
Works for me
No regressions noted.
This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes
no regressions noted
This update has been submitted for batched by pmatilai.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.