AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending
awslabs aws-sdk-rust
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| aws-sigv4 crates.io |
|
awslabs aws-sdk-rust
| Product | Affected | Fixed in |
|---|---|---|
| aws-sigv4 crates.io |
|
≥ 0.46.0 · < 0.46.1≥ 0.15.0 · < 0.15.1≥ 0.14.0 · < 0.14.1≥ 0.13.0 · < 0.13.1≥ 0.12.0 · < 0.12.1≥ 0.11.0 · < 0.11.1≥ 0.10.1 · < 0.10.2≥ 0.9.0 · < 0.9.1≥ 0.8.0 · < 0.8.1≥ 0.7.0 · < 0.7.1≥ 0.6.0 · < 0.6.1≥ 0.5.2 · < 0.5.3≥ 0.4.1 · < 0.4.2≥ 0.3.0 · < 0.3.1≥ 0.2.0 · < 0.2.1≥ 0.0.0-0 · < 0.2.1≥ 0.3.0-0 · < 0.3.1≥ 0.4.0-0 · < 0.5.3≥ 0.6.0-0 · < 0.6.1≥ 0.7.0-0 · < 0.7.1≥ 0.8.0-0 · < 0.8.1≥ 0.9.0-0 · < 0.9.1≥ 0.10.0-0 · < 0.10.2≥ 0.11.0-0 · < 0.11.1≥ 0.12.0-0 · < 0.12.1≥ 0.13.0-0 · < 0.13.1≥ 0.14.0-0 · < 0.14.1≥ 0.15.0-0 · < 0.15.1≥ 0.16.0-0 · < 0.46.1≥ 0.47.0-0 · < 0.47.1≥ 0.48.0-0 · < 0.48.1≥ 0.49.0-0 · < 0.49.1≥ 0.50.0-0 · < 0.50.1≥ 0.51.0-0 · < 0.51.1≥ 0.52.0-0 · < 0.52.1≥ 0.53.0-0 · < 0.53.2≥ 0.54.0-0 · < 0.54.2≥ 0.55.0-0 · < 0.55.1
|
aws-sigv4 is a rust library for low level request signing in the aws cloud platform. The `aws_sigv4::SigningParams` struct had a derived `Debug` implementation. When debug-formatted, it would include a user's AWS access key, AWS secret key, and security token in plaintext. When TRACE-level logging is enabled for an SDK, `SigningParams` is printed, thereby revealing those credentials to anyone with access to logs. All users of the AWS SDK for Rust who enabled TRACE-level logging, either globally (e.g. `RUST_LOG=trace`), or for the `aws-sigv4` crate specifically are affected. This issue has been addressed in a set of new releases. Users are advised to upgrade. Users unable to upgrade should disable TRACE-level logging for AWS Rust SDK crates.
From the CVE record · GitHub_M
The aws-sigv4 SigningParams debug output includes AWS access keys, secret keys, and security tokens in plaintext. When TRACE-level logging is enabled globally or for aws-sigv4, those credentials can appear in SDK logs and be read by anyone with access to those logs.
Teams using the AWS SDK for Rust should check for affected aws-sigv4 releases, including the 0.55.0, 0.54.1, and 0.53.1 release lines and the other affected ranges listed in the advisory.