Bug 2531869 - CVE-2026-84961 nodejs24: undici: TLS certificate validation bypass in BalancedPool via dropped connect options [fedora-all]
Summary: CVE-2026-84961 nodejs24: undici: TLS certificate validation bypass in Balance...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs24
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jan Staněk
QA Contact:
URL:
Whiteboard: {"flaws": ["e98ac152-818a-4c35-af7e-9...
Depends On:
Blocks: CVE-2026-84961
TreeView+ depends on / blocked
 
Reported: 2026-09-11 13:11 UTC by Samuele Negrini
Modified: 2026-09-11 13:11 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Samuele Negrini 2026-09-11 13:11:51 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

undici's BalancedPool constructor passes its entire options object through an internal deep-clone that serializes and reparses the value as JSON. Because JSON cannot represent functions, any function-valued TLS option, such as a caller-supplied checkServerIdentity callback or a custom connector inside the connect option, is silently discarded before it reaches the TLS layer. As a result a peer whose certificate the application's custom checkServerIdentity was written to reject, but which still passes Node's default hostname and chain checks, is accepted when reached through BalancedPool. The Client, Pool, and Agent dispatchers are not affected because they extract the connect and tls options before cloning. This affects undici versions from 7.24.1 up to 7.29.1 and from 8.0.0 up to 8.10.2, and only when the application supplies a function-valued connect or tls option to BalancedPool. Users should upgrade to undici 7.29.1 or 8.10.2.


Note You need to log in before you can comment on or make changes to this bug.