2 comments

  • kikdij 5 hours ago ago

    I don't get it, where is this buffer stored? Is it just in memory? If so, is it an issue only if you uncompress several archives at once in the same process?

    • st_goliath 4 hours ago ago

      Some examples from the top of my head:

      Suppose you are doing transport compression with Zstd, an attacker could trick your endpoint to reveal data from other, unrelated streams that are none of their business.

      Also, some filesystems can use Zstd for transparent compression (e.g. Btrfs, UBIFS). In theory, if this issue exists with the in-kernel version and an attacker can trigger it somehow, filesystem permissions could be circumvented.