For caching purposes.
Comment on Debian, Ubuntu and derivatives hit by APT flaw that could give attackers root access
magic_smoke@lemmy.blahaj.zone 1 week ago
I’m kinda surprised apt even allows http over https without a flag or config change.
andho@lemmy.zip 1 week ago
Lee@retrolemmy.com 1 week ago
I’m having trouble finding the exact details of the problem, but http was supposed to be fine because it does a signature check of the package (that’s what the apt keys are for), meaning even if someone were to MITM you, the signature check would fail.
If I’m understanding the Debian security announcement correctly, it says there’s a way a redirect can cause a package to replace another. I don’t understand why this in itself is a problem unless it’s also bypassing the signature check (which I’d expect to happen as part of the installation process, not prior to download completion), but in that case it seems to me the heart of the bug isn’t using http as http allowing MITM and manipulations is a given. The actual issue is bypassing the signature check, but I’ve not seen any articles explain that.