GNOME Bugzilla – Bug 707139
repo: Only apply setuid/xattrs after checksum validation
Last modified: 2013-09-02 19:37:25 UTC
See the new comment in the source; basically if we're fetching content over http, then someone with the capability to MITM the network could create a transient setuid binary on disk with arbitrary content. If they also had a process running on the system (such as an application) it could be escalated to root.
Created attachment 253630 [details] [review] repo: Only apply setuid/xattrs after checksum validation
Created attachment 253633 [details] [review] repo: Only apply setuid/xattrs after checksum validation Rebased correctly
Looks good to me, go for it.
Attachment 253633 [details] pushed as dd7d2f7 - repo: Only apply setuid/xattrs after checksum validation