CVE-2004-2768
CVE-2004-2768 is a high-severity vulnerability in Debian Dpkg with a CVSS 2.0 base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-264.
Key facts
- Severity: High (CVSS 2.0 base score 7.2)
- EPSS exploit prediction: 0% (33rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-264
- Affected product: Debian Dpkg
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 link to a vulnerable (1) setuid file, (2) setgid file, or (3) device, a related issue to CVE-2010-2059.
- How severe is CVE-2004-2768?
- CVE-2004-2768 has a CVSS 2.0 base score of 7.2, rated high severity.
- Is CVE-2004-2768 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (33rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-2768?
- CVE-2004-2768 affects Debian Dpkg. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2004-2768?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2004-2768 published?
- CVE-2004-2768 was published on 2010-06-08 and last updated on 2026-06-16.
References
- http://lists.jammed.com/ISN/2003/12/0056.html
- http://www.hackinglinuxexposed.com/articles/20031214.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692
- https://bugzilla.redhat.com/show_bug.cgi?id=598775
- https://exchange.xforce.ibmcloud.com/vulnerabilities/59428
Affected products (1)
- cpe:2.3:a:debian:dpkg:1.9.21:*:*:*:*:*:*:*
More vulnerabilities in Debian Dpkg
- CVE-2022-1664 — Critical (CVSS 9.8): 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…
- CVE-2017-8283 — Critical (CVSS 9.8): 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…
- CVE-2025-6297 — High (CVSS 8.2): It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into…
- CVE-2026-2219 — High (CVSS 7.5): It was discovered that dpkg-deb (a component of dpkg, the Debian package management system) does not properly validate…
- CVE-2015-0860 — High (CVSS 7.5): Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x…
- CVE-2014-3127 — High (CVSS 7.1): dpkg 1.15.9 on Debian squeeze introduces support for the "C-style encoded filenames" feature without recognizing that…
All CVEs affecting Debian Dpkg →
Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities
- CVE-2016-8363 — Critical (CVSS 10.0): An issue was discovered in Moxa OnCell OnCellG3470A-LTE, AWK-1131A/3131A/4131A Series, AWK-3191 Series, AWK-5232/6232…
- CVE-2016-7457 — Critical (CVSS 10.0): VMware vRealize Operations (aka vROps) 6.x before 6.4.0 allows remote authenticated users to gain privileges, or halt…
- CVE-2015-7425 — Critical (CVSS 10.0): The Data Protection component in the VMware vSphere GUI in IBM Tivoli Storage Manager for Virtual Environments: Data…
- CVE-2015-8267 — Critical (CVSS 10.0): The PasswordReset.Controllers.ResetController.ChangePasswordIndex method in PasswordReset.dll in Dovestones AD Self…
- CVE-2015-7919 — Critical (CVSS 10.0): SearchBlox 8.3 before 8.3.1 allows remote attackers to write to the config file, and consequently cause a denial of…
- CVE-2015-7071 — Critical (CVSS 10.0): The File Bookmark component in Apple OS X before 10.11.2 allows attackers to bypass a sandbox protection mechanism for…
Browse all CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities →