{"id":"CVE-2004-2768","aliases":["DEBIAN-CVE-2004-2768","EUVD-2004-2758","GHSA-qrp8-65v4-pc63"],"status":"published","title":"dpkg 1.9.21 does not properly reset the metadata of a file during replacement of the file in a...","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.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00411,"percentile":0.35592,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264"],"published":"2010-06-08T18:00:00Z","modified":"2026-10-21T15:47:38Z","fixes":[{"ecosystem":"Debian:12","package":"dpkg","fixed_in":["1.10.19"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"dpkg","fixed_in":["1.10.19"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"dpkg","fixed_in":["1.10.19"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.19"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.19"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"dpkg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.19"}]}]}],"products":[{"vendor":"debian","product":"dpkg"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/59428","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.hackinglinuxexposed.com/articles/20031214.html","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://lists.jammed.com/ISN/2003/12/0056.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=598775","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2768"},{"url":"https://github.com/advisories/GHSA-qrp8-65v4-pc63"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-2768","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-2768","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.","status":"published","published":"2010-06-08T18:00:00Z","modified":"2024-08-08T01:36:25.375Z","updated_at":"2026-11-02T14:34:53.357376Z"}],"euvd":[{"id":"EUVD-2004-2758","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.","status":"published","published":"2010-06-08T18:00:00Z","modified":"2024-08-08T01:36:25Z","updated_at":"2026-11-03T01:15:09.127613Z"}],"ghsa":[{"id":"GHSA-qrp8-65v4-pc63","title":"dpkg 1.9.21 does not properly reset the metadata of a file during replacement of the file in a...","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.","status":"published","published":"2022-04-29T03:02:04Z","modified":"2023-01-30T05:04:21Z","updated_at":"2026-11-02T14:47:01.801326Z"}],"nvd":[{"id":"CVE-2004-2768","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.","status":"published","published":"2010-06-08T18:30:07.74Z","modified":"2026-06-16T22:10:18.853Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"CVE-2004-2768","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.","status":"published","published":"2010-06-08T18:30:07Z","modified":"2026-04-10T03:36:47.979951Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-2768","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.","status":"published","published":"2010-06-08T18:30:07.74Z","modified":"2026-10-21T15:47:38.51289337Z","updated_at":"2026-11-02T15:45:22.55978Z"}]}}
