CVE-2023-30610
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mjv9-vp6w-3rc9RUSTSEC-2023-0125

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.

Affected

Product or packageVersionsReported by
awslabs aws-sdk-rust>= 0.2.0, < 0.2.1, >= 0.3.0, < 0.3.1, >= 0.4.1, < 0.4.2, >= 0.5.2, < 0.5.3, >= 0.6.0, < 0.6.1, >= 0.7.0, < 0.7.1, >= 0.8.0, < 0.8.1, >= 0.9.0, < 0.9.1 and 15 moreCVE List
aws-sigv4 (crates.io)from 0.55.0 before 0.55.1, from 0.54.1 before 0.54.2, from 0.53.1 before 0.53.2, from 0.52.0 before 0.52.1, from 0.51.0 before 0.51.1, from 0.49.0 before 0.49.1, from 0.48.0 before 0.48.1, from 0.47.0 before 0.47.1 and 38 moreGitHub Advisory Database, RustSec Advisory Database
amazon aws-sigv40.2.0, 0.3.0, 0.4.1, 0.5.2, 0.6.0, 0.7.0, 0.8.0, 0.9.0 and 16 moreNVD

All scores

GitHub_M5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
RustSec Advisory Database5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-30610 changed 2025-02-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-mjv9-vp6w-3rc9 changed 2026-04-06CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0125 changed 2026-10-12CC0-1.0
NVDCVE-2023-30610 changed 2026-06-17Public domain