GHSA-pc9j-5v36-2mww: Github.com/awslabs/aws sdk swift AWS SDK For Swift Adopted Vulnerability
LOWGHSA-pc9j-5v36-2mww is a LOW (CVSS 3.7) aws sdk for swift adopted vulnerability (CWE-20: Improper Input Validation) affecting Github.com/awslabs/aws sdk swift libraries in the SwiftURL ecosystem. The issue involves aws sdk for swift adopted defense in depth enhancement for region parameter value. Remediation is available by upgrading affected packages to version 1.5.79.
GHSA-pc9j-5v36-2mww at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix GHSA-pc9j-5v36-2mww
To remediate this vulnerability, upgrade all affected Github.com/awslabs/aws sdk swift dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/awslabs/aws-sdk-swift to 1.5.79
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/awslabs/aws-sdk-swift
How to Check if You Are Affected
To determine whether your application is affected by GHSA-pc9j-5v36-2mww, inspect your project dependencies for Github.com/awslabs/aws sdk swift:
inspect dependencies for github.com/awslabs/aws-sdk-swift
Analyze the terminal output to locate any version of Github.com/awslabs/aws sdk swift in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.79), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/awslabs/aws sdk swift, 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
GHSA-pc9j-5v36-2mww Affected Github.com/awslabs/aws sdk swift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/awslabs/aws-sdk-swift
|
SwiftURL |
< 1.5.79
|
1.5.79
|
References
Frequently Asked Questions
What is GHSA-pc9j-5v36-2mww?
Which Github.com/awslabs/aws sdk swift versions are affected?
What version fixes GHSA-pc9j-5v36-2mww?
Is github.com/awslabs/aws-sdk-swift affected?
What is the CVSS score of GHSA-pc9j-5v36-2mww?
What CWE is associated with GHSA-pc9j-5v36-2mww?
How can I check SwiftURL dependencies for GHSA-pc9j-5v36-2mww?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pc9j-5v36-2mww",
"modified" : "2026-01-08T22:12:15Z",
"published" : "2026-01-08T22:12:15Z",
"aliases" : [ ],
"summary" : "AWS SDK for Swift adopted defense in depth enhancement for region parameter value",
"details" : "CVSSv3.1 Rating: 3.7 (LOW)\n\nSummary\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 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.\n\nImpact\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\nImpacted versions: All versions prior to 2025-11-06 release (below 1.5.79) \n\nPatches\nOn November 6, 2025 an enhancement was made to the AWS SDK for Swift release, which validates the formatting of a region, providing additional safeguards.\n\nWorkarounds\nNo workarounds are needed, but as always you should ensure that your application is following security best practices:\n- Implement proper input validation in your application code\n- Update to the latest AWS SDK for Swift release on a regular basis\n- Follow AWS security best practices [1] for SDK configuration\n\nReferences\nContact AWS Security via the vulnerability reporting page or email [aws-security@amazon.com](mailto:aws-security@amazon.com).\n\nAcknowledgement\nAWS SDK thanks Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process.\n\n \n\n[1] https://docs.aws.amazon.com/sdk-for-swift/latest/developer-guide/security.html",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/awslabs/aws-sdk-swift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.79"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/awslabs/aws-sdk-swift/security/advisories/GHSA-pc9j-5v36-2mww"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/awslabs/aws-sdk-swift"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-08T22:12:15Z",
"nvd_published_at" : null
}
}