Unscored severity · published Jun 8, 2010
CVE-2004-2768
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…
–
CVSS
0.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DP
Dpkg · Debian
1.9.21 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2004-2768
CVE.org
https://www.cve.org/CVERecord?id=CVE-2004-2768
Exploit
http://lists.jammed.com/ISN/2003/12/0056.html
Exploit
http://www.hackinglinuxexposed.com/articles/20031214.html
bugs.debian.org
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=598775
exchange.xforce.ibmcloud.com
https://exchange.xforce.ibmcloud.com/vulnerabilities/59428
More from Dpkg
9.8
CVE-2022-1664
Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversal vulnerability
9.8
CVE-2017-8283
dpkg-source in dpkg 1.3.0 through 1.18.23 is able to use a non-GNU patch program and does not offer a protection mechanism for blank-indented diff hunks, which allows remote…
8.2
CVE-2025-6297
It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is documented as being a safe…
7.5
CVE-2026-2219
It was discovered that dpkg-deb (a component of dpkg, the Debian package management system) does not properly validate the end of the data stream when uncompressing a…
–
CVE-2015-0860
Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.x before 1.17.26 allows remote attackers…
