3 ms·
> Otherwise, it could also attack the decompression, not just through security holes, but also through denial of service (by injecting something that explodes i
by Benjamin_Dobell 10y ago
> Otherwise, it could also attack the decompression, not just through security holes, but also through denial of service (by injecting something that explodes in size on decompression).
> This is a general principle! You should neither decompress, nor decrypt, nor unpack/untar, nor parse (XML/JSON/...), nor anything else before the signature check.
Google have stated that they're going to be decompressing, patching and recompressing data in an attempt to recreate the original data stream - simply to perform a signature check.
So, whilst minimising the attack surface is a great goal in general, your advice is not relevant here. They're already vulnerable to having their decompression, patching and compression software attacked.
- deleted 10y ago[deleted]
- leni536 10y agoYour old apk is already signed. I guess it would make sense to sign the patch too (if they don't do it already).