fastifyのfastify/accepts-serializerにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
| Title |
fastifyのfastify/accepts-serializerにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
|
| Summary |
@fastify/accepts-serializerは、リクエストのAcceptヘッダーに基づくシリアライザー選択の結果を、サイズ制限や削除ポリシーなしにキャッシュしていました。リモートの認証されていないクライアントが、多数の異なるが一致するAcceptヘッダーのバリアントを送信することでキャッシュが無制限に増大し、最終的にNode.jsのヒープを枯渇させてプロセスをクラッシュさせる可能性があります。バージョン6.0.3以下が影響を受けます。6.0.4以降に更新することで、このキャッシュはデフォルトで100エントリのLRUによって制限されるようになり、新しいcacheSizeプラグインオプションを通じて設定可能です。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 4, 2026, midnight |
| Registration Date |
June 3, 2026, 5:04 p.m. |
| Last Update |
June 3, 2026, 5:04 p.m. |
|
CVSS3.0 : 重要
|
| Score |
7.5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected System
| fastify |
|
fastify/accepts-serializer 6.0.4 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月03日] 掲載 |
June 3, 2026, 5:04 p.m. |
NVD Vulnerability Information
CVE-2026-7768
| Summary |
@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.
|
| Publication Date |
May 5, 2026, 5:16 a.m. |
| Registration Date |
May 6, 2026, 4:07 a.m. |
| Last Update |
May 8, 2026, 12:11 a.m. |
Related information, measures and tools
Common Vulnerabilities List