{"answers":{"affected":"40 open source packages ship an affected version, including aws-sigv4. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-30610 in the wild and no public exploit code.","fix":"Upgrade aws-sigv4 to a fixed version for your release line: 0.2.1, 0.3.1, 0.5.3 or 0.6.1.","what":"CVE-2023-30610 is a medium-severity vulnerability in awslabs aws-sdk-rust, published on 19 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-30610 and fix it if it is affected.\n\nWhat it is: CVE-2023-30610 is a medium-severity vulnerability in awslabs aws-sdk-rust, published on 19 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-30610 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aws-sigv4 (crates.io): affected from 0.0.0-0; fixed in 0.2.1, 0.3.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.1, 0.51.1, 0.52.1, 0.53.2, 0.54.2, 0.55.1\n- aws-sigv4 (crates.io): affected from 0.10.1; fixed in 0.10.2\n- aws-sigv4 (crates.io): affected from 0.10.1; fixed in 0.10.2\n- aws-sigv4 (crates.io): affected from 0.11.0; fixed in 0.11.1\n- aws-sigv4 (crates.io): affected from 0.11.0; fixed in 0.11.1\n- aws-sigv4 (crates.io): affected from 0.12.0; fixed in 0.12.1\n- aws-sigv4 (crates.io): affected from 0.12.0; fixed in 0.12.1\n- aws-sigv4 (crates.io): affected from 0.13.0; fixed in 0.13.1\n- aws-sigv4 (crates.io): affected from 0.13.0; fixed in 0.13.1\n- aws-sigv4 (crates.io): affected from 0.14.0; fixed in 0.14.1\n- aws-sigv4 (crates.io): affected from 0.14.0; fixed in 0.14.1\n- aws-sigv4 (crates.io): affected from 0.15.0; fixed in 0.15.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-30610/ (Markdown: https://insights.sbomify.com/CVE-2023-30610/index.md)","id":"CVE-2023-30610","markdown":"https://insights.sbomify.com/CVE-2023-30610/index.md","name":"CVE-2023-30610","record":{"aliases":["GHSA-mjv9-vp6w-3rc9","RUSTSEC-2023-0125"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"AWS SDK for Rust","requires_auth":"low_privilege","summary":"Enabling TRACE-level logging in the AWS SDK for Rust exposes AWS credentials in logs, allowing attackers with log access to steal them.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"aws-sigv4","vendor":"amazon"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending","id":"CVE-2023-30610","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":47,"n_references":1,"next":{"headline":"Reaction metadata exposed in private topics in Discourse-reactions","id":"CVE-2023-30611"},"packages":[{"ecosystem":"crates.io","fixed":["0.2.1","0.3.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.1","0.51.1","0.52.1","0.53.2","0.54.2","0.55.1"],"introduced":["0.0.0-0","0.3.0-0","0.4.0-0","0.6.0-0","0.7.0-0","0.8.0-0","0.9.0-0","0.10.0-0","0.11.0-0","0.12.0-0","0.13.0-0","0.14.0-0","0.15.0-0","0.16.0-0","0.47.0-0","0.48.0-0","0.49.0-0","0.50.0-0","0.51.0-0","0.52.0-0","0.53.0-0","0.54.0-0","0.55.0-0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"RUSTSEC-2023-0125"},{"ecosystem":"crates.io","fixed":["0.10.2"],"introduced":["0.10.1"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.10.2"],"introduced":["0.10.1"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.11.1"],"introduced":["0.11.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.11.1"],"introduced":["0.11.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.12.1"],"introduced":["0.12.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.12.1"],"introduced":["0.12.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.13.1"],"introduced":["0.13.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.13.1"],"introduced":["0.13.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.14.1"],"introduced":["0.14.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.14.1"],"introduced":["0.14.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.15.1"],"introduced":["0.15.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.15.1"],"introduced":["0.15.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.2.1"],"introduced":["0.2.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.2.1"],"introduced":["0.2.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.3.1"],"introduced":["0.3.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.3.1"],"introduced":["0.3.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.4.2"],"introduced":["0.4.1"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.4.2"],"introduced":["0.4.1"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.46.1"],"introduced":["0.46.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.46.1"],"introduced":["0.46.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.47.1"],"introduced":["0.47.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.47.1"],"introduced":["0.47.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.48.1"],"introduced":["0.48.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.48.1"],"introduced":["0.48.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.49.1"],"introduced":["0.49.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.49.1"],"introduced":["0.49.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.5.3"],"introduced":["0.5.2"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.5.3"],"introduced":["0.5.2"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.51.1"],"introduced":["0.51.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.51.1"],"introduced":["0.51.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.52.1"],"introduced":["0.52.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.52.1"],"introduced":["0.52.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.53.2"],"introduced":["0.53.1"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.53.2"],"introduced":["0.53.1"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.54.2"],"introduced":["0.54.1"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.54.2"],"introduced":["0.54.1"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.55.1"],"introduced":["0.55.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.55.1"],"introduced":["0.55.0"],"last_affected":[],"package":"aws-sigv4","purl":"pkg:cargo/aws-sigv4","source":"GHSA-mjv9-vp6w-3rc9"},{"ecosystem":"crates.io","fixed":["0.6.1"],"introduced":["0.6.0"],"last_affected":[],"package":"aws-sigv4","purl":null,"source":"GHSA-mjv9-vp6w-3rc9"}],"prev":{"headline":"matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting","id":"CVE-2023-30609"},"products":["aws-sdk-rust"],"published":"2023-04-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-05","vendors":["awslabs"]},"summary":"Enabling TRACE-level logging in the AWS SDK for Rust exposes AWS credentials in logs, allowing attackers with log access to steal them.","url":"https://insights.sbomify.com/CVE-2023-30610/"}