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.
https://exchange.xforce.ibmcloud.com/vulnerabilities/59428
https://euvd.enisa.europa.eu/vulnerability/EUVD-2004-2758
https://bugzilla.redhat.com/show_bug.cgi?id=598775
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225692