Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/main/java/com/amazonaws/auth/InstanceProfileCredentialsProvider.java: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: The S3 encryption client originally lacked authenticated encryption (AE) modes, allowing potential silent tampering or modification of encrypted S3 payloads without detection. This was resolved by introducing AES/GCM and AEAD modes.
Auth Bypass: An inverted time calculation logic error caused the provider to incorrectly handle credential lifetimes, failing to refresh expired temporary credentials and potentially locking or misauthenticating client instances.
Path Traversal: Insufficient directory traversal checks on S3 object keys allowed an attacker who controls a bucket's contents to write files outside the designated destination directory when a client performs a bulk directory download via CVE-2022-31159.