Vulnerabilities in pkg:npm/@smithy/config-resolver
PACKAGEGHSA-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.
pkg:npm/@smithy/config-resolver
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
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).
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.
npm install @smithy/config-resolver@4.4.0
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
GHSA-6475-r3vj-m8vf Affected @smithy/config resolver Versions
1 component(s)| 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?
Which @smithy/config resolver versions are affected?
What version fixes GHSA-6475-r3vj-m8vf?
Is @smithy/config-resolver affected?
What is the CVSS score of GHSA-6475-r3vj-m8vf?
What CWE is associated with GHSA-6475-r3vj-m8vf?
How can I check npm dependencies for GHSA-6475-r3vj-m8vf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}