CVE-2023-30610

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

State
Published
Severity
5.5 Medium
Published
Apr 19, 2023
Updated
Feb 5, 2025
Reserved
Apr 13, 2023

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NGitHub_M
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-532 Insertion of Sensitive Information into Log File

Affected Products

ProductVersions
aws-sdk-rustawslabs
  • >= 0.2.0, < 0.2.1Affected
  • >= 0.3.0, < 0.3.1Affected
  • >= 0.4.1, < 0.4.2Affected
  • >= 0.5.2, < 0.5.3Affected
  • >= 0.6.0, < 0.6.1Affected
  • >= 0.7.0, < 0.7.1Affected
  • >= 0.8.0, < 0.8.1Affected
  • >= 0.9.0, < 0.9.1Affected
  • >= 0.10.1, < 0.10.2Affected
  • >= 0.11.0, < 0.11.1Affected
  • >= 0.12.0, < 0.12.1Affected
  • >= 0.13.0, < 0.13.1Affected
  • >= 0.14.0, < 0.14.1Affected
  • >= 0.15.0, < 0.15.1Affected
  • >= 0.46.0, < 0.46.1Affected
  • >= 0.47.0, < 0.47.1Affected
  • >= 0.48.0, < 0.48.1Affected
  • >= 0.49.0, < 0.49.1Affected
  • >= 0.50.0, < 0.51.1Affected
  • >= 0.52.0, < 0.52.1, Affected
  • >= 0.53.1, < 0.53.2Affected
  • >= 0.54.1, < 0.54.2Affected
  • >= 0.55.0, < 0.55.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.