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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dpkg | 1.10.19 | — |
| Debian 13 | dpkg | 1.10.19 | — |
| Debian 12 | dpkg | 1.10.19 | — |
References
- dpkg-setgid-privilege-escalation(59428) vdb-entry
- http://www.hackinglinuxexposed.com/articles/20031214.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692
- [isn] 20031215 The mysteriously persistently exploitable program explained. mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=598775