Io.smallrye/smallrye-graphql: smallrye graphql: unauthenticated denial of service via large exponent float literals
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat build of Quarkus 3.27.5.SP1 | affected |
|
||||||
| Red Hat | Red Hat build of Quarkus 3.33.3.SP1 | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Redhat | Build Of Quarkus |
|
Vendor Workaround
To mitigate this issue, applications exposing SmallRye GraphQL endpoints should implement validation and bounding of the precision or exponent for incoming numeric literals before they reach scalar coercion. Additionally, limiting the JVM heap size can help constrain the impact of OutOfMemoryError, though it will not prevent CPU exhaustion. Implementing rate-limiting or timeouts on the GraphQL endpoint can also reduce exposure. Using GraphQL variables instead of inline literals for numeric inputs is a safe alternative, as variables follow a secure parsing path.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.793% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:quarkus:3.27 cpe:/a:redhat:quarkus:3.33 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat build Of Quarkus
|
|
| Vendors & Products |
Redhat build Of Quarkus
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in SmallRye GraphQL. The number scalar coercion for BigInteger does not properly validate the magnitude of float or string inputs. An unauthenticated remote attacker can exploit this by sending a GraphQL query containing a large exponent float literal. This can lead to the allocation of extremely large BigInteger objects, causing CPU exhaustion or an OutOfMemoryError, resulting in a denial of service. | |
| Title | Io.smallrye/smallrye-graphql: smallrye graphql: unauthenticated denial of service via large exponent float literals | |
| First Time appeared |
Redhat
Redhat quarkus |
|
| Weaknesses | CWE-1284 | |
| CPEs | cpe:/a:redhat:quarkus:3 | |
| Vendors & Products |
Redhat
Redhat quarkus |
|
| References |
| |
| Metrics |
cvssV3_1
|