🛡️ GHSA-j965-2qgj-vjmq — aws-sdk

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-20 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

JavaScript SDK v2 users should add validation to the region parameter value in or migrate to v3

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 [[email protected]](mailto:[email protected]).

Acknowledgement

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

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

Weakness class

GHSA-j965-2qgj-vjmq is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

GHSA-j965-2qgj-vjmq is recorded against 1 package.

  • aws-sdk

Timeline and source

Published on 8 January 2026 and last revised on 3 February 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE CWE-20
Public Exploit ✅ No
Source OSV
Published 2026-01-08
Updated 2026-08-20
Modified 2026-02-03
Fix URL N/A

Affected Packages

Software From version Fixed in
aws-sdk

Free Vulnerability Check

Is your site affected by GHSA-j965-2qgj-vjmq?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-j965-2qgj-vjmq and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.