3 ms·
From the post: "it may well become necessary for anybody who wants consistent results to decompress archive files before checking checksums." I'm certain there
by cratermoon 4y ago
From the post: "it may well become necessary for anybody who wants consistent results to decompress archive files before checking checksums."
I'm certain there's some exploit waiting to subvert the decompress algorithm and substitute malicious content in place of the actual archive files.
- MereInterest 4y agoDepending on the format, yes. Usually it is by exhausting some resource, such as a file that decompresses to an impossibly large dummy file. If the dummy file crashes an analyzer of the compressed archive, then other malicious files could be hidden. https://en.wikipedia.org/wiki/Zip_bomb https://en.wikipedia.org/wiki/Zip_bomb
- hamandcheese 4y agoEven before the untar phase, couldn't there be a vulnerability in: - your HTTPS stack - gzip encoded HTTP - your sha256 program
- ilyt 4y agoYou'd probably want to limit the size of decompression so no 10TB of zeroes compressed to small size. But that's not that hard