Vulnerability · Published Apr 19, 2023 · Assigned by GitHub_M
CVE-2023-30610AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending
Medium 5.5
In plain English
A medium-severity sensitive data in logs in aws-sdk-rust from awslabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Weakness: CWE-532 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/awslabs/aws-sdk-rust/security/advisories/GHSA-mjv9-vp6w-3rc9 x_refsource_CONFIRM