Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
LOW severity

GHSA-j965-2qgj-vjmq aws-sdk

LOW

GHSA-j965-2qgj-vjmq is a low-severity (CVSS 3.7) vulnerability in aws-sdk. No vendor fix is recorded yet; mitigation options are listed below.

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

Published
Jan 8, 2026
Updated
Feb 3, 2026
Affected
1 pkg
Patched
None yet
Exploits
None indexed
Exploitation data as of Feb 3, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.

aws-sdknpm
6.0Mdownloads / week

Description

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

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

Affected Packages

1 total
EcosystemPackageVulnerable rangeFix
📦npmaws-sdk2.0.0No fix

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for aws-sdk, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Remediation status

    No patched version of aws-sdk has shipped for GHSA-j965-2qgj-vjmq yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.

  3. Mitigate without a patch

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-j965-2qgj-vjmq can be triaged on real exposure rather than presence alone.

Tailored to GHSA-j965-2qgj-vjmq. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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 tha
O3 Security · Impact-Aware SCA

Is GHSA-j965-2qgj-vjmq in your dependencies?

O3 Security finds GHSA-j965-2qgj-vjmq across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-j965-2qgj-vjmq: aws-sdk (Low 3.7) | O3 Security