Uncontrolled RecursionAffected versions of this package are vulnerable to Uncontrolled Recursion in the refill function when processing LZ4 block streams with stopOnEmptyBlock set to false. An attacker can cause a thread to terminate unexpectedly by providing a stream with a large number of consecutive empty blocks, leading to stack exhaustion and application unavailability. This is only exploitable if the configuration option stopOnEmptyBlock is explicitly set to false.
How to fix Uncontrolled Recursion? Upgrade at.yawk.lz4:lz4-java to version 1.11.4 or higher.
| |
Allocation of Resources Without Limits or ThrottlingAffected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through repeated allocation of large buffers in the LZ4FrameInputStream.readHeader process. An attacker can cause excessive CPU and garbage collection usage by providing specially crafted input consisting of many minimal empty frames, leading to significant resource consumption relative to the input size.
How to fix Allocation of Resources Without Limits or Throttling? Upgrade at.yawk.lz4:lz4-java to version 1.11.4 or higher.
| |
Insecure Temporary FileAffected versions of this package are vulnerable to Insecure Temporary File in the process that extracts and loads the native library via net.jpountz.util.Native.load. An attacker can execute arbitrary code by pre-creating a malicious file in a shared temporary directory, causing the victim process to load attacker-controlled code. This is only exploitable if the temporary directory is shared and writable by multiple users, and system protections such as fs.protected_regular or fs.protected_symlinks are not enabled, or if the temporary directory lacks the sticky bit or is shared across users in containers.
How to fix Insecure Temporary File? Upgrade at.yawk.lz4:lz4-java to version 1.11.4 or higher.
| |