CVE-2004-2768 Privilege escalation in n/a

High 7.2 Published Updated

Local attackers can gain privileges by exploiting improper metadata reset during package upgrades via hard links to setuid or device 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-2004-2768?

CVE-2004-2768 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

dpkg 1.9.21 does not properly reset the metadata of a file during replacement of the file in a package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid file, (2) setgid file, or (3) device, a related issue to CVE-2010-2059.

Weakness: CWE-264

Which versions are affected by CVE-2004-2768?

It affects 1 product.

Products include Debian Dpkg.

How do I fix CVE-2004-2768?

Upgrade to a fixed version.

Is CVE-2004-2768 being exploited?

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

Sources

Also known as DEBIAN-CVE-2004-2768, GHSA-qrp8-65v4-pc63.

Is CVE-2004-2768 in your software?

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

Check your SBOMs for free