GHSA-pc9j-5v36-2mww
LOWAWS SDK for Swift adopted defense in depth enhancement for region parameter value
Blast Radius
github.com/awslabs/aws-sdk-swiftReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects SwiftURL packages — download data is not available via public APIs for these ecosystems.
Description
CVSSv3.1 Rating: 3.7 (LOW)
Summary This 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.
A defense-in-depth enhancement has been implemented in the AWS SDK for Swift. 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.
Impact Customer 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.
Impacted versions: All versions prior to 2025-11-06 release (below 1.5.79)
Patches On November 6, 2025 an enhancement was made to the AWS SDK for Swift release, which validates the formatting of a region, providing additional safeguards.
Workarounds No workarounds are needed, but as always you should ensure that your application is following security best practices:
- Implement proper input validation in your application code
- Update to the latest AWS SDK for Swift release on a regular basis
- Follow AWS security best practices [1] for SDK configuration
References Contact AWS Security via the vulnerability reporting page or email [email protected].
Acknowledgement AWS SDK thanks Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process.
[1] https://docs.aws.amazon.com/sdk-for-swift/latest/developer-guide/security.html
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦SwiftURL | github.com/awslabs/aws-sdk-swift | all versions | 1.5.79 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/awslabs/aws-sdk-swift. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update github.com/awslabs/aws-sdk-swift to 1.5.79 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-pc9j-5v36-2mww is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-pc9j-5v36-2mww is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-pc9j-5v36-2mww. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-pc9j-5v36-2mww in your dependencies?
O3 detects GHSA-pc9j-5v36-2mww across SwiftURL dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.