CVE-2023-30610: Aws sigv4 AWS SDK For Rust Will Vulnerability

MODERATE
Advisory Identifier: GHSA-mjv9-vp6w-3rc9
CVSS 5.5
CWE-532
Published
Advisory Summary

CVE-2023-30610 is a MODERATE (CVSS 5.5) aws sdk for rust will vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Aws sigv4 libraries in the crates.io ecosystem. The issue involves aws sdk for rust will log aws credentials when trace-level logging is enabled for request sending. Remediation is available by upgrading affected packages to version 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, 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.4.2, 0.3.1, 0.2.1.

CVE-2023-30610 at a Glance

CVE Identifier CVE-2023-30610
GHSA Identifier GHSA-mjv9-vp6w-3rc9
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Aws sigv4
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-30610

To remediate this vulnerability, upgrade all affected Aws sigv4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

aws-sigv4 fixed: 0.55.1
Upgrade aws-sigv4 to 0.55.1
aws-sigv4 fixed: 0.54.2
Upgrade aws-sigv4 to 0.54.2
aws-sigv4 fixed: 0.53.2
Upgrade aws-sigv4 to 0.53.2
aws-sigv4 fixed: 0.52.1
Upgrade aws-sigv4 to 0.52.1
aws-sigv4 fixed: 0.51.1
Upgrade aws-sigv4 to 0.51.1
aws-sigv4 fixed: 0.49.1
Upgrade aws-sigv4 to 0.49.1
aws-sigv4 fixed: 0.48.1
Upgrade aws-sigv4 to 0.48.1
aws-sigv4 fixed: 0.47.1
Upgrade aws-sigv4 to 0.47.1
aws-sigv4 fixed: 0.46.1
Upgrade aws-sigv4 to 0.46.1
aws-sigv4 fixed: 0.15.1
Upgrade aws-sigv4 to 0.15.1
aws-sigv4 fixed: 0.14.1
Upgrade aws-sigv4 to 0.14.1
aws-sigv4 fixed: 0.13.1
Upgrade aws-sigv4 to 0.13.1
aws-sigv4 fixed: 0.12.1
Upgrade aws-sigv4 to 0.12.1
aws-sigv4 fixed: 0.11.1
Upgrade aws-sigv4 to 0.11.1
aws-sigv4 fixed: 0.10.2
Upgrade aws-sigv4 to 0.10.2
aws-sigv4 fixed: 0.9.1
Upgrade aws-sigv4 to 0.9.1
aws-sigv4 fixed: 0.8.1
Upgrade aws-sigv4 to 0.8.1
aws-sigv4 fixed: 0.7.1
Upgrade aws-sigv4 to 0.7.1
aws-sigv4 fixed: 0.6.1
Upgrade aws-sigv4 to 0.6.1
aws-sigv4 fixed: 0.5.3
Upgrade aws-sigv4 to 0.5.3
aws-sigv4 fixed: 0.4.2
Upgrade aws-sigv4 to 0.4.2
aws-sigv4 fixed: 0.3.1
Upgrade aws-sigv4 to 0.3.1
aws-sigv4 fixed: 0.2.1
Upgrade aws-sigv4 to 0.2.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for aws-sigv4

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-30610, inspect your project dependencies for Aws sigv4:

inspect dependencies for aws-sigv4

Analyze the terminal output to locate any version of Aws sigv4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.55.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Aws sigv4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2023-30610 Affected Aws sigv4 Versions

