3 ms·
> When apk is pulling packages, it extracts them into / before checking that the hash matches what the signed manifest says it should be. Pros: downloading and
by justinsaccount 8y ago
> When apk is pulling packages, it extracts them into / before checking that the hash matches what the signed manifest says it should be.
Pros: downloading and installing packages is faster.
Cons: vulnerabilities like this.
Reading the commit message in https://github.com/alpinelinux/apk-tools/commit/6484ed9849f03971eb48ee1fdc21a2f128247eb1 https://github.com/alpinelinux/apk-tools/commit/6484ed9849f0... I'm not convinced they fixed it.
- justicz 8y agoJust to preempt some replies to this I can already picture: if you find more bugs, please report them to the maintainers I mentioned in the post and not via an HN comment!
- justinsaccount 8y agoOf course :-)
- tinus_hn 8y agoThat has to be one of the more moronic ideas I’ve seen in a long time.