Skip to content
High 7.5

graphql-scalars 2.0.1 未満で正規表現の過負荷により高負荷状態になるおそれ

CVE-2026-115887 First seen on SecPulse

Summary

graphql-scalars の PhoneNumber スカラーに、正規表現の処理が極端に長くなる脆弱性(CWE-1333)が見つかりました。バージョン 1.24.1 から 2.0.1 未満が対象で、認証前の小さなリクエストでもNode.js のイベントループが止まり、サーバーが応答しなくなるおそれがあります。 修正版は 2.0.1 です。速やかに 2.0.1 以降へ更新してください。

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

graphql-scalars の PhoneNumber スカラーに、正規表現の処理が極端に長くなる脆弱性(CWE-1333)が見つかりました。バージョン 1.24.1 から 2.0.1 未満が対象で、認証前の小さなリクエストでもNode.js のイベントループが止まり、サーバーが応答しなくなるおそれがあります。 修正版は 2.0.1 です。速やかに 2.0.1 以降へ更新してください。

Affected packages

EcosystemPackageAffectedFixed
graphql-hive graphql-scalars — —
Original description The description as published by the source.

GraphQL Scalars is a library of custom GraphQL scalars for creating precise type-safe GraphQL schemas. From 1.24.1 until 2.0.1, GraphQLPhoneNumber in src/scalars/PhoneNumber.ts uses ambiguous nested digit quantifiers that backtrack exponentially when a PhoneNumber value contains a run of digits followed by a character that makes the match fail. GraphQL evaluates parseLiteral during document validation and parseValue during variable coercion before resolver authentication or authorization, so a small unauthenticated request can block the Node.js event loop and stall the server process. serialize is also affected when unvalidated stored values are returned through the scalar. This issue is fixed in version 2.0.1.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details