漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
eventsource-encoder: SSE event injection via unsanitized event and id fields
Vulnerability Description
eventsource-encoder encodes events as well-formed EventSource/Server Sent Event (SSE) messages. Prior to 1.0.2, eventsource-encoder does not sanitize the event or id fields of an EventSourceMessage before serializing them. An attacker who controls either field can inject arbitrary Server-Sent Events line terminators (\n, \r, or \r\n) and thereby forge additional SSE fields or entire messages on the stream. This vulnerability is fixed in 1.0.2.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Vulnerability Title
eventsource-encoder 注入漏洞
Vulnerability Description
eventsource-encoder是Espen Hovlandsdal个人开发者的一个服务端事件编码工具。 eventsource-encoder 1.0.2之前版本存在注入漏洞,该漏洞源于序列化EventSourceMessage时未清理事件或ID字段,攻击者控制任一字段可注入任意服务器发送事件行终止符,从而伪造额外SSE字段或消息。
CVSS Information
N/A
Vulnerability Type
N/A