CVE Catalog

CVE-2004-2768

High
Published: Translated: NVD NIST

Summary

The vulnerability in dpkg 1.9.21 involves improper resetting of file metadata during file replacement in a package upgrade. A local user can exploit this by creating a hard link to a vulnerable setuid, setgid file, or device, potentially leading to privilege escalation.

Risk Assessment

The risk is that a local user may gain elevated privileges, enabling them to perform operations with another user's permissions or access sensitive system resources.

Recommendation

It is recommended to upgrade dpkg to a newer version that includes a fix for resetting file metadata during package upgrades. Also monitor the system for unauthorized hard links to setuid/setgid files.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS