Medium severity · published Apr 19, 2023
CVE-2023-30610
AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending
5.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 12% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AW
aws-sdk-rust · awslabs
>= 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; +17 more · source: vendor
AW
Aws-sigv4 · Amazon
0.2.0; 0.3.0; 0.4.1; 0.5.2; 0.6.0; 0.7.0; +18 more · source: NVD