Skip to content
Noroxi
CVE-2005-4889· NVD / CVE Program· CNA mitre

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 remov

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.

HighCVSS 7.2 · v2.0—No exploit Fix available
Published
Jun 8, 2010
Updated
Jun 16, 2026
EPSS
0.3% · 23th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.2 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

Affected systems

VendorProduct
rpmrpm

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • rpm rpmup to 4.4.2.3 inclusive
  • rpm rpm1.2
  • rpm rpm1.3
  • rpm rpm1.3.1
  • rpm rpm1.4
  • rpm rpm1.4.2
  • rpm rpm1.4.2/a
  • rpm rpm1.4.3
  • rpm rpm1.4.4
  • rpm rpm1.4.5
  • rpm rpm1.4.6
  • rpm rpm1.4.7
  • rpm rpm2..4.10
  • rpm rpm2.0
  • rpm rpm2.0.1
  • rpm rpm2.0.10
  • rpm rpm2.0.11
  • rpm rpm2.0.2
  • rpm rpm2.0.3
  • rpm rpm2.0.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12rpmbefore 4.7.0-14.7.0-1
Red Hat:enterprise_linux:4::aspoptbefore 0:1.9.1-33_nonptl.el4_8.10:1.9.1-33_nonptl.el4_8.1
Red Hat:enterprise_linux:4::asrpmbefore 0:4.3.3-33_nonptl.el4_8.10:4.3.3-33_nonptl.el4_8.1
Red Hat:enterprise_linux:4::asrpm-buildbefore 0:4.3.3-33_nonptl.el4_8.10:4.3.3-33_nonptl.el4_8.1
Red Hat:enterprise_linux:4::asrpm-debuginfobefore 0:4.3.3-33_nonptl.el4_8.10:4.3.3-33_nonptl.el4_8.1
Red Hat:enterprise_linux:4::asrpm-develbefore 0:4.3.3-33_nonptl.el4_8.10:4.3.3-33_nonptl.el4_8.1
Red Hat:enterprise_linux:4::asrpm-libsbefore 0:4.3.3-33_nonptl.el4_8.10:4.3.3-33_nonptl.el4_8.1
Red Hat:enterprise_linux:4::asrpm-pythonbefore 0:4.3.3-33_nonptl.el4_8.10:4.3.3-33_nonptl.el4_8.1

Same product

rpm: all records

Other highest-scoring records for the same primary product.

  • CVE-2014-8118Integer overflow in RPM 4.12 and earlier allows remote attackers to execute arbitrary code via a crafted CPIO header in the payload section
    42Plan
  • CVE-2011-3378RPM 4.4.x through 4.9.x, probably before 4.9.1.2, allows remote attackers to cause a denial of service (memory corruption) and possibly exec
    39Monitor
  • CVE-2013-6435Race condition in RPM 4.11.1 and earlier allows remote attackers to execute arbitrary code via a crafted RPM file whose installation extract
    32Monitor
  • CVE-2017-7500It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changin
    31Monitor
  • CVE-2017-7501It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM.
    31Monitor
  • CVE-2021-20271A flaw was found in RPM's signature check functionality when reading a package file.
    28Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rpm4.7.0-1 · Debian:12Package registry (OSV)
red hat:popt0:1.9.1-33_nonptl.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:rpm0:4.3.3-33_nonptl.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:rpm-build0:4.3.3-33_nonptl.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:rpm-debuginfo0:4.3.3-33_nonptl.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:rpm-devel0:4.3.3-33_nonptl.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:rpm-libs0:4.3.3-33_nonptl.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:rpm-python0:4.3.3-33_nonptl.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
C · data can be read
Integrity
C · data or configuration can be modified
Availability
C · the service can be disrupted
Attack complexity
Low
Confidentiality impact
C
Integrity impact
C
Availability impact
C

CVSS vector

AV:L/AC:L/Au:N/C:C/I:C/A:C

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records