strawberryのStrawberry GraphQLにおけるリソースの枯渇に関する脆弱性
タイトル strawberryのStrawberry GraphQLにおけるリソースの枯渇に関する脆弱性
概要

Strawberry GraphQLはGraphQL APIを作成するためのライブラリです。バージョン0.172.0から0.315.6の間では、StrawberryのMaxAliasesLimiter拡張機能がFragmentSpreadNodeの乗算・増幅効果を考慮していませんでした。AST内の静的エイリアスは正しくカウントしますが、実行中にフラグメントの内部エイリアスが何回展開されるかを考慮していませんでした。これにより、攻撃者がエイリアス制限を回避し、サーバーに許可されたエイリアス数を大幅に超えて解決・レンダリングさせることができ、リソースが枯渇してDoSを引き起こす可能性があります。バージョン0.315.7でこの問題は修正されました。

想定される影響 ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアの一部が停止する可能性があります。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月4日0:00
登録日 2026年6月8日12:31
最終更新日 2026年6月8日12:31
CVSS3.0 : 警告
スコア 5.3
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
影響を受けるシステム
strawberry
Strawberry GraphQL 0.172.0 以上 0.315.7 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年06月08日]
  掲載
2026年6月8日12:31

NVD脆弱性情報
CVE-2026-47707
概要

Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.172.0 through0.315.6, the MaxAliasesLimiter extension in Strawberry fails to account for the multiplicative/amplification effect of FragmentSpreadNode. While it correctly counts static aliases within the AST it does not consider how many times a fragments internal aliases are expanded during execution. this allows an attacker to bypass alias limits and force the server to resolve and render a significantly higher number of aliases than allowed, potentially leading to a dos via resource exhaustion. Version 0.315.7 contains a fix for the issue.

公表日 2026年6月5日0:16
登録日 2026年6月5日4:10
最終更新日 2026年6月6日2:38
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:strawberry:strawberry_graphql:*:*:*:*:*:python:*:* 0.172.0 0.315.7
関連情報、対策とツール
共通脆弱性一覧