8.7high
Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers
- Severity
- 8.7high CVSS:4.0 by AMZN
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- AMZN
- Also known as
- GHSA-8ffr-xgwf-xj56
Description
Uncontrolled recursion in the unknown-key skip path of the aws-smithy-json runtime crate before 0.62.7, which the smithy-rs code generator invokes from every generated struct deserializer, might allow remote unauthenticated users to cause a denial of service (process abort via stack exhaustion) via a single small HTTP request containing deeply nested JSON to a smithy-rs generated server. To remediate this issue, users should upgrade to aws-smithy-json 0.62.7 or later and rebuild.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AWS aws-smithy-json | from 0.32.0 up to 0.62.6 | CVE List |
| aws-smithy-json (crates.io) | before 0.62.7 | GitHub Advisory Database |
| amazon aws-smithy-json | before 0.62.7 | NVD |
All scores
| AMZN | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| AMZN | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Uncontrolled recursion in the unknown-key skip path of the aws-smithy-json runtime crate before 0.62.7, which the smithy-rs code generator invokes from every generated struct deserializer, might allow remote unauthenticated users to cause a denial of service (process abort via stack exhaustion) via a single small HTTP request containing deeply nested JSON to a smithy-rs generated server. To remediate this issue, users should upgrade to aws-smithy-json 0.62.7 or later and rebuild.
GitHub Advisory Database
Summary
Smithy-RS is a Rust code generation and runtime framework that generates HTTP clients and servers from Smithy interface definitions, powering the AWS SDK for Rust and custom service implementations. An issue exists which allows uncontrolled recursion in the unknown-key skip path of the Amazon aws-smithy-json runtime crate in versions 0.62.6 and earlier.
Impact
Uncontrolled recursion in the unknown-key skip path of the aws-smithy-json runtime crate before 0.62.7, which the smithy-rs code generator invokes from every generated struct deserializer, might allow remote unauthenticated users to cause a denial of service (process abort via stack exhaustion) via a single small HTTP request containing deeply nested JSON to a smithy-rs generated server.
Impacted versions: aws-smithy-json <= 0.62.6
Patches
This issue has been addressed in aws-smithy-json version 0.62.7. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
Workarounds
There are no workarounds besides updating to the patched version.
References
If you have any questions or comments about this advisory, AWS asks that you contact [AWS/Amazon] Security via their vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.
NVD (es)
Recursión incontrolada en la ruta de omisión de clave desconocida del crate de tiempo de ejecución aws-smithy-json anterior a 0.62.7, que el generador de código smithy-rs invoca desde cada deserializador de estructura generado, podría permitir a usuarios remotos no autenticados causar una denegación de servicio (aborto de proceso por agotamiento de pila) a través de una única pequeña solicitud HTTP que contiene JSON profundamente anidado a un servidor generado por smithy-rs. Para remediar este problema, los usuarios deberían actualizar a aws-smithy-json 0.62.7 o posterior y reconstruir.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18140 changed 2026-07-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8ffr-xgwf-xj56 changed 2026-10-02 | CC-BY-4.0 |
| NVD | CVE-2026-18140 changed 2026-10-23 | Public domain |