| タイトル | Espen Hovlandsdal (rexxars)のeventsource-encoderにおける複数の脆弱性 |
|---|---|
| 概要 | eventsource-encoderは、イベントを適切に形成されたEventSource/Server-Sent Event(SSE)メッセージとしてエンコードします。バージョン1.0.2以前のeventsource-encoderは、EventSourceMessageのeventまたはidフィールドをシリアライズする前にサニタイズしていませんでした。これらのフィールドのいずれかを制御できる攻撃者は、任意のServer-Sent Eventsの行区切り文字(\n、\r、または\r\n)を挿入でき、それによりストリーム上に追加のSSEフィールドやメッセージ全体を偽造することが可能でした。この脆弱性はバージョン1.0.2で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月26日0:00 |
| 登録日 | 2026年6月3日15:38 |
| 最終更新日 | 2026年6月3日15:38 |
| CVSS3.0 : 警告 | |
| スコア | 5.3 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Espen Hovlandsdal (rexxars) |
| eventsource-encoder 1.0.2 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月03日] 掲載 |
2026年6月3日15:38 |
| 概要 | 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. |
|---|---|
| 公表日 | 2026年5月27日5:16 |
| 登録日 | 2026年5月28日4:09 |
| 最終更新日 | 2026年5月28日23:30 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:rexxars:eventsource-encoder:*:*:*:*:*:node.js:*:* | 1.0.2 | ||||