Advisory Published
Updated

REDHAT-BUG-598775

First published: Wed Jun 02 2010(Updated: )

Created <span class="bz_obsolete"><a href="attachment.cgi?id=418879" name="attach_418879" title="SRPM for testing this bug">attachment 418879</a> <a href="attachment.cgi?id=418879&amp;action=edit" title="SRPM for testing this bug">[details]</a></span> SRPM for testing this bug Description of problem: When RPM replaces an executable, it does not clear the setuid and setgid bits of the old file. Thus, if a user made a hard link to the old executable, he/she will still be able to run it with elevated privileges. This is bad if it was replaced because it had a vulnerability. The problem seems to occur only when executables are replaced, not when they are erased. This is the same bug that was previously noted in dpkg: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692</a> Version-Release number of selected component (if applicable): rpm-4.8.0-14.fc13.x86_64 How reproducible: Always Steps to Reproduce: 1. Rebuild the attached SRPM twice, once with -D 'rel 1' and once with -D 'rel 2'. 2. mkdir /tmp/rpm-setuid-test 3. rpm -i rpm-setuid-test-0-1.fc13.$(rpm -E '%{_build_arch}').rpm 4. ln /usr/bin/rpm-setuid-test /tmp/rpm-setuid-test/ 5. rpm -U rpm-setuid-test-0-2.fc13.$(rpm -E '%{_build_arch}').rpm 6. ls -l /tmp/rpm-setuid-test/rpm-setuid-test Actual results: The old executable is setuid. Expected results: The old executable is not setuid.

Affected SoftwareAffected VersionHow to fix
Runit

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-598775?

    The severity level of REDHAT-BUG-598775 is currently classified based on its potential impact on the RPM Package Manager.

  • How do I fix REDHAT-BUG-598775?

    To resolve REDHAT-BUG-598775, implement the provided source RPM for testing as recommended in the associated bug report.

  • What systems are impacted by REDHAT-BUG-598775?

    REDHAT-BUG-598775 affects systems using the RPM Package Manager.

  • Is there any workaround for REDHAT-BUG-598775?

    There are no official workarounds for REDHAT-BUG-598775; users should monitor for updates from Red Hat.

  • Where can I find more information about REDHAT-BUG-598775?

    More information about REDHAT-BUG-598775 can be found in the official Red Hat Bugzilla reports.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203