漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Netty: HAProxy V1 Protocol CRLF Injection via AF_UNIX Address
Vulnerability Description
Netty is an asynchronous, event-driven network application framework. In versions prior to 4.1.136.Final and 4.2.16.Final, Netty's HAProxy encoder ( HAProxyMessageEncoder ) writes AF_UNIX source and destination socket addresses into the HAProxy V1 text protocol without validating them for CRLF characters, so an attacker who controls an AF_UNIX address can inject \r\n sequences and split the single PROXY header into multiple lines. This is possible because the V1 protocol uses CRLF as its line terminator and, unlike IPv4/IPv6 addresses whose format checks implicitly reject CRLF, AF_UNIX addresses are only validated for length (up to 108 bytes), allowing a forged second PROXY header line that spoofs the client source/destination IP to a downstream server or load balancer. The issue is fixed in versions 4.1.136.Final and 4.2.16.Final.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Vulnerability Title
Netty 输入验证错误漏洞
Vulnerability Description
Netty是Netty团队开源的一款非阻塞I/O客户端-服务器框架,它主要用于开发Java网络应用程序,如协议服务器和客户端等。 Netty 4.1.136.Final之前版本和4.2.16.Final之前版本存在输入验证错误漏洞,该漏洞源于HAProxyMessageEncoder在将AF_UNIX地址写入HAProxy V1文本协议时未对CRLF字符进行验证,导致攻击者可通过注入\r\n序列分割PROXY头,从而伪造客户端源/目标IP,欺骗下游服务器或负载均衡器。
CVSS Information
N/A
Vulnerability Type
N/A