fix: bump io.netty:netty-codec to 4.1.133.Final (CVE-2026-42583)#106
Conversation
🦋 Changeset detectedLatest commit: b9e798d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Linear issue
COM-1223
Summary
Bumps the forced version of
io.netty:netty-codecfrom4.1.125.Finalto4.1.133.Finalto remediate CVE-2026-42583 (HIGH, CVSS 7.5).This aligns
netty-codecwith the already-pinnednetty-codec-http/netty-codec-http2(4.1.133.Final).CVE details
CVE-2026-42583 —
io.netty:netty-codecLz4FrameDecoder unbounded pre-allocationio.netty:netty-codec <= 4.1.132.Final4.1.133.FinalLz4FrameDecodertrusts the attacker-controlleddecompressedLengthheader (up to 32 MB) and callsctx.alloc().buffer(decompressedLength, decompressedLength)before decompressing — so a 22-byte frame can force a 32 MB allocation, enabling a memory exhaustion DoS.Real-world exposure in this codebase: very low
netty,Lz4FrameDecoder, or any compression decoder.netty-codeconly appears in the gradle lockfiles under Android Gradle Plugin's Unified Test Platform configurations (_internal-unified-test-platform-*). It ships only into the local instrumentation/test toolchain, never into the publishedevervault-*AARs that consumers ingest.Lz4FrameDecoderis not on a code path reachable from an attacker network.Despite the low real-world exposure, the repo already follows the convention of forcing every Dependabot-flagged Netty version via
resolutionStrategy.force(...), and the alert has an SLA. The currently forced version (4.1.125.Final) is vulnerable and must be bumped to the upstream fix.Changes
build.gradle.kts:force("io.netty:netty-codec:4.1.125.Final")→force("io.netty:netty-codec:4.1.133.Final")gradle.lockfiles updated to pinio.netty:netty-codec:4.1.133.Final.Upgrade risk
4.1.125 → 4.1.133is a patch-level bump within the4.1.xline; Netty maintains binary compatibility across4.1.x. The three othernetty-codec*artifacts are already at4.1.133.Finalin this repo, so no version skew is introduced.References