23 component(s)
Fixed Versions:
0.55.10.54.20.53.20.52.10.51.10.49.10.48.10.47.10.46.10.15.10.14.10.13.10.12.10.11.10.10.20.9.10.8.10.7.10.6.10.5.30.4.20.3.10.2.1
Product / Package Ecosystem Affected Versions Fixed Version
aws-sigv4
crates.io
≥ 0.55.0
< 0.55.1
All 1 versions
0.55.0
0.55.1
aws-sigv4
crates.io
≥ 0.54.1
< 0.54.2
All 1 versions
0.54.1
0.54.2
aws-sigv4
crates.io
≥ 0.53.1
< 0.53.2
All 1 versions
0.53.1
0.53.2
aws-sigv4
crates.io
≥ 0.52.0
< 0.52.1
All 1 versions
0.52.0
0.52.1
aws-sigv4
crates.io
≥ 0.51.0
< 0.51.1
All 1 versions
0.51.0
0.51.1
aws-sigv4
crates.io
≥ 0.49.0
< 0.49.1
All 1 versions
0.49.0
0.49.1
aws-sigv4
crates.io
≥ 0.48.0
< 0.48.1
All 1 versions
0.48.0
0.48.1
aws-sigv4
crates.io
≥ 0.47.0
< 0.47.1
All 1 versions
0.47.0
0.47.1
aws-sigv4
crates.io
≥ 0.46.0
< 0.46.1
All 1 versions
0.46.0
0.46.1
aws-sigv4
crates.io
≥ 0.15.0
< 0.15.1
All 1 versions
0.15.0
0.15.1
aws-sigv4
crates.io
≥ 0.14.0
< 0.14.1
All 1 versions
0.14.0
0.14.1
aws-sigv4
crates.io
≥ 0.13.0
< 0.13.1
All 1 versions
0.13.0
0.13.1
aws-sigv4
crates.io
≥ 0.12.0
< 0.12.1
All 1 versions
0.12.0
0.12.1
aws-sigv4
crates.io
≥ 0.11.0
< 0.11.1
All 1 versions
0.11.0
0.11.1
aws-sigv4
crates.io
≥ 0.10.1
< 0.10.2
All 1 versions
0.10.1
0.10.2
aws-sigv4
crates.io
≥ 0.9.0
< 0.9.1
All 1 versions
0.9.0
0.9.1
aws-sigv4
crates.io
≥ 0.8.0
< 0.8.1
All 1 versions
0.8.0
0.8.1
aws-sigv4
crates.io
≥ 0.7.0
< 0.7.1
All 1 versions
0.7.0
0.7.1
aws-sigv4
crates.io
≥ 0.6.0
< 0.6.1
All 1 versions
0.6.0
0.6.1
aws-sigv4
crates.io
≥ 0.5.2
< 0.5.3
All 1 versions
0.5.2
0.5.3
aws-sigv4
crates.io
≥ 0.4.1
< 0.4.2
All 1 versions
0.4.1
0.4.2
aws-sigv4
crates.io
≥ 0.3.0
< 0.3.1
All 1 versions
0.3.0
0.3.1
aws-sigv4
crates.io
≥ 0.2.0
< 0.2.1
All 1 versions
0.2.0
0.2.1

References

Frequently Asked Questions

