News for hackers. Stuff that matters.
Re:Reflections on Distrusting xz by joeyh on Wednesday April 03, 2024 @07:57AM (#39916284)
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.
Re:Reflections on Distrusting xz by JoshTriplett on Wednesday April 03, 2024 @09:32AM (#39917219)
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.