Repository navigation
fix(deps): update dependency io.netty:netty-codec to v4.1.133.final [security] - #5
renovate[bot] wants to merge 2 commits into
Conversation
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
Closing to force Renovate to recreate this PR with the regen workflow removed from main — experiment to observe whether Renovate writes verification-metadata itself. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
4.1.119.Final→4.1.133.FinalNetty's decoders vulnerable to DoS via zip bomb style attack
CVE-2025-58057 / GHSA-3p8m-j85q-pgmj
More information
Details
Summary
With specially crafted input,
BrotliDecoderand some other decompressing decoders will allocate a large number of reachable byte buffers, which can lead to denial of service.Details
BrotliDecoder.decompresshas no limit in how often it callspull, decompressing data 64K bytes at a time. The buffers are saved in the output list, and remain reachable until OOM is hit. This is basically a zip bomb.Tested on 4.1.118, but there were no changes to the decoder since.
PoC
Run this test case with
-Xmx1G:Error:
Impact
DoS for anyone using
BrotliDecoderon untrusted input.Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Netty Lz4FrameDecoder is vulnerable to resource exhaustion
CVE-2026-42583 / GHSA-mj4r-2hfc-f8p6
More information
Details
Summary
Lz4FrameDecoder allocates a ByteBuf of size
decompressedLength(up to 32 MB per block) before LZ4 runs. A peer only needs a 21-byte header pluscompressedLengthpayload bytes - 22 bytes ifcompressedLength == 1- to force that allocation.Details
io.netty.handler.codec.compression.Lz4FrameDecoder#decode
Header fields are trusted for sizing. On the compressed path, after
readableBytes >= compressedLength, the decoder doesctx.alloc().buffer(decompressedLength, decompressedLength)then decompresses.PoC
The test below demonstrates how an attacker sending 22 bytes will force the server to allocate 32MB
Impact
Untrusted senders without per-channel / aggregate limits can stress memory with many small requests.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.