Defense in depth enhancement for region parameter value in AWS SDK for Go v2
Low3.7Published Jan 9, 2026
## 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 Go v2. This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 11, 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 the [November 11, 2025 release](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-11-11) ## Patches On November 11, 2025, an enhancement [1] was made to the AWS SDK for Gov2 release, which validates the formatting of a region, providing additional safeguards...
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/aws/aws-sdk-go-v2/service/codebuild Go | < v1.68.3 | v1.68.3 |
| github.com/aws/aws-sdk-go-v2/service/docdbelastic Go | < v1.20.3 | v1.20.3 |
| github.com/aws/aws-sdk-go-v2/service/emrcontainers Go | < v1.40.7 | v1.40.7 |
| github.com/aws/aws-sdk-go-v2/service/forecast Go | < v1.41.11 | v1.41.11 |
| github.com/aws/aws-sdk-go-v2/service/iotdataplane Go | < v1.32.11 | v1.32.11 |
| github.com/aws/aws-sdk-go-v2/service/iotdeviceadvisor Go | < v1.36.11 | v1.36.11 |
| github.com/aws/aws-sdk-go-v2/service/iotwireless Go | < v1.53.10 | v1.53.10 |
| github.com/aws/aws-sdk-go-v2/service/licensemanagerlinuxsubscriptions Go | < v1.20.2 | v1.20.2 |
| github.com/aws/aws-sdk-go-v2/service/oam Go | < v1.23.4 | v1.23.4 |
| github.com/aws/aws-sdk-go-v2/service/timestreamwrite Go | < v1.35.10 | v1.35.10 |
Details and references
## 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 Go v2. This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 11, 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 the [November 11, 2025 release](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-11-11) ## Patches On November 11, 2025, an enhancement [1] was made to the AWS SDK for Gov2 release, which validates the formatting of a region, providing additional safeguards. ## Workarounds No workarounds are needed, but 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 Go release on a regular basis - Follow AWS security best practices [2] for SDK configuration ## References Contact AWS Security via our vulnerability reporting page or email [aws-security@amazon.com](mailto:aws-security@amazon.com). ## Acknowledgement We thank Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process. [1] https://github.com/aws/aws-sdk-go-v2/pull/3225 [2] https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/security.html
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
More AWS advisories
All AWS| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jan 8 | Defense in depth enhancement for region parameter value in AWS SDK for .NET V4 | Low3.7 | 4.0.3.3 |
| Jan 8 | Defense in depth enhancement for region parameter value in AWS SDK for C++ | Low3.7 | 1.11.685 |
| Jan 8 | Defense in depth enhancement for region parameter value in AWS SDK for JavaScript v3 | Low3.7 | 4.4.0+ |
| Dec 172025 | Key Commitment issue in S3 Encryption Client | Medium5.3 | 3.368.0 |
| Dec 172025 | Key Commitment issue in S3 Encryption Client | Medium5.3 | 1.208.0 |
| Dec 172025 | Key Commitment issue in S3 Encryption Client | Medium5.3 | 1.11.712 |