Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

aws/aws-sdk-ruby
version-3 @ 313cb58
3
Fixes
1
CVEs
MEDIUM
Peak severity
Highlights
Cryptography: 1 prior fix. Scrutinize any change in this area.
aws-sdk-core: most-fixed (2 issues). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Cryptography: The client-side S3 encryption implementation was vulnerable to envelope key-commitment attacks, where an attacker with write access could manipulate instruction files to decrypt data keys to alternate plaintexts. Developers must ensure that key-committing algorithm suites are enforced by default.
Insecure File Permissions: SSO and login credential cache files were historically created with default permissions, exposing sensitive session tokens to other users on shared execution environments. Strict file mode restrictions (0600) must be applied at creation time.
Denial of Service: Unbounded map growth in global memory structures tracking endpoint clock skew was possible when raw request paths and query parameters were not normalized. This allows unique query strings to degrade performance and exhaust runtime memory.