CVE-2005-4889 Race condition in n/a

High 7.2 Published Updated

Local attackers can gain privileges by exploiting a race condition during RPM package removal via hard links to setuid or setgid files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2005-4889?

CVE-2005-4889 is a high-severity vulnerability in n/a, published on 8 Jun 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-264

Which versions are affected by CVE-2005-4889?

It affects 1 product.

Products include Rpm Rpm.

How do I fix CVE-2005-4889?

Upgrade to a fixed version.

Is CVE-2005-4889 being exploited?

There is no known exploitation of CVE-2005-4889 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2005-4889, GHSA-pfqv-vjx4-pmxj.

Is CVE-2005-4889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free