fix(deps): update dependency org.eclipse.jetty:jetty-server to v12.0.32 [security]#312
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update dependency org.eclipse.jetty:jetty-server to v12.0.32 [security]#312renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
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.
This PR contains the following updates:
12.0.17→12.0.32GitHub Vulnerability Alerts
CVE-2026-1605
Description (as reported)
There is a memory leak when using
GzipHandlerin jetty-12.0.30 that can cause off-heap OOMs. This can be used for DoS attacks so I'm reporting this as a vulnerability.The leak is created by requests where the request is inflated (
Content-Encoding: gzip) and the response is not deflated (noAccept-Encoding: gzip). In these conditions, a new inflator will be created byGzipRequestand never released back intoGzipRequest.__inflaterPoolbecausegzipRequest.destory()is not called.In heap dumps one can see thousands of
java.util.zip.Inflatorobjects, which use both Java heaps and native memory. Leaking native memory causes of off-heap OOMs.Code path in
GzipHandler.handle():GzipRequestis created when request inflation is needed.GzipResponseAndCallbackwhen both inflation and deflation are needed.gzipRequest.destroy()is only called in the "request not accepted" path (returns false)When deflation is needed,
GzipResponseAndCallback(lines 102 and 116) properly callsgzipRequest.destroy()in itssucceeded()andfailed()methods. But this wrapper is only created when deflation is needed.Possible fix:
The callback should be wrapped whenever a
GzipRequestis created, not just when deflation is needed. This ensuresgzipRequest.destroy()is always called when the request completes.Impact
The leak causes the JVM to crash with OOME.
Patches
No patches yet.
Workarounds
Disable
GzipHandler.References
https://github.com/jetty/jetty.project/issues/14260
https://gitlab.eclipse.org/security/cve-assignment/-/issues/79
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 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.