Bug 625756 (CVE-2005-4889) - CVE-2005-4889 rpm: fails to drop SUID/SGID bits on package removal
Summary: CVE-2005-4889 rpm: fails to drop SUID/SGID bits on package removal
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2005-4889
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 125517 626709 626710
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-20 11:23 UTC by Tomas Hoger
Modified: 2021-10-19 09:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 09:13:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0678 0 normal SHIPPED_LIVE Moderate: rpm security update 2010-09-07 14:35:00 UTC

Description Tomas Hoger 2010-08-20 11:23:23 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2005-4889 to the following vulnerability:

lib/fsm.c in RPM before 4.4.3 does not properly reset the metadata of an executable file during deletion of the file in an RPM package removal, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file, a related issue to CVE-2010-2059. 

References:
https://bugzilla.redhat.com/show_bug.cgi?id=125517
https://bugzilla.redhat.com/show_bug.cgi?id=598775
http://xforce.iss.net/xforce/xfdb/59426

This issue was fixed in Fedora rpm some time ago via bug #125517.  RPM versions in Red Hat Enterprise Linux 3 and 4 do not contain the fix and are affected.

Comment 3 errata-xmlrpc 2010-09-07 14:35:25 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2010:0678 https://rhn.redhat.com/errata/RHSA-2010-0678.html


Note You need to log in before you can comment on or make changes to this bug.