graphql-scalars PhoneNumber scalar is vulnerable to regular expression denial of service
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| graphql-hive | graphql-scalars | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Graphql-hive | Graphql-scalars |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x8rm-f576-gq67 | graphql-scalars PhoneNumber scalar is vulnerable to regular expression denial of service |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.487% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Graphql-hive
Graphql-hive graphql-scalars |
|
| Vendors & Products |
Graphql-hive
Graphql-hive graphql-scalars |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | graphql-scalars PhoneNumber scalar is vulnerable to regular expression denial of service | |
| Weaknesses | CWE-1333 | |
| References |
|
|
| Metrics |
cvssV3_1
|