CVE-2010-2059 Race condition in n/a

High 7.2 Published Updated

Local attackers can gain privileges by exploiting a race condition during RPM package upgrades involving 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-2010-2059?

CVE-2010-2059 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 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file.

Weakness: CWE-264

Which versions are affected by CVE-2010-2059?

It affects 1 product.

Linux distribution packages (18)
popt Red Hat:enterprise_linux:5::clientAll versions0:1.10.2.3-20.el5_5.1
rpm Red Hat:enterprise_linux:5::clientAll versions0:4.4.2.3-20.el5_5.1
rpm-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:4.4.2.3-20.el5_5.1
rpm-libs Red Hat:enterprise_linux:5::clientAll versions0:4.4.2.3-20.el5_5.1
rpm-python Red Hat:enterprise_linux:5::clientAll versions0:4.4.2.3-20.el5_5.1
rpm Red Hat:enterprise_linux:5::client_workstationAll versions0:4.4.2.3-20.el5_5.1
rpm-apidocs Red Hat:enterprise_linux:5::client_workstationAll versions0:4.4.2.3-20.el5_5.1
rpm-build Red Hat:enterprise_linux:5::client_workstationAll versions0:4.4.2.3-20.el5_5.1
rpm-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions0:4.4.2.3-20.el5_5.1
rpm-devel Red Hat:enterprise_linux:5::client_workstationAll versions0:4.4.2.3-20.el5_5.1
popt Red Hat:enterprise_linux:5::serverAll versions0:1.10.2.3-20.el5_5.1
rpm Red Hat:enterprise_linux:5::serverAll versions0:4.4.2.3-20.el5_5.1
rpm-apidocs Red Hat:enterprise_linux:5::serverAll versions0:4.4.2.3-20.el5_5.1
rpm-build Red Hat:enterprise_linux:5::serverAll versions0:4.4.2.3-20.el5_5.1
rpm-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:4.4.2.3-20.el5_5.1
rpm-devel Red Hat:enterprise_linux:5::serverAll versions0:4.4.2.3-20.el5_5.1
rpm-libs Red Hat:enterprise_linux:5::serverAll versions0:4.4.2.3-20.el5_5.1
rpm-python Red Hat:enterprise_linux:5::serverAll versions0:4.4.2.3-20.el5_5.1

Products include Rpm Rpm.

How do I fix CVE-2010-2059?

Apply the vendor's patch.

Is CVE-2010-2059 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-2059, GHSA-f3f6-q22p-8fh5, RHSA-2010:0679.

Is CVE-2010-2059 in your software?

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

Check your SBOMs for free