{"id":"CVE-2023-30610","published":"2023-04-19T17:18:54Z","modified":"2025-02-05T14:56:14Z","title":"AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending","vendor":"awslabs","product":"aws-sdk-rust","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00214,"percentile":0.1204,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/awslabs/aws-sdk-rust/security/advisories/GHSA-mjv9-vp6w-3rc9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.41},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"awslabs","affectedVersions":[{"vendor":"awslabs","product":"aws-sdk-rust","versions":[">= 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",">= 0.10.1, < 0.10.2",">= 0.11.0, < 0.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-05T14:55:09.619592Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"aws-sigv4","vulnerableRanges":[">=0.55.0, <0.55.1",">=0.54.1, <0.54.2",">=0.53.1, <0.53.2",">=0.52.0, <0.52.1",">=0.51.0, <0.51.1",">=0.49.0, <0.49.1",">=0.48.0, <0.48.1",">=0.47.0, <0.47.1",">=0.46.0, <0.46.1",">=0.15.0, <0.15.1"],"patched":["0.55.1","0.54.2","0.53.2","0.52.1","0.51.1","0.49.1","0.48.1","0.47.1","0.46.1","0.15.1"],"from":["GHSA-mjv9-vp6w-3rc9","RUSTSEC-2023-0125"],"provenance":"source"}],"summary":{"text":"The aws-sigv4 crate in awslabs' aws-sdk-rust derives a Debug implementation for its SigningParams struct, which includes the user's AWS access key, secret key, and security token. An attacker with local access to the system's logs can read these credentials in plaintext, but only when TRACE-level logging is enabled, either globally or for the aws-sigv4 crate specifically.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:48Z"},"euvd":{"id":"EUVD-2023-1355","exploited":false,"provenance":"source"}}