| タイトル | fastifyのfastify/accepts-serializerにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性 |
|---|---|
| 概要 | @fastify/accepts-serializerは、リクエストのAcceptヘッダーに基づくシリアライザー選択の結果を、サイズ制限や削除ポリシーなしにキャッシュしていました。リモートの認証されていないクライアントが、多数の異なるが一致するAcceptヘッダーのバリアントを送信することでキャッシュが無制限に増大し、最終的にNode.jsのヒープを枯渇させてプロセスをクラッシュさせる可能性があります。バージョン6.0.3以下が影響を受けます。6.0.4以降に更新することで、このキャッシュはデフォルトで100エントリのLRUによって制限されるようになり、新しいcacheSizeプラグインオプションを通じて設定可能です。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月4日0:00 |
| 登録日 | 2026年6月3日17:04 |
| 最終更新日 | 2026年6月3日17:04 |
| CVSS3.0 : 重要 | |
| スコア | 7.5 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| fastify |
| fastify/accepts-serializer 6.0.4 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月03日] 掲載 |
2026年6月3日17:04 |
| 概要 | @fastify/accepts-serializer cached serializer-selection results keyed by the request Accept header without a size limit or eviction policy. A remote unauthenticated client could send many distinct but matching Accept header variants to make the cache grow unbounded, eventually exhausting the Node.js heap and crashing the process. Versions <= 6.0.3 are affected. Update to 6.0.4 or later, which bounds the cache via an LRU with a default size of 100 entries, configurable through the new cacheSize plugin option. |
|---|---|
| 公表日 | 2026年5月5日5:16 |
| 登録日 | 2026年5月6日4:07 |
| 最終更新日 | 2026年5月8日0:11 |