CVE-2025-58057 unbounded memory allocation in Netty's BrotliDecoder allows OOM via zip-bomb#636
Closed
CVE-2025-58057 unbounded memory allocation in Netty's BrotliDecoder allows OOM via zip-bomb#636
Conversation
…1.125.Final Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/c03fb27d-b3be-4bcc-8220-a491f941ef15 Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Exclude transitive Netty dependencies from BOM
Fix CVE-2025-58057: pin transitive Netty to 4.1.125.Final via netty-bom
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CVE-2025-58057 (CVSS 7.5) — unbounded memory allocation in Netty's
BrotliDecoderallows OOM via zip-bomb. Affectsnetty-codec/netty-codec-compression≤ 4.1.124.Final. OpenDJ doesn't use Netty directly but may inherit a vulnerable version transitively through theorg.openidentityplatform.commons:parentBOM (3.1.0).Change
Added
io.netty:netty-bom:4.1.125.Finalas a BOM import in<dependencyManagement>in the rootpom.xml, placed after the commons parent import so it takes precedence:BOM imports don't support
<exclusions>, so a version-override via a later BOM import is the standard Maven approach. Any transitive Netty artifact will now resolve to the patched 4.1.125.Final.Original prompt
This pull request was created from Copilot chat.