CVE-2023-30610
AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending
Check your servers for CVE-2023-30610
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-30610 affects aws-sdk-rust, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Feb 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-532 Insertion of Sensitive Information into Log File
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| aws-sdk-rust |
affected >= 0.2.0, < 0.2.1 affected >= 0.3.0, < 0.3.1 affected >= 0.4.1, < 0.4.2 affected >= 0.5.2, < 0.5.3 affected >= 0.6.0, < 0.6.1 affected >= 0.7.0, < 0.7.1 affected >= 0.8.0, < 0.8.1 affected >= 0.9.0, < 0.9.1 affected >= 0.10.1, < 0.10.2 affected >= 0.11.0, < 0.11.1 affected >= 0.12.0, < 0.12.1 affected >= 0.13.0, < 0.13.1 affected >= 0.14.0, < 0.14.1 affected >= 0.15.0, < 0.15.1 affected >= 0.46.0, < 0.46.1 affected >= 0.47.0, < 0.47.1 affected >= 0.48.0, < 0.48.1 affected >= 0.49.0, < 0.49.1 affected >= 0.50.0, < 0.51.1 affected >= 0.52.0, < 0.52.1, affected >= 0.53.1, < 0.53.2 affected >= 0.54.1, < 0.54.2 affected >= 0.55.0, < 0.55.1
|
Is my server affected?
Find the installed version of aws-sdk-rust and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i aws-sdk-rust
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-30610 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-30610RHEL, Rocky, Alma, Fedora
rpm -q aws-sdk-rust
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-30610Alpine
apk list --installed | grep -i aws-sdk-rustWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-30610
trivy image --scanners vuln IMAGE | grep CVE-2023-30610
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Source: the record CVE-2023-30610 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse