漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse
Vulnerability Description
Impact:
When using Socks5ProxyAgent, undici reuses a single connection pool across different origins without verifying that the pool's origin matches the requested origin. All requests are dispatched through the pool connected to the first origin, regardless of the intended destination.
This causes cross-origin request routing: credentials and request data intended for origin B are sent to origin A, responses from the wrong origin are trusted, and HTTPS requests may be silently downgraded to HTTP.
Impacted users are applications that use Socks5ProxyAgent (directly or via setGlobalDispatcher) and make requests to more than one origin.
This was introduced in undici 7.23.0 via PR #4385 and affects all versions through 8.1.0.
Patches:
Upgrade to undici v7.26.0 or v8.2.0.
Workarounds:
Use a separate Socks5ProxyAgent instance per origin, or avoid using Socks5ProxyAgent with multiple origins.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
源验证错误
Vulnerability Title
Node.js undici 输入验证错误漏洞
Vulnerability Description
Node.js undici是Node.js基金会开源的一个HTTP/1.1客户端。 Node.js undici存在输入验证错误漏洞,该漏洞源于使用Socks5ProxyAgent时,未验证连接池的来源是否与请求的来源匹配,导致跨源请求路由,凭证和请求数据被发送到错误来源,响应被错误信任,且HTTPS请求可能被静默降级为HTTP。以下版本受到影响:7.23.0版本至8.1.0及之前版本。
CVSS Information
N/A
Vulnerability Type
N/A