Vulnerability GHSA-mjv9-vp6w-3rc9

Medium Risk
MEDIUM RISK
CVSS Score: 5.5
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
3 years ago
April 26, 2023 at 04:01 PM UTC
AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending
0.2.0 and 0.3.0 and 0.4.1 and 0.5.2 and 0.6.0 and 0.7.0 and 0.8.0 and 0.9.0 and 0.10.1 and 0.11.0 and 0.12.0 and 0.13.0 and 0.14.0 and 0.15.0 and 0.46.0 and 0.47.0 and 0.48.0 and 0.49.0 and 0.51.0 and 0.52.0 and 0.54.1 and 0.55.0
0.2.0 and 0.3.0 and 0.4.1 and 0.5.2 and 0.6.0 and 0.7.0 and 0.8.0 and 0.9.0 and 0.10.1 and 0.11.0 and 0.12.0 and 0.13.0 and 0.14.0 and 0.15.0 and 0.46.0 and 0.47.0 and 0.48.0 and 0.49.0 and 0.51.0 and 0.52.0 and 0.54.1 and 0.55.0

Summary

AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending

Details

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.

Impact

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.

Patches

  • Versions >= 0.55.1
  • 0.54.2
  • 0.53.2
  • 0.52.1
  • 0.51.1
  • 0.50.1
  • 0.49.1
  • 0.48.1
  • 0.47.1
  • 0.46.1
  • 0.15.1
  • 0.14.1
  • 0.13.1
  • 0.12.1
  • 0.11.1
  • 0.10.2
  • 0.9.1
  • 0.8.1
  • 0.7.1
  • 0.6.1
  • 0.5.3
  • 0.3.1
  • 0.2.1

Workarounds

Disable TRACE-level logging for AWS Rust SDK crates.

Impacted packages

Timeline

Published
3 years ago
April 26, 2023 at 04:01 PM UTC
Fixed (0.2.1)
3 years ago
April 10, 2023 at 07:47 PM UTC
Fixed (0.3.1)
3 years ago
April 10, 2023 at 07:48 PM UTC
Fixed (0.5.3)
3 years ago
April 10, 2023 at 07:49 PM UTC
Fixed (0.6.1)
3 years ago
April 10, 2023 at 07:50 PM UTC
Fixed (0.7.1)
3 years ago
April 10, 2023 at 07:51 PM UTC
Fixed (0.8.1)
3 years ago
April 10, 2023 at 07:52 PM UTC
Fixed (0.9.1)
3 years ago
April 10, 2023 at 07:52 PM UTC
Fixed (0.10.2)
3 years ago
April 10, 2023 at 07:52 PM UTC
Fixed (0.11.1)
3 years ago
April 10, 2023 at 07:53 PM UTC
Fixed (0.12.1)
3 years ago
April 10, 2023 at 07:53 PM UTC
Fixed (0.13.1)
3 years ago
April 11, 2023 at 12:48 AM UTC
Fixed (0.14.1)
3 years ago
April 11, 2023 at 12:51 AM UTC
Fixed (0.15.1)
3 years ago
April 11, 2023 at 12:51 AM UTC
Fixed (0.46.1)
3 years ago
April 11, 2023 at 12:52 AM UTC
Fixed (0.47.1)
3 years ago
April 11, 2023 at 12:52 AM UTC
Fixed (0.48.1)
3 years ago
April 11, 2023 at 12:53 AM UTC
Fixed (0.49.1)
3 years ago
April 11, 2023 at 12:53 AM UTC
Fixed (0.51.1)
3 years ago
April 11, 2023 at 12:54 AM UTC
Fixed (0.53.2)
3 years ago
April 11, 2023 at 12:57 AM UTC
Fixed (0.54.2)
3 years ago
April 11, 2023 at 12:58 AM UTC
Fixed (0.52.1)
3 years ago
April 11, 2023 at 01:09 AM UTC
Fixed (0.4.2)
3 years ago
April 11, 2023 at 01:12 AM UTC
Fixed (0.55.1)
3 years ago
April 12, 2023 at 10:15 PM UTC
Last Modified
6 months ago
April 06, 2026 at 05:38 PM UTC