GHSA-pc9j-5v36-2mww: Github.com/awslabs/aws sdk swift AWS SDK For Swift Adopted Vulnerability

LOW
CVSS 3.7
CWE-20
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-pc9j-5v36-2mww
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-20: Improper Input Validation
Affected Product Github.com/awslabs/aws sdk swift
Package Ecosystem SwiftURL
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

github.com/awslabs/aws-sdk-swift fixed: 1.5.79
Upgrade github.com/awslabs/aws-sdk-swift to 1.5.79
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 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

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 [aws-security@amazon.com](mailto:aws-security@amazon.com). 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

GHSA-pc9j-5v36-2mww Affected Github.com/awslabs/aws sdk swift Versions

1 component(s)
Fixed Versions:
1.5.79
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?
GHSA-pc9j-5v36-2mww is a security vulnerability in Github.com/awslabs/aws sdk swift involving AWS SDK for Swift adopted defense in depth enhancement for region parameter value under CWE-20: Improper Input Validation.
Which Github.com/awslabs/aws sdk swift versions are affected?
Affected versions include releases prior to 1.5.79 across affected packages: github.com/awslabs/aws-sdk-swift.
What version fixes GHSA-pc9j-5v36-2mww?
Upgrading to 1.5.79 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/awslabs/aws-sdk-swift affected?
Yes, github.com/awslabs/aws-sdk-swift is affected in releases prior to 1.5.79. Upgrade your dependency to 1.5.79 or later.
What is the CVSS score of GHSA-pc9j-5v36-2mww?
GHSA-pc9j-5v36-2mww has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with GHSA-pc9j-5v36-2mww?
GHSA-pc9j-5v36-2mww is classified under CWE-20: Improper Input Validation (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.).
How can I check SwiftURL dependencies for GHSA-pc9j-5v36-2mww?
Run the dependency tree command: 'inspect dependencies for github.com/awslabs/aws-sdk-swift'. 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-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
  }
}