What is CVE-2023-30610?
CVE-2023-30610 is a security vulnerability in Aws sigv4 involving AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending under CWE-532: Insertion of Sensitive Information into Log File.
Which Aws sigv4 versions are affected?
Affected versions include releases prior to 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, 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.4.2, 0.3.1, 0.2.1 across affected packages: aws-sigv4.
What version fixes CVE-2023-30610?
Upgrading to 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, 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.4.2, 0.3.1, 0.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aws-sigv4 affected?
Yes, aws-sigv4 is affected in releases prior to 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, 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.4.2, 0.3.1, 0.2.1. Upgrade your dependency to 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, 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.4.2, 0.3.1, 0.2.1 or later.
What is the CVSS score of CVE-2023-30610?
CVE-2023-30610 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-30610?
CVE-2023-30610 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check crates.io dependencies for CVE-2023-30610?
Run the dependency tree command: 'inspect dependencies for aws-sigv4'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mjv9-vp6w-3rc9",
  "modified" : "2026-04-06T17:17:04Z",
  "published" : "2023-04-26T16:01:10Z",
  "aliases" : [ "CVE-2023-30610" ],
  "summary" : "AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending",
  "details" : "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.\n\n### Impact\nAll 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.\n\n### Patches\n- Versions >= `0.55.1`\n- `0.54.2`\n- `0.53.2`\n- `0.52.1`\n- `0.51.1`\n- `0.50.1`\n- `0.49.1`\n- `0.48.1`\n- `0.47.1`\n- `0.46.1`\n- `0.15.1`\n- `0.14.1`\n- `0.13.1`\n- `0.12.1`\n- `0.11.1`\n- `0.10.2`\n- `0.9.1`\n- `0.8.1`\n- `0.7.1`\n- `0.6.1`\n- `0.5.3`\n- `0.3.1`\n- `0.2.1`\n\n### Workarounds\nDisable TRACE-level logging for AWS Rust SDK crates.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.55.0"
      }, {
        "fixed" : "0.55.1"
      } ]
    } ],
    "versions" : [ "0.55.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.54.1"
      }, {
        "fixed" : "0.54.2"
      } ]
    } ],
    "versions" : [ "0.54.1" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.53.1"
      }, {
        "fixed" : "0.53.2"
      } ]
    } ],
    "versions" : [ "0.53.1" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.52.0"
      }, {
        "fixed" : "0.52.1"
      } ]
    } ],
    "versions" : [ "0.52.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.51.0"
      }, {
        "fixed" : "0.51.1"
      } ]
    } ],
    "versions" : [ "0.51.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.49.0"
      }, {
        "fixed" : "0.49.1"
      } ]
    } ],
    "versions" : [ "0.49.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.48.0"
      }, {
        "fixed" : "0.48.1"
      } ]
    } ],
    "versions" : [ "0.48.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.47.0"
      }, {
        "fixed" : "0.47.1"
      } ]
    } ],
    "versions" : [ "0.47.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.46.0"
      }, {
        "fixed" : "0.46.1"
      } ]
    } ],
    "versions" : [ "0.46.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.15.0"
      }, {
        "fixed" : "0.15.1"
      } ]
    } ],
    "versions" : [ "0.15.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.14.0"
      }, {
        "fixed" : "0.14.1"
      } ]
    } ],
    "versions" : [ "0.14.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.13.0"
      }, {
        "fixed" : "0.13.1"
      } ]
    } ],
    "versions" : [ "0.13.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.12.0"
      }, {
        "fixed" : "0.12.1"
      } ]
    } ],
    "versions" : [ "0.12.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.11.0"
      }, {
        "fixed" : "0.11.1"
      } ]
    } ],
    "versions" : [ "0.11.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.10.1"
      }, {
        "fixed" : "0.10.2"
      } ]
    } ],
    "versions" : [ "0.10.1" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.9.0"
      }, {
        "fixed" : "0.9.1"
      } ]
    } ],
    "versions" : [ "0.9.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.8.0"
      }, {
        "fixed" : "0.8.1"
      } ]
    } ],
    "versions" : [ "0.8.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.7.0"
      }, {
        "fixed" : "0.7.1"
      } ]
    } ],
    "versions" : [ "0.7.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.6.0"
      }, {
        "fixed" : "0.6.1"
      } ]
    } ],
    "versions" : [ "0.6.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.5.2"
      }, {
        "fixed" : "0.5.3"
      } ]
    } ],
    "versions" : [ "0.5.2" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.4.1"
      }, {
        "fixed" : "0.4.2"
      } ]
    } ],
    "versions" : [ "0.4.1" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.3.0"
      }, {
        "fixed" : "0.3.1"
      } ]
    } ],
    "versions" : [ "0.3.0" ]
  }, {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "aws-sigv4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.2.0"
      }, {
        "fixed" : "0.2.1"
      } ]
    } ],
    "versions" : [ "0.2.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/awslabs/aws-sdk-rust/security/advisories/GHSA-mjv9-vp6w-3rc9"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-30610"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/awslabs/aws-sdk-rust"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2023-0125.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-04-26T16:01:10Z",
    "nvd_published_at" : "2023-04-19T18:15:07Z"
  }
}