{"api_version":"1","generated_at":"2026-07-23T10:41:08+00:00","cve":"CVE-2004-2768","urls":{"html":"https://cve.report/CVE-2004-2768","api":"https://cve.report/api/cve/CVE-2004-2768.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-2768","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-2768"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2010-06-08 18:30:07","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.2","severity":"","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.hackinglinuxexposed.com/articles/20031214.html","name":"http://www.hackinglinuxexposed.com/articles/20031214.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Hacking Linux Exposed","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=598775","name":"https://bugzilla.redhat.com/show_bug.cgi?id=598775","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 598775 – CVE-2010-2059 rpm: fails to drop SUID/SGID bits on package upgrade","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692","name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#225692 - dpkg: Allows users to stash away vulnerable versions of setuid binaries - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/59428","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/59428","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.jammed.com/ISN/2003/12/0056.html","name":"http://lists.jammed.com/ISN/2003/12/0056.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"ISN 2003/12: [ISN] The mysteriously persistently exploitable pr","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-2768","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2768","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2004","cve_id":"2768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"debian","cpe5":"dpkg","cpe6":"1.9.21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T01:36:25.375Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"dpkg-setgid-privilege-escalation(59428)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/59428"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.hackinglinuxexposed.com/articles/20031214.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692"},{"name":"[isn] 20031215 The mysteriously persistently exploitable program explained.","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://lists.jammed.com/ISN/2003/12/0056.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=598775"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-03-08T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-16T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"dpkg-setgid-privilege-escalation(59428)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/59428"},{"tags":["x_refsource_MISC"],"url":"http://www.hackinglinuxexposed.com/articles/20031214.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692"},{"name":"[isn] 20031215 The mysteriously persistently exploitable program explained.","tags":["mailing-list","x_refsource_MLIST"],"url":"http://lists.jammed.com/ISN/2003/12/0056.html"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=598775"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-2768","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"dpkg-setgid-privilege-escalation(59428)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/59428"},{"name":"http://www.hackinglinuxexposed.com/articles/20031214.html","refsource":"MISC","url":"http://www.hackinglinuxexposed.com/articles/20031214.html"},{"name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692","refsource":"CONFIRM","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692"},{"name":"[isn] 20031215 The mysteriously persistently exploitable program explained.","refsource":"MLIST","url":"http://lists.jammed.com/ISN/2003/12/0056.html"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=598775","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=598775"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-2768","datePublished":"2010-06-08T18:00:00.000Z","dateReserved":"2010-06-08T00:00:00.000Z","dateUpdated":"2024-08-08T01:36:25.375Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2010-06-08 18:30:07","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:debian:dpkg:1.9.21:*:*:*:*:*:*:*","matchCriteriaId":"C3122762-BEF0-4988-BED9-4D8592C24CEC"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"2768","Ordinal":"1","Title":"CVE-2004-2768","CVE":"CVE-2004-2768","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"2768","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2004-2768"},{"CveYear":"2004","CveId":"2768","Ordinal":"2","NoteData":"2010-06-08","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"2768","Ordinal":"3","NoteData":"2017-08-16","Type":"Other","Title":"Modified"}]}}}