{"answers":{"affected":"40 open source packages ship an affected version, including aws-sdk-accessanalyzer, aws-sdk-account and aws-sdk-acm.","exploited":"There is no known exploitation of GHSA-g59m-gf8j-gjf5 in the wild and no public exploit code.","fix":"Upgrade aws-sdk-accessanalyzer to 1.96.0 or later.","what":"GHSA-g59m-gf8j-gjf5 is a server-side request forgery vulnerability in aws-sdk-accessanalyzer, published on 8 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-g59m-gf8j-gjf5 and fix it if it is affected.\n\nWhat it is: GHSA-g59m-gf8j-gjf5 is a server-side request forgery vulnerability in aws-sdk-accessanalyzer, published on 8 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-g59m-gf8j-gjf5 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aws-sdk-accessanalyzer (crates.io): affected all versions; fixed in 1.96.0\n- aws-sdk-accessanalyzer (crates.io): affected all versions; fixed in 1.96.0\n- aws-sdk-account (crates.io): affected all versions; fixed in 1.92.0\n- aws-sdk-account (crates.io): affected all versions; fixed in 1.92.0\n- aws-sdk-acm (crates.io): affected all versions; fixed in 1.92.0\n- aws-sdk-acm (crates.io): affected all versions; fixed in 1.92.0\n- aws-sdk-acmpca (crates.io): affected all versions; fixed in 1.94.0\n- aws-sdk-acmpca (crates.io): affected all versions; fixed in 1.94.0\n- aws-sdk-aiops (crates.io): affected all versions; fixed in 1.18.0\n- aws-sdk-aiops (crates.io): affected all versions; fixed in 1.18.0\n- aws-sdk-amp (crates.io): affected all versions; fixed in 1.95.0\n- aws-sdk-amp (crates.io): affected all versions; fixed in 1.95.0\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/GHSA-g59m-gf8j-gjf5/ (Markdown: https://insights.sbomify.com/GHSA-g59m-gf8j-gjf5/index.md)","id":"GHSA-g59m-gf8j-gjf5","markdown":"https://insights.sbomify.com/GHSA-g59m-gf8j-gjf5/index.md","name":"GHSA-g59m-gf8j-gjf5","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"AWS SDK for Rust","requires_auth":"none","summary":"An attacker with environment access could manipulate region parameters to route AWS API calls to malicious hosts, mitigated by upgrading the SDK.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"## **Summary**\nThis notification is related to the use of specific values for the region input field when calling AWS services. An actor with access to the environment in which the SDK is used could set the region input field to an invalid value.\n\nA defense-in-depth enhancement has been implemented in the AWS SDK for Rust. This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 6, 2025. This advisory is informational to help customers understand their responsibilities regarding configuration security.\n\n## **Impact**\nCustomer applications could be configured to improperly route AWS API calls to non-existent or non-AWS hosts. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations.\n\n**Impacted versions**: All versions prior to [November 6, 2025 release](https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2025-11-06)\n\n## **Patches**\nOn November 6, 2025, an enhancement [1] was made to the AWS SDK for Rust release, which validates the formatting of a region, providing additional safeguards.\n\n## **Workarounds**\nNo workarounds are needed, but as always developers should ensure that their application is following security best practices:\n- Implement proper input validation in your application code\n- Update to the latest AWS SDK for Rust release on a regular basis\n- Follow AWS security best practices [2] for SDK configuration\n\n## **References**\nContact AWS Security via the vulnerability reporting page or email [aws-security@amazon.com](mailto:aws-security@amazon.com).\n\n## **Acknowledgement**\nAWS Security thanks Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process.\n\n[1] https://github.com/smithy-lang/smithy-rs/pull/4383\n[2] https://docs.aws.amazon.com/sdk-for-rust/latest/dg/security.html","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"AWS SDK for Rust v1 adopted defense in depth enhancement for region parameter value","id":"GHSA-g59m-gf8j-gjf5","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":812,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["1.96.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-accessanalyzer","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.96.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-accessanalyzer","purl":"pkg:cargo/aws-sdk-accessanalyzer","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.92.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-account","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.92.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-account","purl":"pkg:cargo/aws-sdk-account","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.92.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-acm","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.92.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-acm","purl":"pkg:cargo/aws-sdk-acm","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.94.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-acmpca","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.94.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-acmpca","purl":"pkg:cargo/aws-sdk-acmpca","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.18.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-aiops","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.18.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-aiops","purl":"pkg:cargo/aws-sdk-aiops","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.95.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amp","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.95.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amp","purl":"pkg:cargo/aws-sdk-amp","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.98.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amplify","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.98.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amplify","purl":"pkg:cargo/aws-sdk-amplify","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amplifybackend","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amplifybackend","purl":"pkg:cargo/aws-sdk-amplifybackend","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amplifyuibuilder","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-amplifyuibuilder","purl":"pkg:cargo/aws-sdk-amplifyuibuilder","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.92.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-apigateway","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.92.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-apigateway","purl":"pkg:cargo/aws-sdk-apigateway","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-apigatewaymanagement","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-apigatewaymanagement","purl":"pkg:cargo/aws-sdk-apigatewaymanagement","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.91.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-apigatewayv2","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.91.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-apigatewayv2","purl":"pkg:cargo/aws-sdk-apigatewayv2","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.94.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appconfig","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.94.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appconfig","purl":"pkg:cargo/aws-sdk-appconfig","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appconfigdata","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appconfigdata","purl":"pkg:cargo/aws-sdk-appconfigdata","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appfabric","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appfabric","purl":"pkg:cargo/aws-sdk-appfabric","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appflow","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appflow","purl":"pkg:cargo/aws-sdk-appflow","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.90.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appintegrations","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.90.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-appintegrations","purl":"pkg:cargo/aws-sdk-appintegrations","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.95.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-applicationautoscaling","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.95.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-applicationautoscaling","purl":"pkg:cargo/aws-sdk-applicationautoscaling","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-applicationcostprofiler","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.89.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-applicationcostprofiler","purl":"pkg:cargo/aws-sdk-applicationcostprofiler","source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.91.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-applicationdiscovery","purl":null,"source":"GHSA-g59m-gf8j-gjf5"},{"ecosystem":"crates.io","fixed":["1.91.0"],"introduced":["0"],"last_affected":[],"package":"aws-sdk-applicationdiscovery","purl":"pkg:cargo/aws-sdk-applicationdiscovery","source":"GHSA-g59m-gf8j-gjf5"}],"products":null,"published":"2026-01-08","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker with environment access could manipulate region parameters to route AWS API calls to malicious hosts, mitigated by upgrading the SDK.","url":"https://insights.sbomify.com/GHSA-g59m-gf8j-gjf5/"}