Vulnerabilities in pkg:npm/@smithy/config-resolver

PACKAGE
Advisory Summary

GHSA-6475-r3vj-m8vf is a LOW (CVSS 3.7) aws sdk for javascript v3 vulnerability (CWE-20: Improper Input Validation) affecting @smithy/config resolver libraries in the npm ecosystem. The issue involves aws sdk for javascript v3 adopted defense in depth enhancement for region parameter value. Remediation is available by upgrading affected packages to version 4.4.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@smithy/config-resolver

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@smithy/config-resolver. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6475-r3vj-m8vf - LOW AWS SDK for JavaScript v3 adopted defense in depth enhancement for region parameter value

GHSA-6475-r3vj-m8vf at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-6475-r3vj-m8vf
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification CWE-20: Improper Input Validation
Affected Product @smithy/config resolver
Package Ecosystem npm
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-6475-r3vj-m8vf

To remediate this vulnerability, upgrade all affected @smithy/config resolver dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@smithy/config-resolver fixed: 4.4.0
npm install @smithy/config-resolver@4.4.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @smithy/config-resolver

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-6475-r3vj-m8vf, inspect your project dependencies using npm:

npm ls @smithy/config-resolver

Analyze the terminal output to locate any version of @smithy/config resolver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.0), your application is affected.

Note: The npm ls @smithy/config-resolver command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

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 @smithy/config resolver, 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 JavaScript v3 (versions 3.723.0 and later). This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 15, 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 as designed, additional safeguards have been added to support secure customer implementations. Impacted versions: @smithy/config-resolver <4.4.0 Patches On November 15, 2025, an enhancement was made to the AWS SDK for JavaScript v3 (versions 3.723.0 and later) release, which validates the formatting of a region, providing additional safeguards. A feature enhancement was implemented in @smithy/config-resolver v4.4.0. This enhancement provides additional configuration validation safeguards but does not address a security vulnerability. 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 Javascript v3 release on a regular basis - Follow AWS security best practices [1] for SDK configuration Resources Contact AWS Security via the vulnerability reporting page or email [aws-security@amazon.com](mailto:aws-security@amazon.com). Acknowledgement AWS Security 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-javascript/v3/developer-guide/security.html

GHSA-6475-r3vj-m8vf Affected @smithy/config resolver Versions

1 component(s)
Fixed Versions:
4.4.0
Product / Package Ecosystem Affected Versions Fixed Version
@smithy/config-resolver
npm
< 4.4.0
4.4.0

References

Frequently Asked Questions

What is GHSA-6475-r3vj-m8vf?
GHSA-6475-r3vj-m8vf is a security vulnerability in @smithy/config resolver involving AWS SDK for JavaScript v3 adopted defense in depth enhancement for region parameter value under CWE-20: Improper Input Validation.
Which @smithy/config resolver versions are affected?
Affected versions include releases prior to 4.4.0 across affected packages: @smithy/config-resolver.
What version fixes GHSA-6475-r3vj-m8vf?
Upgrading to 4.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @smithy/config-resolver affected?
Yes, @smithy/config-resolver is affected in releases prior to 4.4.0. Upgrade your dependency to 4.4.0 or later.
What is the CVSS score of GHSA-6475-r3vj-m8vf?
GHSA-6475-r3vj-m8vf 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-6475-r3vj-m8vf?
GHSA-6475-r3vj-m8vf 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 npm dependencies for GHSA-6475-r3vj-m8vf?
Run the dependency tree command: 'npm ls @smithy/config-resolver'. 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-6475-r3vj-m8vf",
  "modified" : "2026-01-08T21:52:45Z",
  "published" : "2026-01-08T21:52:45Z",
  "aliases" : [ ],
  "summary" : "AWS SDK for JavaScript v3 adopted defense in depth enhancement for region parameter value",
  "details" : "CVSSv3.1 Rating: 3.7 (LOW)\n\nSummary\n\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 JavaScript v3 (versions 3.723.0 and later). This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 15, 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 as designed, additional safeguards have been added to support secure customer implementations.\n\nImpacted versions: @smithy/config-resolver <4.4.0\n\nPatches\n\nOn November 15, 2025, an enhancement was made to the AWS SDK for JavaScript v3 (versions 3.723.0 and later) release, which validates the formatting of a region, providing additional safeguards. A feature enhancement was implemented in @smithy/config-resolver v4.4.0. This enhancement provides additional configuration validation safeguards but does not address a security vulnerability.\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 Javascript v3 release on a regular basis\n- Follow AWS security best practices [1] for SDK configuration\n\nResources\nContact AWS Security via the vulnerability reporting page or email [aws-security@amazon.com](mailto:aws-security@amazon.com).\n\nAcknowledgement\nAWS Security thanks Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process.\n\n[1] https://docs.aws.amazon.com/sdk-for-javascript/v3/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" : "npm",
      "name" : "@smithy/config-resolver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aws/aws-sdk-js-v3/security/advisories/GHSA-6475-r3vj-m8vf"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aws/aws-sdk-js/security/advisories/GHSA-j965-2qgj-vjmq"
  }, {
    "type" : "WEB",
    "url" : "https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/security.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aws/aws-sdk-js-v3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-08T21:52:45Z",
    "nvd_published_at" : null
  }
}