GHSA-j965-2qgj-vjmq: Input Validation

Published Jan 8, 2026
·
Updated

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. Per the AWS shared responsibility model, customer applications should protect instances appropriately, or implement proper input sanitization checks. The AWS SDK for JavaScript v2 reached end-of-support on September 8, 2025, but a defense-in-depth enhancement has been implemented in AWS SDK for JavaScript v3. Please migrate to that version.

Impact Customer applications could be configured to improperly route AWS API calls to non-existent or non-AWS hosts. While the SDK itself is functioning as designed, we recommend customers migrate to AWS SDK for JavaScript v3 for continued support and enhanced security features.

Impacted versions: All versions of AWS SDK for JavaScript v2

Patches No security patch is required, this is an informational advisory.

Workarounds - Implement proper input sanitization in your application code - Migrate to AWS SDK for JavaScript v3 - Follow AWS security best practices for SDK configuration

References Contact AWS Security via the vulnerability reporting page or email aws-security@amazon.com.

Acknowledgement AWS Security thanks Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process.

Affected Software

1 affected component
npm/aws-sdk>=2.0.0<=3.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade AWS SDK for JavaScript to a version that resolves this vulnerability.

    Fixed in v3
  2. Compensating control

    Implement proper input sanitization for the region input field in application code to prevent AWS API calls from being routed to non-existent or non-AWS hosts.

Event History

Jan 8, 2026
Advisory Published
via GitHub·10:04 PM
Data Sourced
via GitHub·10:04 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of GHSA-j965-2qgj-vjmq?

The severity of GHSA-j965-2qgj-vjmq is rated as 3.7 on the CVSSv3.1 scale, indicating a low-level vulnerability.

2

How can I mitigate GHSA-j965-2qgj-vjmq?

To mitigate GHSA-j965-2qgj-vjmq, ensure the region input field is validated and restricted to safe, predefined values before calling AWS services.

3

Which versions of AWS SDK are affected by GHSA-j965-2qgj-vjmq?

GHSA-j965-2qgj-vjmq affects the AWS SDK versions 2.0.0 to 3.0.0.

4

What could happen if GHSA-j965-2qgj-vjmq is exploited?

If GHSA-j965-2qgj-vjmq is exploited, an attacker could set invalid region values that could cause unexpected behavior in AWS service calls.

5

Is GHSA-j965-2qgj-vjmq a client-side or server-side vulnerability?

GHSA-j965-2qgj-vjmq is primarily a client-side vulnerability associated with the use of the AWS SDK in application environments.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203