Preserve BalancedPool connection options

fix: preserve BalancedPool connection options
Preserve BalancedPool connection options8f5868-fix-preserve-balancedpool-connection-options-cve-2026-84961fixpreserve balancedpool connection options

Committed by mcollina

commit message
fix: preserve BalancedPool connection options

BalancedPool forwarded its options through a JSON-based deep clone, dropping function-valued connection options such as TLS certificate validation callbacks. Preserve the connect and legacy tls options outside the clone and copy object-valued options so caller mutations cannot affect new upstreams.
 
Fixes: GHSA-w293-vg96-wgc3
CVE: CVE-2026-84961
Signed-off-by: Matteo Collina <[email protected]>

Editor assessment

This commit patches CVE-2026-84961. Clear and concise. The body explains that BalancedPool forwarded options through a JSON deep clone, dropping function-valued connection options such as TLS certificate-validation callbacks, and that the fix preserves connect and legacy tls options outside the clone. The footer carries Fixes, CVE and Signed-off-by in correct token form. A scope would complete it; the message is otherwise self-sufficient. Formally the footer tokens are correct (Fixes, CVE, Signed-off-by) and the body is separated; a scope is the only optional addition.

Browse categories

More fix examples · Back to search