Update dependency io.netty:netty-handler-proxy to v4.1.133.Final [SECURITY] (main)#46
Draft
renovatebot-confluentinc[bot] wants to merge 1 commit into
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.
For any questions/concerns about this PR, please review the Renovate Bot wiki/FAQs, or the #renovatebot Slack channel.
This PR contains the following updates:
4.1.118.Final→4.1.133.FinalWarning
Some dependencies could not be looked up. Check the warning logs for more information.
Netty has HTTP Header Injection via HttpProxyHandler Disabled Validation (Incomplete Fix CVE-2025-67735)
CVE-2026-42578 / GHSA-45q3-82m4-75jr
More information
Details
Security Vulnerability Report: HTTP Header Injection via HttpProxyHandler Disabled Validation in Netty
1. Vulnerability Summary
io.netty.handler.proxy.HttpProxyHandlerCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N2. Affected Components
io.netty.handler.proxy.HttpProxyHandler—newInitialMessage()method (line 176) explicitly disables header validation viawithValidation(false)3. Vulnerability Description
Netty's
HttpProxyHandlerconstructs HTTP CONNECT requests with header validation explicitly disabled. ThenewInitialMessage()method (line 176) creates headers usingDefaultHttpHeadersFactory.headersFactory().withValidation(false), then adds user-providedoutboundHeaders(line 188-190) without any CRLF validation. This allows an attacker who can influence the outbound headers to inject arbitrary HTTP headers into the CONNECT request sent to the proxy server.Root Cause
The
outboundHeadersparameter comes from theHttpProxyHandlerconstructor (lines 80-93, 99-127), which is supplied by application code.Incomplete Fix of GHSA-84h7-rjj3-6jx4
This vulnerability represents an incomplete fix of the previously acknowledged security advisory GHSA-84h7-rjj3-6jx4.
The GHSA-84h7-rjj3-6jx4 fix addressed HTTP CRLF injection by adding URI validation via
validateRequestLineTokens()inDefaultHttpRequestand enabling header validation by default throughDefaultHttpHeadersFactory. However,HttpProxyHandlerexplicitly opts out of the fix by callingwithValidation(false), creating a gap where:outboundHeadersare added without any CRLF checkThis is not a new vulnerability class — it is the same CRLF injection that GHSA-84h7-rjj3-6jx4 was supposed to fix, but
HttpProxyHandlerwas missed during the remediation. The fix for GHSA-84h7-rjj3-6jx4 should be extended to cover this code path.4. Exploitability Prerequisites
This vulnerability is exploitable when:
HttpProxyHandlerwith user-influencedoutboundHeadersCommon affected patterns:
5. Attack Scenarios
Scenario 1: Proxy Authentication Bypass
Attack input:
userInput = "1.2.3.4\r\nProxy-Authorization: Basic YWRtaW46YWRtaW4="Wire format:
The injected
Proxy-Authorizationheader may override or supplement the original authentication, potentially granting access to a restricted proxy.Scenario 2: Request Smuggling via Proxy
Attack input:
userInput = "value\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\nGET /internal HTTP/1.1\r\nHost: internal-service"Injects a full smuggled request through the proxy tunnel establishment.
6. Proof of Concept
Full Runnable PoC Source Code (HttpProxyHeaderInjectionPoC.java)
PoC Execution Output (Verified on Netty 4.2.12.Final)
7. Remediation Recommendations
Option 1: Remove withValidation(false)
Option 2: Validate outboundHeaders Before Adding
8. Resources
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Netty has HTTP Header Injection via HttpProxyHandler Disabled Validation (Incomplete Fix CVE-2025-67735)
CVE-2026-42578 / GHSA-45q3-82m4-75jr
More information
Details
Security Vulnerability Report: HTTP Header Injection via HttpProxyHandler Disabled Validation in Netty
1. Vulnerability Summary
io.netty.handler.proxy.HttpProxyHandlerCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N2. Affected Components
io.netty.handler.proxy.HttpProxyHandler—newInitialMessage()method (line 176) explicitly disables header validation viawithValidation(false)3. Vulnerability Description
Netty's
HttpProxyHandlerconstructs HTTP CONNECT requests with header validation explicitly disabled. ThenewInitialMessage()method (line 176) creates headers usingDefaultHttpHeadersFactory.headersFactory().withValidation(false), then adds user-providedoutboundHeaders(line 188-190) without any CRLF validation. This allows an attacker who can influence the outbound headers to inject arbitrary HTTP headers into the CONNECT request sent to the proxy server.Root Cause
The
outboundHeadersparameter comes from theHttpProxyHandlerconstructor (lines 80-93, 99-127), which is supplied by application code.Incomplete Fix of GHSA-84h7-rjj3-6jx4
This vulnerability represents an incomplete fix of the previously acknowledged security advisory GHSA-84h7-rjj3-6jx4.
The GHSA-84h7-rjj3-6jx4 fix addressed HTTP CRLF injection by adding URI validation via
validateRequestLineTokens()inDefaultHttpRequestand enabling header validation by default throughDefaultHttpHeadersFactory. However,HttpProxyHandlerexplicitly opts out of the fix by callingwithValidation(false), creating a gap where:outboundHeadersare added without any CRLF checkThis is not a new vulnerability class — it is the same CRLF injection that GHSA-84h7-rjj3-6jx4 was supposed to fix, but
HttpProxyHandlerwas missed during the remediation. The fix for GHSA-84h7-rjj3-6jx4 should be extended to cover this code path.4. Exploitability Prerequisites
This vulnerability is exploitable when:
HttpProxyHandlerwith user-influencedoutboundHeadersCommon affected patterns:
5. Attack Scenarios
Scenario 1: Proxy Authentication Bypass
Attack input:
userInput = "1.2.3.4\r\nProxy-Authorization: Basic YWRtaW46YWRtaW4="Wire format:
The injected
Proxy-Authorizationheader may override or supplement the original authentication, potentially granting access to a restricted proxy.Scenario 2: Request Smuggling via Proxy
Attack input:
userInput = "value\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\nGET /internal HTTP/1.1\r\nHost: internal-service"Injects a full smuggled request through the proxy tunnel establishment.
6. Proof of Concept
Full Runnable PoC Source Code (HttpProxyHeaderInjectionPoC.java)
PoC Execution Output (Verified on Netty 4.2.12.Final)
7. Remediation Recommendations
Option 1: Remove withValidation(false)
Option 2: Validate outboundHeaders Before Adding
8. Resources
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XReferences
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 has been generated by Mend Renovate.