Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
joeyh
· 2y ago · 0 comments
Running xz in a sandbox would not prevent an attack that causes it to modify source code in a .tar.xz that is being streamed through it.
Comments
[–]
JoshTriplett
2y ago
No, it wouldn't, but that wasn't the attack here. And code outside the sandbox could check a checksum of the uncompressed data, to ensure that the decompression can't misbehave.