Skip to content

Conversation

@cr-tk
Copy link
Collaborator

@cr-tk cr-tk commented Jan 15, 2026

Summary & Motivation (Problem vs. Solution)

AWS has recently announced GHSA-g59m-gf8j-gjf5 which classifies a recent improvement in their API across in many of their Rust SDK crates as a security patch. This is a motivation to adopt newer versions of the AWS SDK crates that we use for qos_enclave.

At the time of writing, we can not switch aws-sdk-kms to a new enough version since other AWS crates such as aws-nitro-enclaves-image-format explicitly require use of older versions, see aws/aws-nitro-enclaves-image-format#49.

Additional restrictions on aws-config version ranges, combined with cargo restrictions on allowed parallel usage of different major versions of the same crate (such as aws-types 1.1.9 and 1.3.11) unfortunately make it difficult for us to adopt the newer versions.
For example, our tests build with aws-types 0.101.0 but the fail with

the trait aws_config::meta::region::ProvideRegion is not implemented for aws_types::region::Region

during runtime, and newer 1.0.x or 1.1.x versions aren't allowed due to the previously mentioned cargo rules. This holds back what this PR can currently do.

The aws-nitro-enclaves-image-format development has finally dropped atty as a transitive dependency, allowing us to get rid of it and the related security warnings (unmaintained crate) as described in aws/aws-nitro-enclaves-image-format#44 . Since there's no official release for that yet, we have to use the Cargo patch mechanism as a workaround to enforce this.

How I Tested These Changes

TBD

@cr-tk cr-tk changed the title Patch AWS crates for qos_enclave Partially patch AWS crates for qos_enclave Jan 15, 2026
@cr-tk cr-tk force-pushed the christian/aws-bump branch from 4bdd6d1 to 7f175a7 Compare January 15, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants