CVE-2026-18140
aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | aws-smithy-json | <= 0.62.6 | 0.62.7 |
Betroffene Produkte · Amazon
| Produkt | Betroffene Versionen |
|---|---|
| Aws-smithy-json | vor 0.62.7 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-8ffr-xgwf-xj56
- https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-8ffr-xgwf-xj56
- https://nvd.nist.gov/vuln/detail/CVE-2026-18140
- https://github.com/smithy-lang/smithy-rs/pull/4685
- https://github.com/smithy-lang/smithy-rs/commit/8f0882046c467981ba5b4fd91a10befa96bd262f
- https://aws.amazon.com/security/security-bulletins/2026-067-aws
- https://crates.io/crates/aws-smithy-json/0.62.7
- https://aws.amazon.com/security/security-bulletins/2026-067-aws/