Some weaknesses have been reported in RPM Package Manager, which can be exploited by malicious, local users to gain escalated privileges.
1) The application does not properly remove e.g. the setuid and setgid bits from binaries when upgrading or removing a package, which can be exploited to gain escalated privileges by creating hardlinks to the old binary.
2) The application does not properly update the POSIX file capabilities when e.g. erasing or renaming a binary, which can be exploited to keep the previous capabilities by creating hardlinks to the old binary.
Solution: Update to version 4.8.1.
Provided and/or discovered by: Matt McCutchen
Original Advisory: Red Hat Bug #598775:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org