Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1tanY5LXZwNnctM3JjOc4AAy-s
AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending
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.
Permalink: https://github.com/advisories/GHSA-mjv9-vp6w-3rc9JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tanY5LXZwNnctM3JjOc4AAy-s
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: about 1 year ago
CVSS Score: 5.5
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Percentage: 0.00044
EPSS Percentile: 0.14307
Identifiers: GHSA-mjv9-vp6w-3rc9, CVE-2023-30610
References:
- https://github.com/awslabs/aws-sdk-rust/security/advisories/GHSA-mjv9-vp6w-3rc9
- https://nvd.nist.gov/vuln/detail/CVE-2023-30610
- https://github.com/advisories/GHSA-mjv9-vp6w-3rc9
Blast Radius: 17.1
Affected Packages
cargo:aws-sigv4
Dependent packages: 30Dependent repositories: 1,265
Downloads: 26,043,176 total
Affected Version Ranges: = 0.2.0, = 0.3.0, = 0.4.1, = 0.5.2, = 0.6.0, = 0.7.0, = 0.8.0, = 0.9.0, = 0.10.1, = 0.11.0, = 0.12.0, = 0.13.0, = 0.14.0, = 0.15.0, = 0.46.0, = 0.47.0, = 0.48.0, = 0.49.0, = 0.51.0, = 0.52.0, = 0.53.1, = 0.54.1, = 0.55.0
Fixed in: 0.2.1, 0.3.1, 0.4.2, 0.5.3, 0.6.1, 0.7.1, 0.8.1, 0.9.1, 0.10.2, 0.11.1, 0.12.1, 0.13.1, 0.14.1, 0.15.1, 0.46.1, 0.47.1, 0.48.1, 0.49.1, 0.51.1, 0.52.1, 0.53.2, 0.54.2, 0.55.1
All affected versions: 0.2.0, 0.3.0, 0.4.1, 0.5.2, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.46.0, 0.47.0, 0.48.0, 0.49.0, 0.51.0, 0.52.0, 0.54.1, 0.55.0
All unaffected versions: 0.0.1, 0.1.0, 0.2.1, 0.3.1, 0.4.0, 0.4.2, 0.5.1, 0.5.3, 0.6.1, 0.7.1, 0.8.1, 0.9.1, 0.10.2, 0.11.1, 0.12.1, 0.13.1, 0.14.1, 0.15.1, 0.46.1, 0.47.1, 0.48.1, 0.49.1, 0.50.0, 0.51.1, 0.52.1, 0.53.0, 0.53.2, 0.54.2, 0.55.1, 0.55.2, 0.55.3, 0.56.0, 0.56.1, 0.57.1, 0.57.2, 0.58.0, 0.101.0, 1.0.0, 1.0.1, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6